PDA

View Full Version : detecting flash init from js


algorithm0
11-17-2006, 07:59 PM
I am using the flash javascript integration toolkit to call AS functions from javascript. In my JS code I am creating my flash object and then emmediately calling some AS functions on the flash object. I find that at least the first AS function call does not execute, likely because the flash object has not yet fully initialized at the time the function is called. Is there a way to have my JS code wait until the flash movie is initialized before i try to call a AS function?