home *** CD-ROM | disk | FTP | other *** search
- package classes.dispatchers
- {
- import flash.events.Event;
- import flash.events.EventDispatcher;
- import flash.events.IEventDispatcher;
-
- public class ButtonsEvents extends EventDispatcher
- {
-
- public static const BUTTONS_UNLOCKED:String = "ButtonsUnlocked";
-
-
- public function ButtonsEvents(param1:IEventDispatcher = null)
- {
- super(param1);
- }
-
- public function unlockButtons() : void
- {
- this.onButtonsUnlocked();
- }
-
- private function onButtonsUnlocked() : void
- {
- dispatchEvent(new Event(ButtonsEvents.BUTTONS_UNLOCKED));
- }
- }
- }
-