You are correct that the flash object and any callback may not be registered in time to be called from the JS. When is your document.getElementById getting called?
-Alex On 2/17/16, 11:25 PM, "agm65" <[email protected]> wrote: >Hi, > >thx for the answer. This is the as3 part of my app. > >Security.allowDomain("*"); >ExternalInterface.addCallback("startAllAni",startAllAni); > >function startAllAni(){ > main.hand.gotoAndPlay(2); >} > >It looks like that document.getElementById does not get the flashobject as >object cause of the error message. Function startAllAni is undefined. >Calls >from flash to js works like always so externalinterface works. > >Any ideas? > > > > > >-- >View this message in context: >http://apache-flex-users.2333346.n4.nabble.com/swfobject-call-flash-functi >on-tp11991p12009.html >Sent from the Apache Flex Users mailing list archive at Nabble.com.
