Packageartcustomer.framework.context
Classpublic class InteractiveContext
InheritanceInteractiveContext Inheritance EventContext Inheritance Object
Implements IContext
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
Protected Methods
 MethodDefined By
  
focus():void
When FlashPlayer receive focus.
InteractiveContext
  
resize():void
When player window is resized.
InteractiveContext
  
unfocus():void
When FlashPlayer lose focus.
InteractiveContext
Events
 Event Summary Defined By
  InteractiveContext
  InteractiveContext
  InteractiveContext
  InteractiveContext
  InteractiveContext
Constructor Detail
InteractiveContext()Constructor
public function InteractiveContext()

Constructor

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

Destroy InteractiveContext.

focus()method 
protected function focus():void

When FlashPlayer receive focus. Can be overrided.

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.

resize()method 
protected function resize():void

When player window is resized.

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

unfocus()method 
protected function unfocus():void

When FlashPlayer lose focus. Can be overrided.

Event Detail
displayFullScreen Event
Event Object Type: artcustomer.framework.events.ContextDisplayEvent

displayNormalScreen Event  
Event Object Type: artcustomer.framework.events.ContextDisplayEvent

error Event  
Event Object Type: artcustomer.framework.events.ContextErrorEvent

frameworkError Event  
Event Object Type: artcustomer.framework.events.ContextErrorEvent

illegalError Event  
Event Object Type: artcustomer.framework.events.ContextErrorEvent