SWF (flash) 对象渲染
我想问一下swf对象什么时候渲染在html页面上?是否仅渲染可见?如果swf位于页面底部不可见,当我向下滚动时是否会渲染swf?
问题是 swf 对象在渲染时会引发一些事件,即使 swf 对象不可见,我也想强制渲染。
I would like to ask when swf object rendering at the html page? Is it rendered only it's visible? If swf at the page bottom that is not visible, will swf be rendered when I scroll down?
The problem is that swf object raises some events when it's rendered and I would like to force rendering even if swf object is not visible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为这是一个浏览器问题,而不是 SWFObject 想要的问题。
无论如何,您可以尝试以其他方式嵌入 Flash 对象,看看它是否在不在滚动区域时呈现。
I think this is a browser issue, not something that's intended by SWFObject.
Anyway, you might try embedding the Flash object in some other way and see if it renders while not in the scroll area.
我在 Firefox 和 Internet Explorer 中也遇到同样的问题。我发现强制渲染的唯一方法是将 wmode 设置为 window。
但 IE 和 Firefox 并没有真正欣赏这个选项,并且性能有所下降。当我向下滚动时它是可见的...
是否有人成功地将 flash 渲染到窗口外并使用 wmode=opaque/transparent ?
I have the same issue in firefox and Internet Explorer. The only way I found to force the rendering is to set the wmode to window.
But IE and Firefox not really appreciate this option and the performance decreased. It's visible when I scroll down...
Does someone have succeeded to rendering flash out of window and with wmode=opaque/transparent ?