Packageartcustomer.maxima.context
Classpublic class ServiceContext
InheritanceServiceContext Inheritance CrossPlatformInputsContext Inheritance InteractiveContext Inheritance EventContext Inheritance Object
Subclasses GameContext

ServiceContext



Public Methods
 MethodDefined By
  
Constructor
ServiceContext
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Add an eventListener.
EventContext
  
allowDomain(... rest):void
Allow a domain in application.
ServiceContext
  
allowInsecureDomain(... rest):void
Allow an insecure domain in application.
ServiceContext
  
destroy():void
[override] Destroy ServiceContext.
ServiceContext
 Inherited
dispatchEvent(e:Event):Boolean
Dispatch an event.
EventContext
  
Get properties and values of Flash parameters in String format.
ServiceContext
  
exitPlayer(code:uint = 0):void
Exit Flash Player.
ServiceContext
  
getParameter(name:String):Object
Get Flash parameter by name.
ServiceContext
 Inherited
hasEventListener(type:String):Boolean
Test an eventlistener.
EventContext
 Inherited
hideLogo():void
Hide Framework logo.
InteractiveContext
 Inherited
hideMenu():void
Hide Framework context menu.
InteractiveContext
  
loadPolicyFile(url:String):void
Load policy file (XML Crossdomain).
ServiceContext
 Inherited
move(x:int = 0, y:int = 0):void
Move the context view.
InteractiveContext
 Inherited
moveLogo(align:String, verticalMargin:int = 0, horizontalMargin:int = 0):void
Move Framework logo.
InteractiveContext
  
Pause Flash Player
ServiceContext
 Inherited
Refresh the context view.
InteractiveContext
  
Force the garbage collection process.
ServiceContext
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Remove an eventlistener.
EventContext
  
Resume Flash Player
ServiceContext
  
setup():void
[override] Setup ServiceContext.
ServiceContext
 Inherited
showLogo():void
Show Framework logo.
InteractiveContext
 Inherited
showMenu():void
Show Framework context menu.
InteractiveContext
 Inherited
Switch Normal / FullScreen mode
InteractiveContext
 Inherited
willTrigger(type:String):Boolean
Test event trigger.
EventContext
Events
 Event Summary Defined By
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
Constructor Detail
ServiceContext()Constructor
public function ServiceContext()

Constructor

Method Detail
allowDomain()method
public function allowDomain(... rest):void

Allow a domain in application.

Parameters

... rest

allowInsecureDomain()method 
public function allowInsecureDomain(... rest):void

Allow an insecure domain in application.

Parameters

... rest

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

Destroy ServiceContext.

dumpParameters()method 
public function dumpParameters():String

Get properties and values of Flash parameters in String format.

Returns
String
exitPlayer()method 
public function exitPlayer(code:uint = 0):void

Exit Flash Player.

Parameters

code:uint (default = 0) — : A value to pass to the operating system.

getParameter()method 
public function getParameter(name:String):Object

Get Flash parameter by name.

Parameters

name:String

Returns
Object
loadPolicyFile()method 
public function loadPolicyFile(url:String):void

Load policy file (XML Crossdomain).

Parameters

url:String

pausePlayer()method 
public function pausePlayer():void

Pause Flash Player

releaseMemory()method 
public function releaseMemory():void

Force the garbage collection process.

resumePlayer()method 
public function resumePlayer():void

Resume Flash Player

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

Setup ServiceContext.