home *** CD-ROM | disk | FTP | other *** search
- package classes.dispatchers
- {
- import flash.events.EventDispatcher;
- import flash.events.IEventDispatcher;
-
- public class MouseEventDispatcher extends EventDispatcher
- {
-
- public static const BUTTON_PRESSED:String = "ButtonReleased";
-
-
- public function MouseEventDispatcher(param1:IEventDispatcher = null)
- {
- super(param1);
- }
-
- private function onButtonPressed(param1:Object) : void
- {
- dispatchEvent(new MyMouseEvent(MouseEventDispatcher.BUTTON_PRESSED,param1));
- }
-
- public function buttonPressed(param1:Object) : void
- {
- this.onButtonPressed(param1);
- }
- }
- }
-