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

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