Packagecom.brightcove.api.events
Classpublic class LoaderEvent
InheritanceLoaderEvent Inheritance flash.events.Event

Events to be broadcast when external data/content is loaded through SWFLoader. See the article, Working with SWFLoaders in the Player API, to see a code example for a SWFLoader triggering LoaderEvents.



Public Methods
 MethodDefined By
  
LoaderEvent(type:String)
Constructor.
LoaderEvent
  
clone():Event
[override] Returns a copy of the event instance.
LoaderEvent
Public Constants
 ConstantDefined By
  COMPLETE : String = loaderComplete
[static] The LoaderEvent.COMPLETE constant defines the value of the type property of the event object for a loaderComplete event.
LoaderEvent
  ERROR : String = loaderError
[static] The LoaderEvent.ERROR constant defines the value of the type property of the event object for a loaderError event.
LoaderEvent
  INIT : String = loaderInit
[static] The LoaderEvent.INIT constant defines the value of the type property of the event object for a loaderInit event.
LoaderEvent
  PROGRESS : String = loaderProgress
[static] The LoaderEvent.PROGRESS constant defines the value of the type property of the event object for a loaderProgress event.
LoaderEvent
Constructor Detail
LoaderEvent()Constructor
public function LoaderEvent(type:String)

Constructor.

Parameters
type:String — name of the event.
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
COMPLETEConstant
public static const COMPLETE:String = loaderComplete

The LoaderEvent.COMPLETE constant defines the value of the type property of the event object for a loaderComplete event.

ERRORConstant 
public static const ERROR:String = loaderError

The LoaderEvent.ERROR constant defines the value of the type property of the event object for a loaderError event.

INITConstant 
public static const INIT:String = loaderInit

The LoaderEvent.INIT constant defines the value of the type property of the event object for a loaderInit event.

PROGRESSConstant 
public static const PROGRESS:String = loaderProgress

The LoaderEvent.PROGRESS constant defines the value of the type property of the event object for a loaderProgress event.