Search Our Web Design Blog...

Tuesday, November 1, 2011

making your buttons click

everything in BOLD and Italics needs to be changed to match what you have in your Flash movie/document:yourButtonsInstanceName.addEventListener(MouseEvent.CLICK, onClick);

function
onClick(event:MouseEvent):void{
gotoAndPlay("Your Frame Label Here");
}

No comments:

Post a Comment