패키지 | mx.preloaders |
인터페이스 | public interface IPreloaderDisplay extends IEventDispatcher |
구현자 | DownloadProgressBar, SparkDownloadProgressBar, SplashScreen |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
관련 API 요소
속성 | 정의 주체 | ||
---|---|---|---|
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 [쓰기 전용]
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 |
메서드 | 정의 주체 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | IEventDispatcher | ||
이벤트를 이벤트 흐름으로 전달합니다. | IEventDispatcher | ||
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | IEventDispatcher | ||
Called by the Preloader after the download progress bar
has been added as a child of the Preloader. | IPreloaderDisplay | ||
EventDispatcher 객체에서 리스너를 제거합니다. | IEventDispatcher | ||
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | IEventDispatcher |
backgroundAlpha | 속성 |
backgroundAlpha:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
구현
public function get backgroundAlpha():Number
public function set backgroundAlpha(value:Number):void
backgroundColor | 속성 |
backgroundColor:uint
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
구현
public function get backgroundColor():uint
public function set backgroundColor(value:uint):void
backgroundImage | 속성 |
backgroundImage:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
구현
public function get backgroundImage():Object
public function set backgroundImage(value:Object):void
backgroundSize | 속성 |
backgroundSize:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
구현
public function get backgroundSize():String
public function set backgroundSize(value:String):void
preloader | 속성 |
stageHeight | 속성 |
stageWidth | 속성 |
initialize | () | 메서드 |
public function initialize():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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, 03:17 PM Z