| Pakiet | mx.preloaders |
| Interfejs | public interface IPreloaderDisplay extends IEventDispatcher |
| Implementory | DownloadProgressBar, SparkDownloadProgressBar, SplashScreen |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Powiązane elementy interfejsu API
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
| 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 [tylko do zapisu]
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 | ||
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu. | IEventDispatcher | |
![]() |
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń. | IEventDispatcher | |
![]() |
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń. | IEventDispatcher | |
Called by the Preloader after the download progress bar
has been added as a child of the Preloader. | IPreloaderDisplay | ||
![]() |
Usuwa detektor z obiektu EventDispatcher. | IEventDispatcher | |
![]() |
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych. | IEventDispatcher | |
backgroundAlpha | właściwość |
backgroundAlpha:Number| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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.
Implementacja
public function get backgroundAlpha():Number public function set backgroundAlpha(value:Number):voidbackgroundColor | właściwość |
backgroundColor:uint| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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.
Implementacja
public function get backgroundColor():uint public function set backgroundColor(value:uint):voidbackgroundImage | właściwość |
backgroundImage:Object| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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.
Implementacja
public function get backgroundImage():Object public function set backgroundImage(value:Object):voidbackgroundSize | właściwość |
backgroundSize:String| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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.
Implementacja
public function get backgroundSize():String public function set backgroundSize(value:String):voidpreloader | właściwość |
preloader:Sprite [tylko do zapisu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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.
Implementacja
public function set preloader(value:Sprite):voidstageHeight | właściwość |
stageHeight:Number| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
The height of the stage, which is passed in by the Preloader class.
Implementacja
public function get stageHeight():Number public function set stageHeight(value:Number):voidstageWidth | właściwość |
initialize | () | metoda |
public function initialize():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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, 12:06 PM Z
Ukryj dziedziczone metody publiczne
Pokaż dziedziczone metody publiczne