Package | artcustomer.framework.context |
Class | public class InteractiveContext |
Inheritance | InteractiveContext EventContext Object |
Implements | IContext |
Subclasses | CrossPlatformInputsContext |
Method | Defined By | ||
---|---|---|---|
Constructor
| InteractiveContext | ||
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 | ||
dispatchEvent(e:Event):Boolean
Dispatch an event. | EventContext | ||
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 | ||
refreshView():void
Refresh the context view. | InteractiveContext | ||
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 | ||
toggleFullScreen():void
Switch Normal / FullScreen mode
| InteractiveContext | ||
willTrigger(type:String):Boolean
Test event trigger. | EventContext |
Method | Defined By | ||
---|---|---|---|
focus():void
When FlashPlayer receive focus. | InteractiveContext | ||
resize():void
When player window is resized. | InteractiveContext | ||
unfocus():void
When FlashPlayer lose focus. | InteractiveContext |
Event | Summary | Defined By | ||
---|---|---|---|---|
InteractiveContext | ||||
InteractiveContext | ||||
InteractiveContext | ||||
InteractiveContext | ||||
InteractiveContext |
InteractiveContext | () | Constructor |
public function InteractiveContext()
Constructor
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.
displayFullScreen | Event |
displayNormalScreen | Event |
error | Event |
frameworkError | Event |
illegalError | Event |