Advertisement
Guest User

poolik

a guest
Oct 20th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. package
  2. {
  3. import flash.display.MovieClip;
  4. import flash.display.SimpleButton;
  5. import flash.events.MouseEvent;
  6.  
  7. public class PropsEvents extends MovieClip;
  8. {
  9. public function PropsEvents()
  10. {
  11. move_up_btn.addEventListener(MouseEvent.CLICK, onMoveUp, false, 0, true);
  12. move_down_btn.addEventListener(MouseEvent.CLICK, onMoveDown, false, 0, true);
  13. move_left_btn.addEventListener(MouseEvent.CLICK, onMoveLeft, false, 0, true);
  14. move_right_btn.addEventListener(MouseEvent.CLICK, onMoveRight, false, 0, true);
  15. scale_up_btn.addEventListener(MouseEvent.CLICK, onScaleUp, false, 0, true);
  16. scale_down_btn.addEventListener(MouseEvent.CLICK, onScaleDown, false, 0, true);
  17. rotate_right_btn.addEventListener(MouseEvent.CLICK, onRotateRight, false, 0, true);
  18. rotate_left_btn.addEventListener(MouseEvent.CLICK, onRotateLeft, false, 0, true);
  19. fade_in_btn.addEventListener(MouseEvent.CLICK, onFadeIn, false, 0, true);
  20. fade_out_btn.addEventListener(MouseEvent.CLICK, onFadeOut, false, 0, true);
  21. toggle_visible_btn.addEventListener(MouseEvent.CLICK, onToggleVisible, false, 0, true);
  22. }
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement