开发者

JS to show bytesLoaded of SWF

开发者 https://www.devze.com 2023-01-26 16:46 出处:网络
I want to use Javascript / AJAX to show % loaded of SWF. The thing is I 开发者_StackOverflow中文版cannot edit the ActionScript. I have seen this done before...

I want to use Javascript / AJAX to show % loaded of SWF.

The thing is I 开发者_StackOverflow中文版cannot edit the ActionScript. I have seen this done before...

Any ideas what I could do?


In this case you can encapsulate your swf in another one. This other one is only a container, and with this you can measure the percent loaded.

  1. You have the original swf
  2. You create a container
  3. Load the original swf into the new one
  4. Show the percent in the container
  5. When finished loading, hide percent text and show original swf
0

精彩评论

暂无评论...
验证码 换一张
取 消