1

Is it possible to use JavaScript to detect whether a .swf file has loaded completely within a web page?

Assume that the .swf file is pulled from a 3rd-party website and we don't have access to its source code.

2 Answers 2

3

You can call movie.PercentLoaded() from Javascript.

Other useful functions are listed here: http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html

Sign up to request clarification or add additional context in comments.

Comments

0

No, because the loading of the SWF is done by the Flash Player, not the browser, and the Flash Player doesn't expose any javascript API.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.