As2:
-------
on(release){
gotoAndPlay(2);
}
As3:
-------
buttonname.addEventListener(MouseEvent.CLICK, eventname);
function eventname(event:MouseEvent):void
gotoAndPlay(2);
}
The code is "better" but it takes SO much longer lol. *Lazy Face*
Hey. Message me sometime! :)
Age 26, Male
Game Programmer
MIT when i grow up (i hope)
Joined on 3/2/12
Posted by SketchistGames - March 29th, 2012
As2:
-------
on(release){
gotoAndPlay(2);
}
As3:
-------
buttonname.addEventListener(MouseEvent.CLICK, eventname);
function eventname(event:MouseEvent):void
gotoAndPlay(2);
}
The code is "better" but it takes SO much longer lol. *Lazy Face*