Hi,
I have Flash application (main_container.swf) that loads another swf file (page1.swf).
I want to dispatch an event when page1 has finished, to tell the main_container to close page1.
Is this how you dispatch an event from page1 to the main_container?
parent.dispatchEvent(new Event("pageFinish", true));
Then how do you catch the event from the main_container? I tried this but it didn't work.
loader.addEventListener("pageFinish", OnPage1Finish);
Thank you.