| Property | Contructor | Method Detail: Events | Property | Contructor | Method
com.Preloaderz

class Preloader

MovieClip
  |
  +--com.Preloaderz.Preloader


class Preloader
extends MovieClip



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



Events Documentation

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 Documentation

resizeLoadedHeight

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

resizeLoadedWidth

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

skinSwf

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

skinType

public skinType: String (read, write)
The type of loading animation can be eaither progressive or cyclic

source

public source: String (read, write)
Spicifies the source swf or image to load Can be relative or full path to the source file

target

public target: MovieClip (read, write)
Specifies movieclip contianer where the source object will be loaded into. If not specified, container is automatically created


Constructor Documentation

Preloader

public function Preloader()

Method Documentation

getProgress

public function getProgress(): Number
Returns the current progress value.

load

public function load()
Start loading the source into specified target. Source must be specified beforehaed


Copyright (c) 2009, Preloaderz http://Preloaderz.com