JS显示SWF的bytesLoaded

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

The thing is I 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