Packagecom.bourre.ioc.assembler.displayobject
Classpublic class DisplayObjectBuilderEvent
InheritanceDisplayObjectBuilderEvent Inheritance LoaderEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The DisplayObjectBuilderEvent class represents the event object passed to the event listener for DisplayObjectBuilder events.

See also

DisplayObjectBuilder


Public Properties
 PropertyDefined by
 Inheritedtarget : Object
The source object of this event
BasicEvent
 Inheritedtype : String
The type of this event
BasicEvent
Protected Properties
 PropertyDefined by
 Inherited_oTarget : Object
The source object of this event, redefined to provide write access
BasicEvent
 Inherited_sType : String
The type of the event, redefined to provide write access
BasicEvent
Public Methods
 MethodDefined by
  
DisplayObjectBuilderEvent(type:String, loader:Loader = null, errorMessage:String = "")
Creates a new DisplayObjectBuilderEvent object.
DisplayObjectBuilderEvent
 Inherited
clone():Event
Clone the event
BasicEvent
 Inherited
getErrorMessage():String
Returns the error message carried by this event.
LoaderEvent
 Inherited
Returns the loader object carried by this event.
LoaderEvent
 Inherited
getName():String
Returns the loader named carried by this event.
LoaderEvent
 Inherited
getPerCent():Number
Returns the loading progression value of object carried by this event.
LoaderEvent
 Inherited
getTarget():Object
Returns the current source of this event object.
BasicEvent
 Inherited
getType():String
Returns the type of this event, which generally correspond to the name of the called function on the listener.
BasicEvent
 Inherited
setErrorMessage(errorMessage:String = ""):void
Sets the error message to be carried by this event.
LoaderEvent
 Inherited
setTarget(oTarget:Object):void
Defines the new source object of this event.
BasicEvent
 Inherited
setType(en:String):void
Defines the new event type for this event object.
BasicEvent
 Inherited
toString():String
Returns the string representation of this instance.
BasicEvent
Public Constants
 ConstantDefined by
  onDisplayLoaderInitEVENT : String = "onDisplayLoaderInit"
[static] Defines the value of the type property of the event object for a onDisplayLoaderInit event.
DisplayObjectBuilderEvent
  onDisplayObjectBuilderLoadInitEVENT : String = "onDisplayObjectBuilderLoadInit"
[static] Defines the value of the type property of the event object for a onDisplayObjectBuilderLoadInit event.
DisplayObjectBuilderEvent
  onDisplayObjectBuilderLoadStartEVENT : String = "onDisplayObjectBuilderLoadStart"
[static] Defines the value of the type property of the event object for a onDisplayObjectBuilderLoadStart event.
DisplayObjectBuilderEvent
  onDisplayObjectLoadInitEVENT : String = "onDisplayObjectLoadInit"
[static] Defines the value of the type property of the event object for a onDisplayObjectLoadInit event.
DisplayObjectBuilderEvent
  onDisplayObjectLoadStartEVENT : String = "onDisplayObjectLoadStart"
[static] Defines the value of the type property of the event object for a onDisplayObjectLoadStart event.
DisplayObjectBuilderEvent
  onDLLLoadInitEVENT : String = "onDLLLoadInit"
[static] Defines the value of the type property of the event object for a onDLLLoadInit event.
DisplayObjectBuilderEvent
  onDLLLoadStartEVENT : String = "onDLLLoadStart"
[static] Defines the value of the type property of the event object for a onDLLLoadStart event.
DisplayObjectBuilderEvent
  onLoadErrorEVENT : String
[static] Defines the value of the type property of the event object for a onLoadError event.
DisplayObjectBuilderEvent
  onLoadInitEVENT : String
[static] Defines the value of the type property of the event object for a onLoadInit event.
DisplayObjectBuilderEvent
  onLoadProgressEVENT : String
[static] Defines the value of the type property of the event object for a onLoadProgress event.
DisplayObjectBuilderEvent
  onLoadStartEVENT : String
[static] Defines the value of the type property of the event object for a onLoadStart event.
DisplayObjectBuilderEvent
  onLoadTimeOutEVENT : String
[static] Defines the value of the type property of the event object for a onLoadTimeOut event.
DisplayObjectBuilderEvent
  onRSCLoadInitEVENT : String = "onRSCLoadInit"
[static] Defines the value of the type property of the event object for a onRSCLoadInit event.
DisplayObjectBuilderEvent
  onRSCLoadStartEVENT : String = "onRSCLoadStart"
[static] Defines the value of the type property of the event object for a onRSCLoadStart event.
DisplayObjectBuilderEvent
Constructor detail
DisplayObjectBuilderEvent()constructor
public function DisplayObjectBuilderEvent(type:String, loader:Loader = null, errorMessage:String = "")

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates a new DisplayObjectBuilderEvent object.

Parameters
type:String — Name of the event type
 
loader:Loader (default = null) — Loader object carried by this event
 
errorMessage:String (default = "") — (optional) Error message carried by this event
Constant detail
onDisplayLoaderInitEVENTconstant
public static const onDisplayLoaderInitEVENT:String = "onDisplayLoaderInit"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onDisplayLoaderInit event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
onDisplayObjectBuilderLoadInitEVENTconstant 
public static const onDisplayObjectBuilderLoadInitEVENT:String = "onDisplayObjectBuilderLoadInit"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onDisplayObjectBuilderLoadInit event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
onDisplayObjectBuilderLoadStartEVENTconstant 
public static const onDisplayObjectBuilderLoadStartEVENT:String = "onDisplayObjectBuilderLoadStart"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onDisplayObjectBuilderLoadStart event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
onDisplayObjectLoadInitEVENTconstant 
public static const onDisplayObjectLoadInitEVENT:String = "onDisplayObjectLoadInit"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onDisplayObjectLoadInit event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
onDisplayObjectLoadStartEVENTconstant 
public static const onDisplayObjectLoadStartEVENT:String = "onDisplayObjectLoadStart"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onDisplayObjectLoadStart event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
onDLLLoadInitEVENTconstant 
public static const onDLLLoadInitEVENT:String = "onDLLLoadInit"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onDLLLoadInit event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
onDLLLoadStartEVENTconstant 
public static const onDLLLoadStartEVENT:String = "onDLLLoadStart"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onDLLLoadStart event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
onLoadErrorEVENTconstant 
public static const onLoadErrorEVENT:String

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onLoadError event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getLoader() The loader object
getName() The loader identifier
getErrorMessage() The loader identifier
onLoadInitEVENTconstant 
public static const onLoadInitEVENT:String

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onLoadInit event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getLoader() The loader object
getName() The loader identifier
onLoadProgressEVENTconstant 
public static const onLoadProgressEVENT:String

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onLoadProgress event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getLoader() The loader object
getName() The loader identifier
getPercent() The loading progression
onLoadStartEVENTconstant 
public static const onLoadStartEVENT:String

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onLoadStart event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getLoader() The loader object
getName() The loader identifier
onLoadTimeOutEVENTconstant 
public static const onLoadTimeOutEVENT:String

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onLoadTimeOut event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getLoader() The loader object
getName() The loader identifier
onRSCLoadInitEVENTconstant 
public static const onRSCLoadInitEVENT:String = "onRSCLoadInit"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onRSCLoadInit event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
onRSCLoadStartEVENTconstant 
public static const onRSCLoadStartEVENT:String = "onRSCLoadStart"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onRSCLoadStart event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type