Use the SplashScreenImageSource class to specify a Class (typically an embedded image)
to be displayed as splash screen at a particular device configuration such as
DPI, orientation and resolution.
You typically use one or more SplashScreenImageSource
objects to define a SplashScreenImage class in MXML
and set the application's splashScreenImage property to that class.
Shown below is SplashScreenImage component with three different
definitions for SplashScreenImageSource:
The required aspect ratio of the mobile device.
This property can be either flash.display.StageAspectRatio.PORTRAIT
or flash.display.StageAspectRatio.LANDSCAPE.
If not set, then SplashScreenImage ignores this property.
See also
flash.display.StageAspectRatio
dpi
property
public var dpi:Number = NaN
Language Version :
ActionScript 3.0
Product Version :
Flex 4.6
Runtime Versions :
AIR 3
The required DPI of the device to display the associated image.
A value of NaN means the property is ignored by SplashScreenImage.
The default value is NaN.
minResolution
property
public var minResolution:Number = NaN
Language Version :
ActionScript 3.0
Product Version :
Flex 4.6
Runtime Versions :
AIR 3
The required minimum size of the mobile device's resolution needed
to display the image.
The device resolution is the maximum of the stage width and height, in pixels.
The value of the minResolution property is compared against the larger
of the values of the Stage.stageWidth and Stage.stageHeight properties.
The larger of the two values must be equal to or greater than the minResolution property.
You can use this property to display different images based on the pixel
resolution of a device.
A value of NaN means the property is ignored by the SplashScreenImage.
The default value is NaN.
source
property
public var source:Class
Language Version :
ActionScript 3.0
Product Version :
Flex 4.6
Runtime Versions :
AIR 3
The image class for the splash screen to use for the defined
device configuration.
Typically you set this property to an embedded resource.