Search Our Web Design Blog...

Tuesday, April 27, 2010

To make your buttons work/navigate

use this code once you have established your timeline:


yourButtonsInstanceName.addEventListener(MouseEvent.CLICK, onClick);

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


you will need to replace everything in bold/pink above...

No comments:

Post a Comment