Events Summary |
| progressStatus |
| This event informs about the progress of loaded object
|
|
|
progressComplete |
|
This event is received only one, when the source was 100% loaded
|
|
| loadingError |
|
This event is dispatched when an error occurs.
|
|
Property Summary |
public
| resizeLoadedHeight: Number (read, write) |
| The value of the height the loaded object will be resized to must be 0 to leave the original height
|
|
public
| resizeLoadedWidth: Number (read, write) |
| The value of the width the loaded object will be resized to must be 0 to leave the original width
|
|
public
| skinSwf: String (read, write) |
| String name of the skin symbol for loading animatio in the library This animation is played according to the loading progress in progressive mode or is simple cycled in cyclic mode
|
|
public
| skinType: String (read, write) |
| The type of loading animation can be eaither progressive or cyclic
|
|
public
| source: String (read, write) |
| Spicifies the source swf or image to load Can be relative or full path to the source file
|
|
public
| target: MovieClip (read, write) |
| Specifies movieclip contianer where the source object will be loaded into. If not specified, container is automatically created
|
|
Constructor |
public
| Preloader (
)
|
|
|
|
Method Summary |
public
| getProgress (
): Number |
|
Returns the current loading progress
|
|
public
| load (
) |
| Start loading the source into specified target. Source must be specified beforehaed
|
|
|