Packageartcustomer.maxima.context
Classpublic class InteractiveContext
InheritanceInteractiveContext Inheritance EventContext Inheritance Object
Implements IGameContext
Subclasses CrossPlatformInputsContext

InteractiveContext



Public Methods
 MethodDefined By
  
Constructor
InteractiveContext
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Add an eventListener.
EventContext
  
destroy():void
[override] Destroy InteractiveContext.
InteractiveContext
 Inherited
dispatchEvent(e:Event):Boolean
Dispatch an event.
EventContext
 Inherited
hasEventListener(type:String):Boolean
Test an eventlistener.
EventContext
  
hideLogo():void
Hide Framework logo.
InteractiveContext
  
hideMenu():void
Hide Framework context menu.
InteractiveContext
  
move(x:int = 0, y:int = 0):void
Move the context view.
InteractiveContext
  
moveLogo(align:String, verticalMargin:int = 0, horizontalMargin:int = 0):void
Move Framework logo.
InteractiveContext
  
Refresh the context view.
InteractiveContext
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Remove an eventlistener.
EventContext
  
setup():void
[override] Setup InteractiveContext.
InteractiveContext
  
showLogo():void
Show Framework logo.
InteractiveContext
  
showMenu():void
Show Framework context menu.
InteractiveContext
  
Switch Normal / FullScreen mode
InteractiveContext
 Inherited
willTrigger(type:String):Boolean
Test event trigger.
EventContext
Events
 Event Summary Defined By
  InteractiveContext
  InteractiveContext
  InteractiveContext
  InteractiveContext
  InteractiveContext
  InteractiveContext
  InteractiveContext
  InteractiveContext
Constructor Detail
InteractiveContext()Constructor
public function InteractiveContext()

Constructor

Method Detail
destroy()method
override public function destroy():void

Destroy InteractiveContext.

hideLogo()method 
public function hideLogo():void

Hide Framework logo.

hideMenu()method 
public function hideMenu():void

Hide Framework context menu.

move()method 
public function move(x:int = 0, y:int = 0):void

Move the context view.

Parameters

x:int (default = 0)
 
y:int (default = 0)

moveLogo()method 
public function moveLogo(align:String, verticalMargin:int = 0, horizontalMargin:int = 0):void

Move Framework logo.

Parameters

align:String — : Use consts of LogoPosition
 
verticalMargin:int (default = 0)
 
horizontalMargin:int (default = 0)

refreshView()method 
public function refreshView():void

Refresh the context view.

setup()method 
override public function setup():void

Setup InteractiveContext.

showLogo()method 
public function showLogo():void

Show Framework logo.

showMenu()method 
public function showMenu():void

Show Framework context menu.

toggleFullScreen()method 
public function toggleFullScreen():void

Switch Normal / FullScreen mode

Event Detail
error Event
Event Object Type: artcustomer.maxima.events.GameErrorEvent

gameError Event  
Event Object Type: artcustomer.maxima.events.GameErrorEvent

gameFocusIn Event  
Event Object Type: artcustomer.maxima.events.GameEvent

gameFocusOut Event  
Event Object Type: artcustomer.maxima.events.GameEvent

gameFullScreen Event  
Event Object Type: artcustomer.maxima.events.GameEvent

gameNormalScreen Event  
Event Object Type: artcustomer.maxima.events.GameEvent

gameResize Event  
Event Object Type: artcustomer.maxima.events.GameEvent

illegalError Event  
Event Object Type: artcustomer.maxima.events.GameErrorEvent