JS to show bytesLoaded of SWF
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.
- You have the original swf
- You create a container
- Load the original swf into the new one
- Show the percent in the container
- When finished loading, hide percent text and show original swf
精彩评论