hi everyone!

was just wondering. is there a better way of writting code for a mc button?

this is what i normally do but surely there is a better way...

Code:
myMCbutton.onRollOver = function(){
	this.gotoAndPlay("over");
}
myMCbutton.onRollOut = function(){
	this.gotoAndPlay("out");
}
myMCbutton.onRelease = function(){
	this.gotoAndStop("press");
}