3 Replies Latest reply: Jun 14, 2014 7:19 AM by Ned Murphy RSS

    Accessing a main timeline function from a object's timeline

    rahex Community Member

      Hi,

       

      I have an object on the stage, MovieClip, with an animation inside.

      The animation is called from a class file.

       

      I would like to call for a function, addBubbles, when the animation of the MovieClip has finished.

       

      The function, addBubbles, is described on the main timeline, in the first frame.

      But I would like to call for it from inside of that MovieClip, writing the code into the last frame.

       

      How should I reference it, so it would work?