Packageardisia.components.preloaders
Classpublic class BarPreloader
InheritanceBarPreloader Inheritance PreloaderBase Inheritance flash.display.Sprite

Basic preloader that fills a bar.

Deprecated because the Preloader is not reliable across browsers.



Public Properties
 PropertyDefined By
 InheritedbackgroundAlpha : Number
PreloaderBase
 InheritedbackgroundColor : uint
PreloaderBase
 InheritedbackgroundImage : Object
PreloaderBase
 InheritedbackgroundSize : String
PreloaderBase
 InheriteddelayAfterInitialization : int = 0
Delay after initialization before finishing.
PreloaderBase
 InheritedminimumDisplayTime : int = 300
The minimum time the preloader will be displayed.
PreloaderBase
 Inheritedpreloader : Sprite
[write-only] Called by the framework.
PreloaderBase
 InheritedstageHeight : Number
Stage height.
PreloaderBase
 InheritedstageWidth : Number
Stage width.
PreloaderBase
Public Methods
 MethodDefined By
 Inherited
initialize():void
Called by the framework.
PreloaderBase
Protected Methods
 MethodDefined By
 Inherited
PreloaderBase
  
drawBar(progress:Number, totalBytes:Number):void
Update the filled bar.
BarPreloader
 Inherited
preloaderInitHandler(event:Event):void
PreloaderBase
 Inherited
preloaderProgressHandler(event:Event):void
PreloaderBase
 Inherited
preloaderRSLHandler(event:Event):void
PreloaderBase
 Inherited
stageHandler(event:Event):void
PreloaderBase
 Inherited
PreloaderBase
Method Detail
drawBar()method
protected function drawBar(progress:Number, totalBytes:Number):void

Update the filled bar.

Parameters

progress:Number — Number
 
totalBytes:Number — Number