| Property | Defined by | ||
|---|---|---|---|
| changeControllers : Boolean = false [static]
| Main | ||
| enableSound : Boolean = true [static]
| Main | ||
| firstFrame : Boolean = true [static]
| Main | ||
| frameCounter : int = 0 [static]
| Main | ||
| inIFrame : Boolean = false [static]
| Main | ||
| lastAdTime : int = 0 [static]
| Main | ||
| loadChallengeMode : Boolean = false [static]
| Main | ||
| loadReplayMode : Boolean = false [static]
| Main | ||
| loadRobotMode : Boolean = false [static]
| Main | ||
| m_curController : Controller = null [static]
| Main | ||
| m_fpsCounter : FpsCounter
[static]
| Main | ||
| _mochiads_game_id : String = "50feb50977299858" [static]
| Main | ||
| mouseCursor : BitmapAsset [static]
| Main | ||
| mouseHourglass : BitmapAsset [static]
| Main | ||
| nextControllerType : int = -1 [static]
| Main | ||
| premiumMode : Boolean = false [static]
| Main | ||
| theRoot : Sprite = null [static]
| Main | ||
| Method | Defined by | ||
|---|---|---|---|
|
Main()
| Main | ||
|
BrowserRedirect(url:String = null, newWindow:Boolean = false, parent:Boolean = false):void
[static]
Invokes a webpage from URL.
| Main | ||
|
RefreshMouse(stage:Stage, target:Sprite = null):void
[static]
Brings the cursor to the front.
| Main | ||
|
ShowHourglass():void
[static]
Shows the hourglass cursor and hides the normal cursor.
| Main | ||
|
ShowMouse():void
[static]
Hides the hourglass cursor and shows the normal cursor.
| Main | ||
|
update(e:Event):void
The
update function is invoked every frame. | Main | ||
| Constant | Defined by | ||
|---|---|---|---|
| DEBUG_VERSION : Boolean = true [static]
| Main | ||
| ENABLE_SITE_LOCK : int [static]
| Main | ||
| GLOBAL_FONT : String = "Arial" [static]
| Main | ||
| VERSION_STRING : String = "2.24" [static]
| Main | ||
| changeControllers | property |
public static var changeControllers:Boolean = false
| enableSound | property |
public static var enableSound:Boolean = true
| firstFrame | property |
public static var firstFrame:Boolean = true
| frameCounter | property |
public static var frameCounter:int = 0
| inIFrame | property |
public static var inIFrame:Boolean = false
| lastAdTime | property |
public static var lastAdTime:int = 0
| loadChallengeMode | property |
public static var loadChallengeMode:Boolean = false
| loadReplayMode | property |
public static var loadReplayMode:Boolean = false
| loadRobotMode | property |
public static var loadRobotMode:Boolean = false
| m_curController | property |
public static var m_curController:Controller = null
| m_fpsCounter | property |
public static var m_fpsCounter:FpsCounter
| _mochiads_game_id | property |
public static var _mochiads_game_id:String = "50feb50977299858"
| mouseCursor | property |
public static var mouseCursor:BitmapAsset
| mouseHourglass | property |
public static var mouseHourglass:BitmapAsset
| nextControllerType | property |
public static var nextControllerType:int = -1
| premiumMode | property |
public static var premiumMode:Boolean = false
| theRoot | property |
public static var theRoot:Sprite = null
| Main | () | constructor |
public function Main()
| BrowserRedirect | () | method |
public static function BrowserRedirect(url:String = null, newWindow:Boolean = false, parent:Boolean = false):voidInvokes a webpage from URL.
Parametersurl:String (default = null) — The URL to invoke.
|
|
newWindow:Boolean (default = false) — If true, it will open the URL in a new window.
|
|
parent:Boolean (default = false) — If true and newWindow is false, it will open the URL in the current window/tab. If false, it will open the URL in the current frame.
|
| RefreshMouse | () | method |
public static function RefreshMouse(stage:Stage, target:Sprite = null):void
Brings the cursor to the front. If target is not null, it will shift the target sprite up by 5 pixels (for a floating roll).
stage:Stage — The stage where the cursor is contained.
|
|
target:Sprite (default = null) — If target is not null, it will shift the target sprite up by 5 pixels (for a floating roll).
|
| ShowHourglass | () | method |
public static function ShowHourglass():voidShows the hourglass cursor and hides the normal cursor.
| ShowMouse | () | method |
public static function ShowMouse():voidHides the hourglass cursor and shows the normal cursor.
| update | () | method |
public function update(e:Event):void
The update function is invoked every frame. This contains the initiation to load a bot directly and the changing of controllers, as well as any required frame-by-frame updating.
e:Event |
| DEBUG_VERSION | constant |
public static const DEBUG_VERSION:Boolean = true
| ENABLE_SITE_LOCK | constant |
public static const ENABLE_SITE_LOCK:int
| GLOBAL_FONT | constant |
public static const GLOBAL_FONT:String = "Arial"
| VERSION_STRING | constant |
public static const VERSION_STRING:String = "2.24"