Packageartcustomer.framework.context
Classpublic class BaseContext
InheritanceBaseContext Inheritance ServiceContext Inheritance CrossPlatformInputsContext Inheritance InteractiveContext Inheritance EventContext Inheritance Object
Subclasses FlashContext

BaseContext



Public Methods
 MethodDefined By
  
Constructor
BaseContext
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Add an eventListener.
EventContext
 Inherited
allowDomain(... rest):void
Allow a domain in application.
ServiceContext
 Inherited
allowInsecureDomain(... rest):void
Allow an insecure domain in application.
ServiceContext
  
destroy():void
[override] Destroy the context.
BaseContext
 Inherited
dispatchEvent(e:Event):Boolean
Dispatch an event.
EventContext
 Inherited
Get properties and values of Flash parameters in String format.
ServiceContext
 Inherited
exitPlayer(code:uint = 0):void
Exit Flash Player.
ServiceContext
 Inherited
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
  
infos():String
Get Debug version of Player.
BaseContext
 Inherited
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
 Inherited
Pause Flash Player
ServiceContext
 Inherited
Refresh the context view.
InteractiveContext
 Inherited
Force the garbage collection process.
ServiceContext
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Remove an eventlistener.
EventContext
  
reset():void
Reset the context.
BaseContext
 Inherited
Resume Flash Player
ServiceContext
  
setup():void
[override] Setup the context.
BaseContext
 Inherited
showLogo():void
Show Framework logo.
InteractiveContext
 Inherited
showMenu():void
Show Framework context menu.
InteractiveContext
  
throwCustomError(error:Class, message:*, id:* = 0):void
Throw a custom Error.
BaseContext
  
throwError(message:*, id:* = 0):void
Throw an Error.
BaseContext
 Inherited
Switch Normal / FullScreen mode
InteractiveContext
 Inherited
willTrigger(type:String):Boolean
Test event trigger.
EventContext
Protected Methods
 MethodDefined By
 Inherited
focus():void
When FlashPlayer receive focus.
InteractiveContext
  
render():void
Called by RenderEngine during rendering.
BaseContext
 Inherited
resize():void
When player window is resized.
InteractiveContext
 Inherited
unfocus():void
When FlashPlayer lose focus.
InteractiveContext
Events
 Event Summary Defined By
  BaseContext
  BaseContext
  BaseContext
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedInteractiveContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
 InheritedCrossPlatformInputsContext
Constructor Detail
BaseContext()Constructor
public function BaseContext()

Constructor

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

Destroy the context. Must be overrided and called at end.

infos()method 
public function infos():String

Get Debug version of Player.

Returns
String
render()method 
protected function render():void

Called by RenderEngine during rendering.

reset()method 
public function reset():void

Reset the context. Must be overrided.

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

Setup the context. Must be overrided and called at first.

throwCustomError()method 
public function throwCustomError(error:Class, message:*, id:* = 0):void

Throw a custom Error.

Parameters

error:Class
 
message:*
 
id:* (default = 0)

throwError()method 
public function throwError(message:*, id:* = 0):void

Throw an Error.

Parameters

message:*
 
id:* (default = 0)

Event Detail
contextDestroy Event
Event Object Type: artcustomer.framework.events.ContextEvent

contextReset Event  
Event Object Type: artcustomer.framework.events.ContextEvent

contextSetup Event  
Event Object Type: artcustomer.framework.events.ContextEvent