4 Replies Latest reply on Oct 15, 2007 9:09 PM by ZakNinja

    running a function in a parent at the end of a child.swf

    ZakNinja Level 1
      question: How do I call a function that is inside a parent.swf from a child external swf (class Loader)?

      In my menu.swf, there is a child (Loader class) of a content.swf that gets loaded below it on run. Then when a button is clicked, it makes a string that contains the name of the content file to load next, then initiates an ending function on the child, which does some outro animation.

      function buttonClick(event:MouseEvent):void
      nextContent = event.target.name + ".swf";


      after the ending sequence has executed in the ccontent.swf I need to know how to make a call to a function back in the menu.swf so that I can load the nextContent