5 Replies Latest reply on Mar 1, 2012 7:29 AM by kglad

    what am i doing wrong with this menu idea?

    subtlefly72 Level 1

      Hi team,

      I am trying to build a menu but have two problems, as you can see from the vid, when I press on one of my fly out buttons the whole thing closes (which might be ok)

      Worse thatn that is that even though I have instance names for every stage and can use the target tool to find the path to these buttons I cannot access them from the main timeline.

      //Here is the code..

      import flash.events.MouseEvent;

      import flash.display.MovieClip;

       

       

      GSmain.gsshape.gss1.gssr1.addEventListener(MouseEvent.CLICK,page2go);

      function page2go(e:MouseEvent){

                gotoAndStop(2);

       

      }

       

      //and the error..

      TypeError: Error #1009: Cannot access a property or method of a null object reference.

                at aavar/frame1()[aavar::frame1:4]

      //aavar is the document class associated with this file