Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的网站上有一个功能在放大页面的浏览器上出现问题。当有人想要查看更大的文本时,使用浏览器放大页面时,它会放大 Flash 而不是调整它的大小,所以它使它无法使用。有没有办法防止这种情况发生,或者它只是浏览器的一个错误?
浏览器处理页面缩放的方式和 Flash 正在调整 Flash 电影的大小并让它处理内部结构。您需要设置:
stage.scaleMode = StageScaleMode.NO_SCALE;
或者
stage.scaleMode = StageScaleMode.EXACT_FIT;
stage.scaleMode = StageScaleMode.NO_BORDER;
stage.scaleMode = StageScaleMode. SHOW_ALL;
并在您的应用程序中处理结果以获得所需的结果。