Package | com.whirled.net |
Interface | public interface MessageSubControl |
Implementors | AgentSubControl, GameSubControlServer, PlayerSubControlServer, RoomSubControlServer |
Method | Defined by | ||
---|---|---|---|
sendMessage(name:String, value:Object = null):void
Send a "message" to the listener(s) associated with this control.
| MessageSubControl |
sendMessage | () | method |
public function sendMessage(name:String, value:Object = null):void
Send a "message" to the listener(s) associated with this control. If the recipient is listening for messages, they can react to it. This is similar to setting a property, except the value is not automatically saved -- it will just be sent along with the message.
Parametersname:String — The message to send.
|
|
value:Object (default = null ) — The value to attach to the message.
|