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.
Scratch that... after messing around in Flash, I realize I had to change the layer to a symbol - button, name it home_btn, and then it worked.