Packagecom.whirled.game
Classpublic class UserChatEvent
InheritanceUserChatEvent Inheritance flash.events.Event

Dispatched when a player speaks.



Public Properties
 PropertyDefined by
  message : String
[read-only] Get the content of the chat.
UserChatEvent
  speaker : int
[read-only] Get player id of the speaker.
UserChatEvent
Public Methods
 MethodDefined by
  
UserChatEvent(speaker:int, message:String)
UserChatEvent
  
clone():Event
UserChatEvent
  
toString():String
UserChatEvent
Public Constants
 ConstantDefined by
  USER_CHAT : String = "UserChat"
[static] The type of a property change event.
UserChatEvent
Property detail
messageproperty
message:String  [read-only]

Get the content of the chat.

Implementation
    public function get message():String
speakerproperty 
speaker:int  [read-only]

Get player id of the speaker.

Implementation
    public function get speaker():int
Constructor detail
UserChatEvent()constructor
public function UserChatEvent(speaker:int, message:String)Parameters
speaker:int
 
message:String
Method detail
clone()method
public override function clone():Event

Returns
Event
toString()method 
public override function toString():String

Returns
String
Constant detail
USER_CHATconstant
public static const USER_CHAT:String = "UserChat"

The type of a property change event.