Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import us.benic.matt.Menu;
- /**
- * Button for the Flash Workflow demonstration.
- * @author Matt Benic
- */
- class us.benic.matt.Button extends MovieClip
- {
- /**
- * Creates a new button and sets it's onRelease to notify the Menu instance.
- */
- public function Button()
- {
- // Notify menu instance when released
- onRelease = function ():Void {
- Menu.getInstance().onButtonReleaseHandler(this);
- }
- }
- }
Add Comment
Please, Sign In to add comment