| Package | artcustomer.framework.context |
| Class | public class ServiceContext |
| Inheritance | ServiceContext CrossPlatformInputsContext InteractiveContext EventContext Object |
| Subclasses | BaseContext |
| Method | Defined By | ||
|---|---|---|---|
Constructor
| ServiceContext | ||
![]() | 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 | ||
![]() | dispatchEvent(e:Event):Boolean
Dispatch an event. | EventContext | |
dumpParameters():String
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 | ||
![]() | hasEventListener(type:String):Boolean
Test an eventlistener. | EventContext | |
![]() | hideLogo():void
Hide Framework logo. | InteractiveContext | |
![]() | hideMenu():void
Hide Framework context menu. | InteractiveContext | |
loadPolicyFile(url:String):void
Load policy file (XML Crossdomain). | ServiceContext | ||
![]() | 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 | |
pausePlayer():void
Pause Flash Player
| ServiceContext | ||
![]() | refreshView():void
Refresh the context view. | InteractiveContext | |
releaseMemory():void
Force the garbage collection process. | ServiceContext | ||
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Remove an eventlistener. | EventContext | |
resumePlayer():void
Resume Flash Player
| ServiceContext | ||
setup():void [override]
Setup ServiceContext. | ServiceContext | ||
![]() | 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 | |
| ServiceContext | () | Constructor |
public function ServiceContext()Constructor
| allowDomain | () | method |
public function allowDomain(... rest):voidAllow a domain in application.
Parameters
... rest |
| allowInsecureDomain | () | method |
public function allowInsecureDomain(... rest):voidAllow an insecure domain in application.
Parameters
... rest |
| destroy | () | method |
override public function destroy():voidDestroy ServiceContext.
| dumpParameters | () | method |
public function dumpParameters():StringGet properties and values of Flash parameters in String format.
ReturnsString —
|
| exitPlayer | () | method |
public function exitPlayer(code:uint = 0):voidExit Flash Player.
Parameters
code:uint (default = 0) — : A value to pass to the operating system.
|
| getParameter | () | method |
public function getParameter(name:String):ObjectGet Flash parameter by name.
Parameters
name:String |
Object —
|
| loadPolicyFile | () | method |
public function loadPolicyFile(url:String):voidLoad policy file (XML Crossdomain).
Parameters
url:String |
| pausePlayer | () | method |
public function pausePlayer():voidPause Flash Player
| releaseMemory | () | method |
public function releaseMemory():voidForce the garbage collection process.
| resumePlayer | () | method |
public function resumePlayer():voidResume Flash Player
| setup | () | method |
override public function setup():voidSetup ServiceContext.