home *** CD-ROM | disk | FTP | other *** search
- package RES.WINDOWS
- {
- import ENGINE.INTERFACE.OButton;
- import ENGINE.INTERFACE.ODialog;
- import ENGINE.INTERFACE.OWindow;
- import RES.API.highscores;
- import flash.events.Event;
-
- public class OWHighScores extends ODialog
- {
-
-
- public var iClose:OButton;
-
- private var _highscore:highscores;
-
- public function OWHighScores()
- {
- super(ClusterzL.OWHighScores);
- _highscore = new highscores(this,ClusterzL.cHs_initObj);
- this.addChild(_highscore);
- _highscore.openHub("view",0);
- this.addChild(iClose);
- }
-
- override public function set prActive(param1:Boolean) : void
- {
- super.prActive = param1;
- }
-
- override public function OnPress(param1:Event, param2:*) : void
- {
- this.prVisible = false;
- }
-
- override public function Free() : void
- {
- this.removeChild(_highscore);
- super.Free();
- }
-
- public function playAgain() : void
- {
- (this.parent as OWindow).OnPress(null,ClusterzL.miLastWindow);
- this.prVisible = false;
- }
- }
- }
-