当用户放大浏览器时 Flash 也会放大

发布于 2024-07-23 06:56:26 字数 116 浏览 5 评论 0原文

我的网站上有一个功能,在放大页面的浏览器上出现问题。当想要查看更大文本的人使用浏览器放大页面时,它会放大 Flash,而不是调整其大小,因此会导致它无法使用。 有没有办法阻止这种情况发生,或者这只是浏览器的一个错误?

I have a feature on my site that is having issues on browsers that have the page zoomed in. When someone that wants to see the text larger zooms in the page with the browser, it zooms in the flash instead of resizing it, so it makes it unusable. Is there a way to keep this from happening, or is it just a bug with the browsers?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

菊凝晚露 2024-07-30 06:56:27

浏览器处理页面缩放的方式和 Flash 调整 Flash 影片大小并让它处理内部结构的方式。 您需要设置:

stage.scaleMode = StageScaleMode.NO_SCALE;

Or

stage.scaleMode = StageScaleMode.EXACT_FIT;

Or

stage.scaleMode = StageScaleMode.NO_BORDER;

Or

stage.scaleMode = StageScaleMode. SHOW_ALL;

并在应用程序内处理结果以获得所需的结果。

The way browsers are handling page zooming and Flash is resizing the Flash movie and letting it deal with the internals. You need to set either:

stage.scaleMode = StageScaleMode.NO_SCALE;

Or

stage.scaleMode = StageScaleMode.EXACT_FIT;

Or

stage.scaleMode = StageScaleMode.NO_BORDER;

Or

stage.scaleMode = StageScaleMode. SHOW_ALL;

And handle the results inside your application to get the desired result.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文