7 Replies Latest reply on Oct 15, 2007 1:15 PM by kglad

    ERROR: Adding an event listener to a button in the main timeline

    ZakNinja Level 1
      I am trying to get a simple script to work temporarily to show functionality. This file is a menu.swf file that will load content.swf's below it.

      There are 4 buttons on the main timeline and a stop at frame 40. On the same layer that my button exists and on frame 40, I have this code under actions. dineContent is the instance name of the button I'm referencing.

      However, I keep getting an 1120 Error Access of Undefined Property.

      I know I can add an event listener to an instance name. Do I need to create a movie out of all these buttons and then reference the button instances inside the movie?