Packagecom.whirled.avrg
Classpublic class AVRGameControlEvent
InheritanceAVRGameControlEvent Inheritance flash.events.Event
SubclassesAVRGamePlayerEvent, AVRGameRoomEvent

Conveys information about a change to the state of an AVR game.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined by
  
AVRGameControlEvent(type:String, name:String = null, value:Object = null, cancelable:Boolean = false)
Creates a new AVRGameControlEvent.
AVRGameControlEvent
  
clone():Event
AVRGameControlEvent
  
toString():String
AVRGameControlEvent
Public Constants
 ConstantDefined 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
Property detail
nameproperty
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
valueproperty 
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
Constructor detail
AVRGameControlEvent()constructor
public function AVRGameControlEvent(type:String, name:String = null, value:Object = null, cancelable:Boolean = false)

Creates a new AVRGameControlEvent.

Parameters
type:String
 
name:String (default = null)
 
value:Object (default = null)
 
cancelable:Boolean (default = false)
Method detail
clone()method
public override function clone():Event

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

Returns
String
Constant detail
MOB_APPEARANCE_CHANGEDconstant
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_GAMEconstant 
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_GAMEconstant 
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_CHANGEDconstant 
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