you can use events.
in the main timeline, set up a listener:
then from the frame in the nested clip, dispatch that event:PHP Code:addEventListener("myEvent", handler, false, 0, true);
function handler(event:Event):void{
// react however you want...
gotoAndPlay(32);
}
i used simple string event-types here for simplicity; best-practice would be to use custom events.PHP Code:var e:Event = new Event("myEvent", true); // make sure it bubbles - 2nd argument should be "true"
dispatchEvent(e);




Reply With Quote
