home *** CD-ROM | disk | FTP | other *** search
- package game.panel
- {
- import flash.display.MovieClip;
- import flash.text.TextField;
- import game.ThisGameManager;
-
- [Embed(source="/_assets/assets.swf", symbol="game.panel.Round")]
- public class Round extends MovieClip
- {
-
-
- public var roundd:TextField;
-
- internal var textF:TextField;
-
- public function Round()
- {
- super();
- addFrameScript(57,frame58);
- this.textF = TextField(this.getChildByName("roundd"));
- this.textF.embedFonts = true;
- this.textF.defaultTextFormat.font = ThisGameManager.getInstance().Bold.fontName;
- textF.text = "Level " + (int((ThisGameManager.getInstance().currentLevel - 1) / 2) + 1) + " round " + ((ThisGameManager.getInstance().currentLevel - 1) % 2 + 1);
- }
-
- internal function frame58() : *
- {
- this.stop();
- }
- }
- }
-