Jump to content

What does this Action Script 3 error mean?


KDM

Recommended Posts

// webhostingbtn Over function
function webhostingbtnOver(event:MouseEvent):void {
webhostingbtn.gotoAndPlay("over"); // go into webhostingbtn movieclip and play the over frame label
}


// webhostingbtn Out function
function webhostingbtnOut(event:MouseEvent):void {
webhostingbtn.gotoAndPlay("out"); // go into webhostingbtn movieclip and play the over frame label
}


// webhostingbtn Listeners


webhostingbtn.addEventListener(MouseEvent.ROLL_OVER, webhostingbtnOver);
webhostingbtn.addEventListener(MouseEvent.ROLL_OUT, webhostingbtnOut);

I think I figured it out. I thought I could put all of my actions on a layer at frame 1. I had to move the actionscript to the exact frame my button appears on the screen.

Ok good, because I don't know a thing about action script ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.