class DuskButton extends MovieClip { function DuskButton() { trace("I have created the DuskButton!"); } function onPress() { this.gotoAndStop("down"); } function onRelease() { this.gotoAndStop("over"); } function onRollOver() { this.gotoAndStop("over"); } function onRollOut() { this.gotoAndStop("up"); } function onReleaseOutside() { this.gotoAndStop("up"); } }