Calling As function from js problem

Posted by Gene on Stack Overflow See other posts from Stack Overflow or by Gene
Published on 2008-10-17T07:42:40Z Indexed on 2010/06/02 10:23 UTC
Read the original article Hit count: 187

Filed under:
|

I have a swf file that is not controlled by me. The swf expects a javascript call to set some variables after initialization.

The swf is embedded using the swfobject and I'm trying to call the as function right after the embed. This appears to be too soon because I get an error. Everything else should be fine since calling the as function manually via firebug does not produce the error.

So the question is how do I call the function when the embed is complete?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about flash