4 Replies Latest reply on Dec 29, 2009 10:01 AM by skipnosisstudios

    Newbie About To Hurl Cinema Display -


      I'm just trying to do some basic Flash CS4 button scripting and was using the Lynda.com tutorial and

      I keep getting an error message.


      I also can't even get the trace function to work - was hoping someone might take a look at my code and see if there's anything wrong.


      Here's the code:




      //handle events for buttons...

      info.addEventListener(MouseEvent.CLICK, clickSection) ;


      function clickSection (evtObj:MouseEvent) {

      //trace shows what's happening in the output window

           trace ("the info button was clicked")



      and here's the error message:


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

      at home22_fla::MainTimeline/frame107()

      I looked at frame 107 and there's no code there...really frustrated right now 
      so if anyone could help out I would appreciate it very much
      mark o'hara