Package | com.brightcove.api.events |
Class | public class BEMLMouseEvent |
Inheritance | BEMLMouseEvent ![]() |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
BEMLMouseEvent(type:String, elementID:String, elementData:Object = null)
Constructor. | BEMLMouseEvent | ||
clone():Event [override]
Returns a copy of the event instance. | BEMLMouseEvent |
Constant | Defined 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 |
elementData | property |
elementData:Object
[read-only] Returns the data stored in the element that was clicked.
public function get elementData():Object
elementID | property |
elementID:String
[read-only] Returns the ID of the element that was clicked, firing the event.
public function get elementID():String
BEMLMouseEvent | () | Constructor |
public function BEMLMouseEvent(type:String, elementID:String, elementData:Object = null)
Constructor.
Parameterstype: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.
|
clone | () | method |
override public function clone():Event
Returns a copy of the event instance.
ReturnsEvent — A copy of the event.
|
CLICK | Constant |
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_OUT | Constant |
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_OVER | Constant |
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.