3 Replies Latest reply on Oct 5, 2009 9:12 AM by danpearce.me

    Actionscript in symbol to reference button instance on main timeline?

    danpearce.me

      Hello, hopefully this is a really easy one.

       

      How would I reference a button instance on the main timeline in the actionscript within a movie clip symbol?

       

      For example:

       

      btn1.addEventListener(MouseEvent.ROLL_OVER, main1Over);

       

      where btn1 is an instance of a button on the main timeline but is not found within the symbol itself.

       

      I will then be dragging that movie clip onto the main timeline when it's finished.

       

      Thanks, Dan