Package | com.brightcove.api.events |
Class | public class LoaderEvent |
Inheritance | LoaderEvent ![]() |
SWFLoader
.
See the article, Working with SWFLoaders in the Player API, to see a code example for a SWFLoader triggering LoaderEvents.
Method | Defined By | ||
---|---|---|---|
LoaderEvent(type:String)
Constructor. | LoaderEvent | ||
clone():Event [override]
Returns a copy of the event instance. | LoaderEvent |
Constant | Defined 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 |
LoaderEvent | () | Constructor |
public function LoaderEvent(type:String)
Constructor.
Parameterstype:String — name of the event.
|
clone | () | method |
override public function clone():Event
Returns a copy of the event instance.
ReturnsEvent — A copy of the event.
|
COMPLETE | Constant |
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.
ERROR | Constant |
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.
INIT | Constant |
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.
PROGRESS | Constant |
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.