home *** CD-ROM | disk | FTP | other *** search
- package
- {
- import Gamefile.Game;
- import Gamefile.Language;
- import Gamefile.SoundsManager;
- import flash.display.MovieClip;
- import flash.display.SimpleButton;
- import flash.ui.ContextMenu;
-
- public class Document extends MovieClip
- {
-
-
- public var ChooseDownBtn:SimpleButton;
-
- public var ChooseUpBtn:SimpleButton;
-
- public function Document()
- {
- super();
- initDocument();
- hideContextMenu();
- forbidScale();
- this.stage.stageFocusRect = false;
- }
-
- private function hideContextMenu() : void
- {
- var _loc1_:ContextMenu = null;
- _loc1_ = new ContextMenu();
- _loc1_.hideBuiltInItems();
- this.contextMenu = _loc1_;
- this.stage.showDefaultContextMenu = false;
- }
-
- private function forbidScale() : void
- {
- this.stage.scaleMode = "noScale";
- }
-
- private function initDocument() : *
- {
- var _loc1_:Game = null;
- this.stop();
- new SoundsManager();
- new Language();
- _loc1_ = new Game(this);
- }
- }
- }
-