Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stop();
- rainbow_button.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame);
- function fl_ClickToGoToAndPlayFromFrame(event:MouseEvent):void
- {
- gotoAndPlay(6);
- }
- brown_button.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_2);
- function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void
- {
- gotoAndPlay(46);
- }
- stage.addChild(cursor_mc);
- cursor_mc.mouseEnabled = false;
- cursor_mc.addEventListener(Event.ENTER_FRAME, fl_CustomMouseCursor_2);
- function fl_CustomMouseCursor_2(event:Event)
- {
- cursor_mc.x = stage.mouseX;
- cursor_mc.y = stage.mouseY;
- }
- Mouse.hide();
- //*restores default cursor
- //cursor_mc.removeEventListener(Event.ENTER_FRAME, fl_CustomMouseCursor_2);
- //stage.removeChild(cursor_mc);
- //Mouse.show();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement