| Paket | mx.preloaders |
| Gränssnitt | public interface IPreloaderDisplay extends IEventDispatcher |
| Implementorer | DownloadProgressBar, SparkDownloadProgressBar, SplashScreen |
| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Relaterade API-element
| Egenskap | Definieras med | ||
|---|---|---|---|
| backgroundAlpha : Number
Alpha level of the SWF file or image defined by
the backgroundImage property, or the color defined by
the backgroundColor property. | IPreloaderDisplay | ||
| backgroundColor : uint
Background color of a download progress bar. | IPreloaderDisplay | ||
| backgroundImage : Object
The background image of the application,
which is passed in by the preloader. | IPreloaderDisplay | ||
| backgroundSize : String
Scales the image specified by backgroundImage
to different percentage sizes. | IPreloaderDisplay | ||
| preloader : Sprite [lässkyddad]
The Preloader class passes in a reference to itself to the display class
so that it can listen for events from the preloader. | IPreloaderDisplay | ||
| stageHeight : Number
The height of the stage,
which is passed in by the Preloader class. | IPreloaderDisplay | ||
| stageWidth : Number
The width of the stage,
which is passed in by the Preloader class. | IPreloaderDisplay | ||
| Metod | Definieras med | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | IEventDispatcher | |
![]() |
Skickar en händelse till händelseflödet. | IEventDispatcher | |
![]() |
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | IEventDispatcher | |
Called by the Preloader after the download progress bar
has been added as a child of the Preloader. | IPreloaderDisplay | ||
![]() |
Tar bort en avlyssnare från EventDispatcher-objektet. | IEventDispatcher | |
![]() |
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | IEventDispatcher | |
backgroundAlpha | egenskap |
backgroundAlpha:Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Alpha level of the SWF file or image defined by
the backgroundImage property, or the color defined by
the backgroundColor property.
Valid values range from 0 to 1.0.
You can specify either a backgroundColor
or a backgroundImage, but not both.
Implementering
public function get backgroundAlpha():Number public function set backgroundAlpha(value:Number):voidbackgroundColor | egenskap |
backgroundColor:uint| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Background color of a download progress bar.
You can have either a backgroundColor or a
backgroundImage, but not both.
Implementering
public function get backgroundColor():uint public function set backgroundColor(value:uint):voidbackgroundImage | egenskap |
backgroundImage:Object| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The background image of the application,
which is passed in by the preloader.
You can specify either a backgroundColor
or a backgroundImage, but not both.
A value of null means "not set".
If this style and the backgroundColor style are undefined,
the component has a transparent background.
The preloader does not display embedded images. You can only use images loaded at runtime.
Implementering
public function get backgroundImage():Object public function set backgroundImage(value:Object):voidbackgroundSize | egenskap |
backgroundSize:String| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Scales the image specified by backgroundImage
to different percentage sizes.
A value of "100%" stretches the image
to fit the entire component.
To specify a percentage value, you must include the percent sign (%).
A value of "auto", maintains
the original size of the image.
Implementering
public function get backgroundSize():String public function set backgroundSize(value:String):voidpreloader | egenskap |
preloader:Sprite [lässkyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The Preloader class passes in a reference to itself to the display class so that it can listen for events from the preloader.
Implementering
public function set preloader(value:Sprite):voidstageHeight | egenskap |
stageWidth | egenskap |
initialize | () | metod |
public function initialize():void| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
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.
Tue Jun 12 2018, 01:40 PM Z
Dölj ärvda publika metoder
Visa ärvda publika metoder