Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.5 |
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.
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: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: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
public function SplashScreen()
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.5 |
Constructor.
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.
Mon Jul 9 2012, 07:18 PM -04:00