| Package | com.whirled.avrg |
| Class | public class AVRGameControlEvent |
| Inheritance | AVRGameControlEvent flash.events.Event |
| Subclasses | AVRGamePlayerEvent, AVRGameRoomEvent |
| Property | Defined by | ||
|---|---|---|---|
| name : String [read-only]
Retrieves the 'name' for this event, which is a String value
whose meaning is determined by the event type.
| AVRGameControlEvent | ||
| value : Object [read-only]
Retrieves the object 'value' for this event, which is a value
whose meaning is determined by the event type.
| AVRGameControlEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
AVRGameControlEvent(type:String, name:String = null, value:Object = null, cancelable:Boolean = false)
Creates a new AVRGameControlEvent.
| AVRGameControlEvent | ||
|
clone():Event
| AVRGameControlEvent | ||
|
toString():String
| AVRGameControlEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| MOB_APPEARANCE_CHANGED : String = "mobAppearanceChanged" [static]
An event type dispatched when a spawned MOB has changed appearance.
| AVRGameControlEvent | ||
| PLAYER_JOINED_GAME : String = "playerJoinedGame" [static]
An event type dispatched when somebody joined the AVRG.
| AVRGameControlEvent | ||
| PLAYER_QUIT_GAME : String = "playerQuitGame" [static]
An event type dispatched when somebody is leaving the AVRG.
| AVRGameControlEvent | ||
| SIZE_CHANGED : String = "sizeChanged" [static]
An event type dispatched when the control has been resized.
| AVRGameControlEvent | ||
| name | property |
name:String [read-only]Retrieves the 'name' for this event, which is a String value whose meaning is determined by the event type.
Implementation public function get name():String
| value | property |
value:Object [read-only]Retrieves the object 'value' for this event, which is a value whose meaning is determined by the event type.
Implementation public function get value():Object
| AVRGameControlEvent | () | constructor |
public function AVRGameControlEvent(type:String, name:String = null, value:Object = null, cancelable:Boolean = false)Creates a new AVRGameControlEvent.
Parameterstype:String |
|
name:String (default = null) |
|
value:Object (default = null) |
|
cancelable:Boolean (default = false) |
| clone | () | method |
public override function clone():EventReturns
Event |
| toString | () | method |
public override function toString():StringReturns
String |
| MOB_APPEARANCE_CHANGED | constant |
public static const MOB_APPEARANCE_CHANGED:String = "mobAppearanceChanged"
An event type dispatched when a spawned MOB has changed appearance.
name - not used
value - not used
See also
| PLAYER_JOINED_GAME | constant |
public static const PLAYER_JOINED_GAME:String = "playerJoinedGame"
An event type dispatched when somebody joined the AVRG.
name - not used
value :int - the id of the player who has joined
See also
| PLAYER_QUIT_GAME | constant |
public static const PLAYER_QUIT_GAME:String = "playerQuitGame"
An event type dispatched when somebody is leaving the AVRG.
name - not used
value :int - the memberId of the player
See also
| SIZE_CHANGED | constant |
public static const SIZE_CHANGED:String = "sizeChanged"
An event type dispatched when the control has been resized.
name - not used
value - not used
See also