Loaded SWF...dispatchEvent???
Here it goes coding world.....can Loaded swfs except customEvents from the parent swf?
What I have Is the Main.swf loading different swfs on screen.
I want to....or I am dispatching a custom event to the screens thats loaded into the Main.swf but they dont receive the call and execute the functions within them.
I have tried just about everything.The Main.swf receives the dispatch call fine but none of the children do. I have the stage listening for the call....like so......
stage.addEventListener(KillEvent.KILLSCREEN, killPage);......
and
stage.dispatchEvent(new KillEvent("killscreens"));
I tried putting
stage.addEventListener(KillEvent.KILLSCREEN, killPage);
in the child.swfs but it keeps saying null object reference error....
and when I take off the "stage" part it compiles but never receives the call
i'm at wits end......and i'm gonna jump....lol
![]()