1 Reply Latest reply on Aug 4, 2010 3:47 PM by aecliptic

    What am I doing wrong?

    aecliptic

      I made a navigation bar in photoshop, sliced it all up and imported it to stage.  Im using a tutorial from tutvid to use actionscript to create links on the navigation bar but its not working.  Did I mess up importing from photoshop to flash?  This is the script Im using so far is...

       

      import flash.events.MouseEvent;

       

      home_btn.addEventListener(MouseEvent.CLICK, rClick);

       

      function rClick(event:MouseEvent):void{
          home_btn.alpha -= 0.1;
      }

       


      The tutorial is being done on CS3 and Im on CS5... did they change anything in Actionscript?  I cant get passed the very first part of the video because there are mistakes in the script.

       

      Im a total newb to this stuff.

       

      Thanks for the help.