Package | com.brightcove.api |
Class | public class BrightcoveFlexComponent |
Inheritance | BrightcoveFlexComponent ![]() |
Property | Defined By | ||
---|---|---|---|
autoLoad : Boolean
Returns whether the nested player is set to autoload upon instantiation of this object. | BrightcoveFlexComponent | ||
playerClass : Class
Returns the fully qualified class name of the Brightcove player to instantiate. | BrightcoveFlexComponent |
Method | Defined By | ||
---|---|---|---|
Constructor. | BrightcoveFlexComponent | ||
Returns the API module stored by the specified string. | BrightcoveFlexComponent | ||
load():void
Instantiates the BrightcovePlayer which loads the Brightcove player SWF. | BrightcoveFlexComponent |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when there is some error condition in the player preventing load or playback. | BrightcoveFlexComponent | |||
Dispatched when player is first loaded into shell application. | BrightcoveFlexComponent |
autoLoad | property |
autoLoad:Boolean
Returns whether the nested player is set to autoload upon instantiation of this object.
public function get autoLoad():Boolean
public function set autoLoad(value:Boolean):void
playerClass | property |
playerClass:Class
Returns the fully qualified class name of the Brightcove player to instantiate. This allows you to change the name and package structure of the BrightcovePlayer class generated by the Brightcove Publishing module.
public function get playerClass():Class
public function set playerClass(value:Class):void
BrightcoveFlexComponent | () | Constructor |
public function BrightcoveFlexComponent()
Constructor.
getModule | () | method |
public function getModule(moduleName:String):APIModule
Returns the API module stored by the specified string.
Parameters
moduleName:String — name of the API module to retrieve.
|
APIModule — The API module stored as the specified string.
|
load | () | method |
public function load():void
Instantiates the BrightcovePlayer which loads the Brightcove player SWF.
templateError | Event |
com.brightcove.api.events.ErrorEvent
com.brightcove.api.events.ErrorEvent.TEMPLATE_ERROR
Dispatched when there is some error condition in the player preventing load or playback.
The ErrorEvent.TEMPLATE_ERROR constant defines the value of thetype
property of the event object for a
templateLoaded
event.
templateLoaded | Event |
com.brightcove.api.events.ExperienceEvent
com.brightcove.api.events.ExperienceEvent.TEMPLATE_LOADED
Dispatched when player is first loaded into shell application.
The ExperienceEvent.TEMPLATE_LOADED constant defines the value of thetype
property of the event object for a
templateLoaded
event.