Multiple Buttons At Once

Hi,

This AS3 is killing me. The simplest task of adding ActionScript to my buttons is now too difficult for a NON-PROGRAMMER like me to handle.

Before, this used to work:


button01.onRelease = function() {
	gotoAndStop("win01");
};

button02.onRelease = function() {
	gotoAndStop("win02");
};


Now, I don’t know what to do or how to do it. How is this done in AS3?

Thanks