Complex Buttons in AS3

I am trying to build a complex button with Flash CS3, with Up, Over, Out, and Outside states, similar to the menus on this site: http://www.titled.co.uk/07/index.html

I have the AS2 code but I need it in AS3. Can anyone help, or point me somewhere that teaches something similar to that site? Thanks in advance.

The code I use for AS 2 is:

stop()

this.onRollOver = function(){
this.gotoAndPlay(“over”);
}
this.onRollOut = function(){
this.gotoAndPlay(“out”);
}
this.onRelease = function(){
this.gotoAndPlay(“over”);
/* add code here if you would like your button to have greater functionality on release. For example, you could call getURL() to open up another web page.
*/
}
this.onReleaseOutside = function(){
this.gotoAndPlay(“outside”);
}