Packageispring.utils.assets
Classpublic class AssetEvent
InheritanceAssetEvent Inheritance flash.events.Event

Language Version : ActionScript 3.0
Product Versions : iSpring Pro 6.0.3, iSpring Platform 6.0
Runtime Versions : AIR 1.0, Flash Player 10.1

The AssetEvent class defines an event dispatched by an asset.

See also

ispring.utils.assets.IAsset


Public Methods
MethodDefined By
 
AssetEvent(type:String)
Constructor.
AssetEvent
Public Constants
ConstantDefined By
LOADING_COMPLETE : String = loadingComplete
[static] The AssetEvent.LOADING_COMPLETE constant defines the value of the type property of the event object for a loadingComplete event.
AssetEvent
LOADING_FAILURE : String = loadingFailure
[static] The AssetEvent.LOADING_FAILURE constant defines the value of the type property of the event object for a loadingFailure event.
AssetEvent
PROGRESS : String = progress
[static] The AssetEvent.PROGRESS constant defines the value of the type property of the event object for a progress event.
AssetEvent
READY : String = ready
[static] The AssetEvent.READY constant defines the value of the type property of the event object for a ready event.
AssetEvent
Constructor Detail
AssetEvent()Constructor
public function AssetEvent(type:String)

Language Version : ActionScript 3.0
Product Versions : iSpring Pro 6.0.3, iSpring Platform 6.0
Runtime Versions : AIR 1.0, Flash Player 10.1

Constructor.

Parameters
type:String — The event type; indicates the action that triggered the event.
Constant Detail
LOADING_COMPLETEConstant
public static const LOADING_COMPLETE:String = loadingComplete

Language Version : ActionScript 3.0
Product Versions : iSpring Pro 6.0.3, iSpring Platform 6.0
Runtime Versions : AIR 1.0, Flash Player 10.1

The AssetEvent.LOADING_COMPLETE constant defines the value of the type property of the event object for a loadingComplete event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

See also

LOADING_FAILUREConstant 
public static const LOADING_FAILURE:String = loadingFailure

Language Version : ActionScript 3.0
Product Versions : iSpring Pro 6.0.3, iSpring Platform 6.0
Runtime Versions : AIR 1.0, Flash Player 10.1

The AssetEvent.LOADING_FAILURE constant defines the value of the type property of the event object for a loadingFailure event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

See also

PROGRESSConstant 
public static const PROGRESS:String = progress

Language Version : ActionScript 3.0
Product Versions : iSpring Pro 6.0.3, iSpring Platform 6.0
Runtime Versions : AIR 1.0, Flash Player 10.1

The AssetEvent.PROGRESS constant defines the value of the type property of the event object for a progress event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

See also

READYConstant 
public static const READY:String = ready

Language Version : ActionScript 3.0
Product Versions : iSpring Pro 6.0.3, iSpring Platform 6.0
Runtime Versions : AIR 1.0, Flash Player 10.1

The AssetEvent.READY constant defines the value of the type property of the event object for a ready event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

See also