10 July 2008 ~

Fullscreen Flex Preloader

This is a flex custom preloader made by extending the DownloadProgressBar class in the flex framework. The progress bar is a fullscreen sprite with a customizable color. You can also change the position and styles of the percentage textfield. See the below code to customize the preloader.

// Progress bar color
protected var barColor:uint = 0xE8D385;

/**
* The TextFormat of the percentage TextField
*/
protected function get percentTextFormat():TextFormat

/**
* Set the position of the percentage text.
*/
protected function setTextPosition(percentage:Number = 0):void

The below image is a screen shot of the preloader.

View Example | Source

Leave a Reply