| Package | com.bourre.load |
| Class | public class GraphicLoaderEvent |
| Inheritance | GraphicLoaderEvent LoaderEvent BasicEvent flash.events.Event |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
GraphicLoader events.
See also
| Method | Defined by | ||
|---|---|---|---|
|
GraphicLoaderEvent(type:String, gl:GraphicLoader, errorMessage:String = "")
Creates a new
GraphicLoaderEvent object. | GraphicLoaderEvent | ||
![]() |
clone():Event
Clone the event
| BasicEvent | |
|
getApplicationDomain():ApplicationDomain
Returns the
applicationDomain of loaded display object. | GraphicLoaderEvent | ||
![]() |
getErrorMessage():String
Returns the error message carried by this event.
| LoaderEvent | |
|
Returns the graphic loader object carried by this event.
| GraphicLoaderEvent | ||
![]() |
Returns the loader object carried by this event.
| LoaderEvent | |
![]() |
getName():String
Returns the loader named carried by this event.
| LoaderEvent | |
![]() |
getPerCent():Number
Returns the loading progression value of object carried by
this event.
| LoaderEvent | |
![]() |
getTarget():Object
Returns the current source of this event object.
| BasicEvent | |
![]() |
getType():String
Returns the type of this event, which generally correspond
to the name of the called function on the listener.
| BasicEvent | |
|
getView():DisplayObjectContainer
Returns the display object carried by this event.
| GraphicLoaderEvent | ||
![]() |
setErrorMessage(errorMessage:String = ""):void
Sets the error message to be carried by this event.
| LoaderEvent | |
![]() |
setTarget(oTarget:Object):void
Defines the new source object of this event.
| BasicEvent | |
![]() |
setType(en:String):void
Defines the new event type for this event object.
| BasicEvent | |
![]() |
toString():String
Returns the string representation of this instance.
| BasicEvent | |
| Constant | Defined by | ||
|---|---|---|---|
| onLoadErrorEVENT : String = "onLoadError" [static]
Defines the value of the
type property of the event
object for a onLoadError event. | GraphicLoaderEvent | ||
| onLoadInitEVENT : String = "onLoadInit" [static]
Defines the value of the
type property of the event
object for a onLoadInit event. | GraphicLoaderEvent | ||
| onLoadProgressEVENT : String = "onLoadProgress" [static]
Defines the value of the
type property of the event
object for a onLoadProgress event. | GraphicLoaderEvent | ||
| onLoadStartEVENT : String = "onLoadStart" [static]
Defines the value of the
type property of the event
object for a onLoadStart event. | GraphicLoaderEvent | ||
| onLoadTimeOutEVENT : String = "onLoadTimeOut" [static]
Defines the value of the
type property of the event
object for a onLoadTimeOut event. | GraphicLoaderEvent | ||
| GraphicLoaderEvent | () | constructor |
public function GraphicLoaderEvent(type:String, gl:GraphicLoader, errorMessage:String = "")
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Creates a new GraphicLoaderEvent object.
type:String — Name of the event type
|
|
gl:GraphicLoader — GraphicLoader object carried by this event
|
|
errorMessage:String (default = "") — (optional) Error message carried by this event
|
| getApplicationDomain | () | method |
public function getApplicationDomain():ApplicationDomain
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns the applicationDomain of loaded display object.
ApplicationDomain — The applicationDomain of loaded display object.
|
| getGraphicLoader | () | method |
public function getGraphicLoader():GraphicLoader
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns the graphic loader object carried by this event.
ReturnsGraphicLoader —
The graphic loader value carried by this event.
|
| getView | () | method |
public function getView():DisplayObjectContainer
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns the display object carried by this event.
ReturnsDisplayObjectContainer — The display object carried by this event.
|
| onLoadErrorEVENT | constant |
public static const onLoadErrorEVENT:String = "onLoadError"
| 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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getGraphicLoader()
| The loader object |
| onLoadInitEVENT | constant |
public static const onLoadInitEVENT:String = "onLoadInit"
| 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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getGraphicLoader()
| The loader object |
getView()
| The loaded file content |
| onLoadProgressEVENT | constant |
public static const onLoadProgressEVENT:String = "onLoadProgress"
| 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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getGraphicLoader()
| The loader object |
| onLoadStartEVENT | constant |
public static const onLoadStartEVENT:String = "onLoadStart"
| 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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getGraphicLoader()
| The loader object |
| onLoadTimeOutEVENT | constant |
public static const onLoadTimeOutEVENT:String = "onLoadTimeOut"
| 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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getGraphicLoader()
| The loader object |