home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / zombietypocalypse.swf / scripts / classes / dispatchers / LoadingComplete.as < prev    next >
Encoding:
Text File  |  2008-09-15  |  691 b   |  29 lines

  1. package classes.dispatchers
  2. {
  3.    import flash.events.Event;
  4.    import flash.events.EventDispatcher;
  5.    import flash.events.IEventDispatcher;
  6.    
  7.    public class LoadingComplete extends EventDispatcher
  8.    {
  9.       
  10.       public static const LOADING_COMPLETE:String = "LoadingComplete";
  11.        
  12.       
  13.       public function LoadingComplete(param1:IEventDispatcher = null)
  14.       {
  15.          super(param1);
  16.       }
  17.       
  18.       public function loadingComplete() : void
  19.       {
  20.          this.onLoadingComplete();
  21.       }
  22.       
  23.       private function onLoadingComplete() : void
  24.       {
  25.          dispatchEvent(new Event(LoadingComplete.LOADING_COMPLETE));
  26.       }
  27.    }
  28. }
  29.