preloaderText
autoStart
loaderBarColor
loaderBackgroundColor
loaderTextColor
loaderBarAlpha
loaderBackgroundAlpha
valign
halign
loaderVCustPos
loaderHCustPos
loaderLabelSpace
loaderLabelAlign
loaderStyle
loaderPrcntStep
showLoaderBar
showLoaderLabel
showLabelBorder
loaderWidth
loaderHeight
loaderLabelWidth
loaderCache
getFileBT
getFileBL
getFilePrcnt
getFileName
getTargetMovie
customPreloader
bounceDuration
showLabelBackground
labelBackgroundColor
labelFormat
loadFile
afterLoad
setStreaming
unloadFile
Sets the text for the preloader's label.Have several regular expressions:
%pl% - percents loaded
%bl% - bytes loaded
%bt% - bytes total
myLoader.preloaderTexttop
A Booloean value which indicates wether to start loading automatically or not.
myLoader.autoStart top
Sets the loader bar color.
myLoader.loaderBarColor top
Sets the loader background color.
myLoader.loaderBackgroundColor top
Sets loader's text color.
myLoader.loaderTextColor top
Sets the alpha of the loader.
myLoader.loaderBarAlphatop
Sets the alpha of the loader's background.
myLoader.loaderBackgroundAlphatop
Iindicates the vertical alignment of the preloader, represented as a string. If "top", the preloader is top-aligned. If "center", the preloader is centered. If "bottom", the preloader is bottom-aligned. if "custom", the preloader is aligned to the values set by loaderVCustPos. The default value is "top".
myLoader.valigntop
Indicates the horizontal alignment of the preloader, represented as a string. If "left", the preloader is left-aligned. If "center", the preloader is centered. If "right", the preloader is right-aligned. if "custom", the preloader is aligned to the value set by loaderHCustPos. The default value is "left".
myLoader.haligntop
Sets the custom vertical position of the preloader.
myLoader.loaderVCustPostop
Sets the custom horizontal position of the preloader.
myLoader.loaderHCustPostop
Sets the vertical space between preloader bar and text label.
myLoader.loaderLabelSpacetop
Vertical align of the loader label. (above/below the preloader bar)
myLoader.loaderLabelAligntop
Sets different styles for preloader bar. The options are "basic", "bounce", "thermo", "pie", "equalize", "glass", "fill", "custom".
myLoader.loaderStyletop
Step to display the progress in the preloader bar while loading the content.
myLoader.loaderPrcntSteptop
A Boolean value shows/hides preloader bar.
myLoader.showLoaderBartop
A Boolean value shows/hides preloader label.
myLoader.showLoaderLabeltop
a Boolean value shows/hides preloader text's border.
myLoader.showLabelBordertop
Width/scaleX of the preloader bar(scaleX is for glass and thermo styles, diameter is for pie style)
myLoader.loaderWidthtop
Height/scaleY of the preloader bar(scaleY is for glass and thermo styles)
myLoader.loaderHeighttop
Width of the label text field.
myLoader.loaderLabelWidthtop
A Boolean value which indicates wether to cache the loaded file or not.
myLoader.loaderCachetop
A read-only property. Returns the total bytes of a file inside a custom preloader function.
myLoader.getFileBTtop
A read-only property. Returns the loaded bytes of a file inside a custom preloader function.
myLoader.getFileBLtop
A read-only property. Returns the loaded percents of a file inside a custom preloader function.
myLoader.getFilePrcnttop
A read-only property. Returns the file name inside a custom preloader function.
myLoader.getFileNametop
A read-only property. Returns the target movieclip object inside a custom preloader function.
myLoader.getTargetMovietop
Executes the defined function. You can use this handler if you want to create a custom preloader for your uniLoader. Will be executed only if the loaderStyle is set to "custom".
myLoader.customPreloadertop
Specifies the duration of the motion.
myLoader.bounceDurationtop
A Boolean value shows/hides preloader label background.
myLoader.showLabelBackgroundtop
Sets the label background color.
myLoader.labelBackgroundColortop
METHODS
loads the file. This is very similar to the loadMovie method.
myLoader.loadFile("my_image.jpg", trgt, "jpg");
top
Sets the action after loading the content.
myLoader.afterLoad(type_of_action, value);
Parameters
Type of action - several options - "play", "nextFrame", "gotoAndStop", "gotoAndPlay", "handler"
Value - could be frame label, frame number or handler name.
Sets the streaming properties.
myLoader.setStreaming(type_of_stream, value);
Parameters
Type of stream - several options - "loadUpToFrame", "bytesToLoad", "prcntToLoad", "fullLoad"
Value - could be number of frames, number of bytes, or percentage number.
Please note that setStreaming method is not working when preloading AS2.0 movies.
topunloadFile function is used for unloading preloaded SWFs and JPEGs and for interrupting the preload process.
myLoader.unloadFile();top
Property; Sets the format of the uniLoader's label.
myLoader.labelFormat:TextFormattop