home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / zombietypocalypse.swf / scripts / game / panel / Round.as < prev    next >
Encoding:
Text File  |  2008-09-15  |  923 b   |  32 lines

  1. package game.panel
  2. {
  3.    import flash.display.MovieClip;
  4.    import flash.text.TextField;
  5.    import game.ThisGameManager;
  6.    
  7.    [Embed(source="/_assets/assets.swf", symbol="game.panel.Round")]
  8.    public class Round extends MovieClip
  9.    {
  10.        
  11.       
  12.       public var roundd:TextField;
  13.       
  14.       internal var textF:TextField;
  15.       
  16.       public function Round()
  17.       {
  18.          super();
  19.          addFrameScript(57,frame58);
  20.          this.textF = TextField(this.getChildByName("roundd"));
  21.          this.textF.embedFonts = true;
  22.          this.textF.defaultTextFormat.font = ThisGameManager.getInstance().Bold.fontName;
  23.          textF.text = "Level " + (int((ThisGameManager.getInstance().currentLevel - 1) / 2) + 1) + " round " + ((ThisGameManager.getInstance().currentLevel - 1) % 2 + 1);
  24.       }
  25.       
  26.       internal function frame58() : *
  27.       {
  28.          this.stop();
  29.       }
  30.    }
  31. }
  32.