Packagecom.brightcove.api.events
Classpublic class BEMLMouseEvent
InheritanceBEMLMouseEvent Inheritance flash.events.Event

Events specifically for mouse event handling within a BEML container so that external objects can be notified.



Public Properties
 PropertyDefined By
  elementData : Object
[read-only] Returns the data stored in the element that was clicked.
BEMLMouseEvent
  elementID : String
[read-only] Returns the ID of the element that was clicked, firing the event.
BEMLMouseEvent
Public Methods
 MethodDefined By
  
BEMLMouseEvent(type:String, elementID:String, elementData:Object = null)
Constructor.
BEMLMouseEvent
  
clone():Event
[override] Returns a copy of the event instance.
BEMLMouseEvent
Public Constants
 ConstantDefined By
  CLICK : String = elementClick
[static] The BEMLMouseEvent.CLICK constant defines the value of the type property of the event object for a elementClick event.
BEMLMouseEvent
  ROLL_OUT : String = elementRollOut
[static] The BEMLMouseEvent.ROLL_OUT constant defines the value of the type property of the event object for a elementRollOut event.
BEMLMouseEvent
  ROLL_OVER : String = elementRollOver
[static] The BEMLMouseEvent.ROLL_OVER constant defines the value of the type property of the event object for a elementRollOver event.
BEMLMouseEvent
Property Detail
elementDataproperty
elementData:Object  [read-only]

Returns the data stored in the element that was clicked.


Implementation
    public function get elementData():Object
elementIDproperty 
elementID:String  [read-only]

Returns the ID of the element that was clicked, firing the event.


Implementation
    public function get elementID():String
Constructor Detail
BEMLMouseEvent()Constructor
public function BEMLMouseEvent(type:String, elementID:String, elementData:Object = null)

Constructor.

Parameters
type:String — name if the event.
 
elementID:String — ID of the element in the player that was interacted with.
 
elementData:Object (default = null) — additional data stored by the element in its data property.
Method Detail
clone()method
override public function clone():Event

Returns a copy of the event instance.

Returns
Event — A copy of the event.
Constant Detail
CLICKConstant
public static const CLICK:String = elementClick

The BEMLMouseEvent.CLICK constant defines the value of the type property of the event object for a elementClick event.

ROLL_OUTConstant 
public static const ROLL_OUT:String = elementRollOut

The BEMLMouseEvent.ROLL_OUT constant defines the value of the type property of the event object for a elementRollOut event.

ROLL_OVERConstant 
public static const ROLL_OVER:String = elementRollOver

The BEMLMouseEvent.ROLL_OVER constant defines the value of the type property of the event object for a elementRollOver event.