Thursday, February 17, 2011

newCode/SameOldCode


stop();


function gotoFrame10(e:MouseEvent):void {
gotoAndPlay(10);
}

ten.addEventListener(MouseEvent.CLICK, gotoFrame10);


function gotoFrame20(e:MouseEvent):void {
gotoAndStop(20);
}

tweety.addEventListener(MouseEvent.CLICK, gotoFrame20);

No comments:

Post a Comment