(Preview)
Package | spark.preloaders |
Class | public class SplashScreenImageSource |
Inheritance | SplashScreenImageSource ![]() |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.6 |
Runtime Versions: | AIR 3 |
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:
<?xml version="1.0" encoding="utf-8"?> <s:SplashScreenImage xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> <!-- Default splashscreen image. --> <s:SplashScreenImageSource source="@Embed('assets/logoDefault.jpg')"/> <s:SplashScreenImageSource source="@Embed('assets/logo240Portrait.jpg')" dpi="240" aspectRatio="portrait"/> <s:SplashScreenImageSource source="@Embed('assets/logo240Landscape.jpg')" dpi="240" aspectRatio="landscape"/> </s:SplashScreenImage>MXML Syntax

The <s:SplashScreenImageSource>
tag inherits all of the tag
attributes of its superclass and adds the following tag attributes:
<s:SplashScreenImageSource Properties aspectRatio="null" dpi="NaN" minResolution="NaN" source="null" >
Related API Elements
Public Properties
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object |
Public Methods
Method | Defined By | ||
---|---|---|---|
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object |
Wed Nov 21 2018, 06:34 AM -08:00