gotoAndStop is not a method of the button class. try making your buttons into movie clips, control the rollOver/Out and press/release functionality with AS just like you're doing above, and either label frames in the mcs or just use frames one two and three (maybe four). You'll then have to break the onRollOut function (which resets the mc too the original state) as part of your onRelease function.

_b