My account  |  Support  |  Shopping Cart
Jumpeye Components, V3 Flash Components, Flash Components Pro, Flash V3 Components

Loader Pro V3 Properties



Properties | Methods | Events | XML

Most these properties can also be set from XML, using the xmlPath optional parameter. They can also be set in the Component Inspector (Alt + F7)

 
Property Type/
Component Inspector
Description
xmlPath String
Yes
Optional parameter, sets the path to a XML file that can configure the Loader Pro v3. If the xmlPath is set, all parameters set from script or Component Inspector will be overwritten by their correspondents from XML.
Usage:
loaderInstance.xmlPath = "config/loaderConfig.xml"
contentPath String
Yes
Sets the path of the visual object to be loaded. It can be either a linkage movieclip id, an external swf, jpg, gif, png.
Note: Set this parameter only after you set all other parameters.
Usage:
loaderInstance.contentPath = "myImage.jpg"
builtInPreloader String
Yes
Sets the type of the bulit-in preloader/progress display. Values:[bar, line, circle, none] Default: none
Usage:
loaderInstance.builtInPreloader="bar"
preloaderColor Number
Yes
Sets the color of the built-in preloader and percentage. Default: 0xFFFFFF
Usage:
loaderInstance.preloaderColor = 0xFACC00
showPercentage Boolean
Yes
Sets the visible property of the bulit-in percentage display. Default: false
Usage:
loaderInstance.showPercentage=true
scaleMode String
Yes
The mode of the scaling applied to the content in rapport with the sizes of the loader. Values:[scale, resize, crop, scaleCrop, none] Default: resize
Usage:
loaderInstance.scaleMode="scale"
valign String
Yes
The type of vertical alignment. Values:[top, middle, bottom] Default: middle
Usage:
loaderInstance.valign="middle"
halign String
Yes
The type of horizontal alignment. Values:[left, center, right] Default: center
Usage:
loaderInstance.halign="center"
transitionType String
Yes
The type of the transition that will apply when content is loaded. Values:[fade, alpha, none, MCTE, MCTEfade] Use MCTE when using the MCTE V3 along with the Loader Pro V3. Default: none
Usage:
loaderInstance.transitionType="fade"
delay Number
Yes
The number of seconds until the transition is over. Default:1
Usage:
loaderInstance.delay=2.5
width Number
No
Used to resize the loader's width in runtime without affecting the _xscale of the loader. The loader will than align and resize (if needed) the content in order to show the new size.
Usage:
loaderInstance.width=200
height Number
No
Used to resize the loader's height in runtime without affecting the _yscale of the loader. The loader will than align and resize (if needed) the content in order to show the new size.
Usage:
loaderInstance.height=120
content MovieClip
No
Used to get reference the content loaded inside the Loader Pro V3 (the content property cannot be written, it is read only, the content changes every time the loader loads a new contentPath)
Usage:
loaderInstance.content

Properties | Methods | Events | XML


Menu

Special Offer

Special Offer - All in one Jumpeye Components bundle!

Get the JC Master Collection Now!

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign