Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package
- {
- import flash.display.MovieClip;
- import flash.display.SimpleButton;
- import flash.events.MouseEvent;
- public class PropsEvents extends MovieClip;
- {
- public function PropsEvents()
- {
- move_up_btn.addEventListener(MouseEvent.CLICK, onMoveUp, false, 0, true);
- move_down_btn.addEventListener(MouseEvent.CLICK, onMoveDown, false, 0, true);
- move_left_btn.addEventListener(MouseEvent.CLICK, onMoveLeft, false, 0, true);
- move_right_btn.addEventListener(MouseEvent.CLICK, onMoveRight, false, 0, true);
- scale_up_btn.addEventListener(MouseEvent.CLICK, onScaleUp, false, 0, true);
- scale_down_btn.addEventListener(MouseEvent.CLICK, onScaleDown, false, 0, true);
- rotate_right_btn.addEventListener(MouseEvent.CLICK, onRotateRight, false, 0, true);
- rotate_left_btn.addEventListener(MouseEvent.CLICK, onRotateLeft, false, 0, true);
- fade_in_btn.addEventListener(MouseEvent.CLICK, onFadeIn, false, 0, true);
- fade_out_btn.addEventListener(MouseEvent.CLICK, onFadeOut, false, 0, true);
- toggle_visible_btn.addEventListener(MouseEvent.CLICK, onToggleVisible, false, 0, true);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement