Packagecom.worlize.api.event
Classpublic class RoomObjectEvent
InheritanceRoomObjectEvent Inheritance flash.events.Event

Product Version : Worlize APIv.1

Represents events relating to an object (app) in the current room.



Public Properties
 PropertyDefined By
  roomObject : RoomObject
The object instance associated with the event.
RoomObjectEvent
Public Methods
 MethodDefined By
  
RoomObjectEvent(type:String)
Constructor.
RoomObjectEvent
Public Constants
 ConstantDefined By
  OBJECT_MOVED : String = objectMoved
[static] The RoomObjectEvent.OBJECT_MOVED constant defines the value of the type property of the event object for a objectMoved event.
RoomObjectEvent
  OBJECT_RESIZED : String = objectResized
[static] The RoomObjectEvent.OBJECT_RESIZED constant defines the value of the type property of the event object for a objectResized event.
RoomObjectEvent
  OBJECT_STATE_CHANGED : String = objectStateChanged
[static] The RoomObjectEvent.OBJECT_STATE_CHANGED constant defines the value of the type property of the event object for a objectStateChanged event.
RoomObjectEvent
Property Detail
roomObjectproperty
public var roomObject:RoomObject

Product Version : Worlize API.v1

The object instance associated with the event.

See also

Constructor Detail
RoomObjectEvent()Constructor
public function RoomObjectEvent(type:String)

Product Version : Worlize API.v1

Constructor.

Parameters
type:String — The event type; indicates the action that caused the event.
Constant Detail
OBJECT_MOVEDConstant
public static const OBJECT_MOVED:String = objectMoved

Product Version : Worlize APIv.1

The RoomObjectEvent.OBJECT_MOVED constant defines the value of the type property of the event object for a objectMoved event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
roomObjectThe object associated with the event. See com.worlize.api.model.RoomObject.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

See also

OBJECT_RESIZEDConstant 
public static const OBJECT_RESIZED:String = objectResized

Product Version : Worlize APIv.1

The RoomObjectEvent.OBJECT_RESIZED constant defines the value of the type property of the event object for a objectResized event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
roomObjectThe object associated with the event. See com.worlize.api.model.RoomObject.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

See also

OBJECT_STATE_CHANGEDConstant 
public static const OBJECT_STATE_CHANGED:String = objectStateChanged

Product Version : Worlize APIv.1

The RoomObjectEvent.OBJECT_STATE_CHANGED constant defines the value of the type property of the event object for a objectStateChanged event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
roomObjectThe object associated with the event. See com.worlize.api.model.RoomObject.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

See also