How to prevent a GWT Flash/ActionScript component from reloading when visibility is toggled?

I have a Google Web Toolkit (GWT) application that utilizes a Flash/PaperVision3D component that I have created. The GWT app places instances of the Flash component on different tabs in a tab panel. During execution of the app, everything works great until the user starts clicking in between tabs. At the GWT level, the JavaScript is changing the style.display attribute to hide and show the contents of the 'tabs'. It appears that the Flash component (included in the page by scripting an 'embed' tag) is reloading/restarting each time that it is made visible. How can I prevent it from restarting/reloading? I don't have much control at all over the fact that the DIV tag is getting set to style.display = 'none', as that is being controlled by the autogenerated GWT code. Is there some setting perhaps in the Flex/Flash development to allow it to do this? Or maybe in the Embed tag? Or even at the JavaScript level?

以上就是How to prevent a GWT Flash/ActionScript component from reloading when visibility is toggled?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏