The SplashScreen class is the default preloader for Mobile Flex applications.
Developers can specify image class and resize mode through the Application properties
splashScreenImage, splashScreenScaleMode and
splashScreenMinimumDisplayTime.
The SplashScreen monitors device orientation and updates the image so that it
appears on screen as if the orientation is always StageOrientation.DEFAULT.
Called by the Preloader after the download progress bar
has been added as a child of the Preloader.
SplashScreen
Property Detail
preloader
property
preloader:Sprite [write-only]
Language Version :
ActionScript 3.0
Product Version :
Flex 4.5
Runtime Versions :
Flash Player 10, AIR 2.5
The Preloader class passes in a reference to itself to the display class
so that it can listen for events from the preloader.
Implementation public function set preloader(value:Sprite):void
stageHeight
property
stageHeight:Number
Language Version :
ActionScript 3.0
Product Version :
Flex 4.5
Runtime Versions :
Flash Player 10, AIR 2.5
The height of the stage,
which is passed in by the Preloader class.
Implementation public function get stageHeight():Number public function set stageHeight(value:Number):void
stageWidth
property
stageWidth:Number
Language Version :
ActionScript 3.0
Product Version :
Flex 4.5
Runtime Versions :
Flash Player 10, AIR 2.5
The width of the stage,
which is passed in by the Preloader class.
Implementation public function get stageWidth():Number public function set stageWidth(value:Number):void
Constructor Detail
SplashScreen
()
Constructor
public function SplashScreen()
Language Version :
ActionScript 3.0
Product Version :
Flex 4.5
Runtime Versions :
Flash Player 10, AIR 2.5
Constructor.
Method Detail
initialize
()
method
public function initialize():void
Language Version :
ActionScript 3.0
Product Version :
Flex 4.5
Runtime Versions :
Flash Player 10, AIR 2.5
Called by the Preloader after the download progress bar
has been added as a child of the Preloader.
This should be the starting point for configuring your download progress bar.