Guest User

Untitled

a guest
May 26th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. import us.benic.matt.Menu;
  2.  
  3. /**
  4. * Button for the Flash Workflow demonstration.
  5. * @author Matt Benic
  6. */
  7. class us.benic.matt.Button extends MovieClip
  8. {
  9. /**
  10. * Creates a new button and sets it's onRelease to notify the Menu instance.
  11. */
  12. public function Button()
  13. {
  14. // Notify menu instance when released
  15. onRelease = function ():Void {
  16. Menu.getInstance().onButtonReleaseHandler(this);
  17. }
  18. }
  19.  
  20. }
Add Comment
Please, Sign In to add comment