Sunday, November 16, 2008

Code for moving to different scenes REVISED

put this code in your "actions" layer on the keyframe the button appears

function onIntroClick(evt:MouseEvent):void {
gotoAndStop(1, "Scene 2");
}

instancename.addEventListener(MouseEvent.MOUSE_DOWN, onIntroClick);

No comments: