Packageqnx.ui.events
Classpublic class MediaControlEvent
InheritanceMediaControlEvent Inheritance flash.events.Event

The MediaControlEvent is dispatched by the MediaControl component.

See also

MediaControl


Public Properties
 PropertyDefined By
  property : String
[read-only] Gets the property, state or option of the MediaControl class that triggered the event.
MediaControlEvent
Public Methods
 MethodDefined By
  
MediaControlEvent(type:String, property:String = null)
Constructs a MediaControl object.
MediaControlEvent
Public Constants
 ConstantDefined By
  OPTION_CLICK : String = optionClicked
[static] Dispatched when certain elements in the control are touched by the user.
MediaControlEvent
  PROPERTY_CHANGE : String = propertyChange
[static] Dispatched when a property has changed through user interaction.
MediaControlEvent
  STATE_CHANGE : String = stateChange
[static] Dispatched when the state of the media must change based on user interaction with the controls.
MediaControlEvent
Property Detail
propertyproperty
property:String  [read-only]

Gets the property, state or option of the MediaControl class that triggered the event.


Implementation
    public function get property():String
Constructor Detail
MediaControlEvent()Constructor
public function MediaControlEvent(type:String, property:String = null)

Constructs a MediaControl object.

Parameters
type:String — The type of MediaControlEvent.
 
property:String (default = null) — The property that changed.
Constant Detail
OPTION_CLICKConstant
public static const OPTION_CLICK:String = optionClicked

Dispatched when certain elements in the control are touched by the user.

The following cases will cause this event to be dispatched:

See also

PROPERTY_CHANGEConstant 
public static const PROPERTY_CHANGE:String = propertyChange

Dispatched when a property has changed through user interaction.

The following cases will cause this event to be dispatched:

See also

STATE_CHANGEConstant 
public static const STATE_CHANGE:String = stateChange

Dispatched when the state of the media must change based on user interaction with the controls.

The following cases will cause this event to be dispatched:

See also