Packagespark.preloaders
Classpublic class SplashScreen
InheritanceSplashScreen Inheritance flash.display.Sprite
Implements IPreloaderDisplay

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.

See also

spark.components.Application.splashScreenImage
spark.components.Application.splashScreenScaleMode
spark.components.Application.splashScreenMinimumDisplayTime


Public Properties
 PropertyDefined By
  preloader : Sprite
[write-only] The Preloader class passes in a reference to itself to the display class so that it can listen for events from the preloader.
SplashScreen
  stageHeight : Number
The height of the stage, which is passed in by the Preloader class.
SplashScreen
  stageWidth : Number
The width of the stage, which is passed in by the Preloader class.
SplashScreen
Public Methods
 MethodDefined By
  
Constructor.
SplashScreen
  
initialize():void
Called by the Preloader after the download progress bar has been added as a child of the Preloader.
SplashScreen
Property Detail
preloaderproperty
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
stageHeightproperty 
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
stageWidthproperty 
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.