| Package | com.whirled.avrg |
| Class | public class AgentSubControl |
| Inheritance | AgentSubControl AbstractSubControl AbstractControl flash.events.EventDispatcher |
| Implements | MessageSubControl |
| Method | Defined by | ||
|---|---|---|---|
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener.
| AbstractControl | |
![]() |
doBatch(fn:Function, ... args):void
Execute the specified function as a batch of commands that will be sent to the server
together.
| AbstractSubControl | |
![]() |
isConnected():Boolean
Are we connected and running inside the whirled environment, or has someone just
loaded up our SWF by itself?
| AbstractSubControl | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unregisters an event listener.
| AbstractControl | |
|
sendMessage(name:String, value:Object = null):void
Sends a message to the agent.
| AgentSubControl | ||
| sendMessage | () | method |
public function sendMessage(name:String, value:Object = null):void
Sends a message to the agent. The agent receives messages by adding a
MESSAGE_RECEIVED event listener to GameSubControlServer.
name:String |
|
value:Object (default = null) |
See also