패키지 | mx.events |
클래스 | public class RSLEvent |
상속 | RSLEvent ProgressEvent Event Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
관련 API 요소
속성 | 정의 주체 | ||
---|---|---|---|
bubbles : Boolean [읽기 전용]
이벤트가 버블링 이벤트인지 여부를 나타냅니다. | Event | ||
bytesLoaded : Number
리스너가 이벤트를 처리할 때 로드된 항목 수 또는 바이트 수입니다. | ProgressEvent | ||
bytesTotal : Number
로드 프로세스가 완료되면 로드될 총 바이트 수 또는 항목 수입니다. | ProgressEvent | ||
cancelable : Boolean [읽기 전용]
해당 이벤트와 연관된 비헤이비어를 차단할 수 있는지 여부를 나타냅니다. | Event | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
currentTarget : Object [읽기 전용]
이벤트 리스너를 통해 Event 객체를 처리하고 있는 객체입니다. | Event | ||
errorText : String
The error message if the type is RSL_ERROR; otherwise, it is null;
| RSLEvent | ||
eventPhase : uint [읽기 전용]
이벤트 흐름에서 현재 단계입니다. | Event | ||
isResourceModule : Boolean
True if the event is for loading a resourceModule instead of an RSL
| RSLEvent | ||
loaderInfo : LoaderInfo
The LoaderInfo object associated with this event. | RSLEvent | ||
rslIndex : int
The index number of the RSL currently being downloaded. | RSLEvent | ||
rslTotal : int
The total number of RSLs being downloaded by the preloader
| RSLEvent | ||
target : Object [읽기 전용]
이벤트 대상입니다. | Event | ||
type : String [읽기 전용]
이벤트 유형입니다. | Event | ||
url : URLRequest
The URLRequest object that represents the location
of the RSL being downloaded. | RSLEvent |
메서드 | 정의 주체 | ||
---|---|---|---|
RSLEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, bytesLoaded:int = -1, bytesTotal:int = -1, rslIndex:int = -1, rslTotal:int = -1, url:URLRequest = null, errorText:String = null, isResourceModule:Boolean = false, loaderInfo:LoaderInfo = null)
Constructor. | RSLEvent | ||
[재정의]
ProgressEvent 객체의 복사본을 하나 만들고 각 속성의 값을 원본과 동일하게 설정합니다. | ProgressEvent | ||
사용자 정의 ActionScript 3.0 Event 클래스에서 toString() 메서드를 구현하기 위한 유틸리티 함수입니다. | Event | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
이벤트에서 preventDefault() 메서드가 호출되었는지 여부를 확인합니다. | Event | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
이벤트의 기본 비헤이비어를 취소할 수 있는 경우, 그 비헤이비어를 취소합니다. | Event | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
이벤트 흐름에서 현재 노드 및 그 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
이벤트 흐름에서 현재 노드의 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
[재정의]
ProgressEvent 객체의 속성이 모두 포함된 문자열을 반환합니다. | ProgressEvent | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
상수 | 정의 주체 | ||
---|---|---|---|
RSL_ADD_PRELOADED : String = "rslAddPreloaded" [정적]
The RSLEvent.RSL_ADD_PRELOADED constant defines the value of the
type property of the event object for an
rslAddPreloaded event. | RSLEvent | ||
RSL_COMPLETE : String = "rslComplete" [정적]
Dispatched when the RSL has finished downloading. | RSLEvent | ||
RSL_ERROR : String = "rslError" [정적]
Dispatched when there is an error downloading the RSL. | RSLEvent | ||
RSL_PROGRESS : String = "rslProgress" [정적]
Dispatched when the RSL is downloading. | RSLEvent |
errorText | 속성 |
public var errorText:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The error message if the type is RSL_ERROR; otherwise, it is null;
isResourceModule | 속성 |
public var isResourceModule:Boolean
True if the event is for loading a resourceModule instead of an RSL
loaderInfo | 속성 |
public var loaderInfo:LoaderInfo
The LoaderInfo object associated with this event. This is only set in the RSLEvent.RSL_COMPLETE event. Otherwise loaderInfo will be null.
rslIndex | 속성 |
public var rslIndex:int
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The index number of the RSL currently being downloaded.
This is a number between 0 and rslTotal - 1
.
rslTotal | 속성 |
public var rslTotal:int
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The total number of RSLs being downloaded by the preloader
url | 속성 |
public var url:URLRequest
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The URLRequest object that represents the location of the RSL being downloaded.
RSLEvent | () | 생성자 |
public function RSLEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, bytesLoaded:int = -1, bytesTotal:int = -1, rslIndex:int = -1, rslTotal:int = -1, url:URLRequest = null, errorText:String = null, isResourceModule:Boolean = false, loaderInfo:LoaderInfo = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Constructor.
매개 변수type:String — The type of the event. Possible values are:
| |
bubbles:Boolean (default = false ) — Determines whether the Event object participates in the bubbling stage of the event flow.
| |
cancelable:Boolean (default = false ) — Determines whether the Event object can be cancelled.
| |
bytesLoaded:int (default = -1 ) — The number of bytes loaded at the time the listener processes the event.
| |
bytesTotal:int (default = -1 ) — The total number of bytes that will ultimately be loaded if the loading process succeeds.
| |
rslIndex:int (default = -1 ) — The index number of the RSL relative to the total. This should be a value between 0 and total - 1 .
| |
rslTotal:int (default = -1 ) — The total number of RSLs being loaded.
| |
url:URLRequest (default = null ) — The location of the RSL.
| |
errorText:String (default = null ) — The error message of the error when type is RSLEvent.RSL_ERROR.
| |
isResourceModule:Boolean (default = false ) — True if the event occurred when loading a ResourceModule.
| |
loaderInfo:LoaderInfo (default = null ) — The LoaderInfo object associated with this event.
|
RSL_ADD_PRELOADED | 상수 |
public static const RSL_ADD_PRELOADED:String = "rslAddPreloaded"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4.5 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The RSLEvent.RSL_ADD_PRELOADED
constant defines the value of the
type
property of the event object for an
rslAddPreloaded
event. This event is dispatched from an
IFlexModuleFactory after a child IFlexModuleFactory preloads an RSL
into its application domain.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
loaderInfo | The LoaderInfo instance associated with this RSL. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
RSL_COMPLETE | 상수 |
public static const RSL_COMPLETE:String = "rslComplete"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Dispatched when the RSL has finished downloading.
The RSLEvent.RSL_COMPLETE
constant defines the value of the
type
property of the event object for a rslComplete
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
bytesLoaded | The number of bytes loaded. |
bytesTotal | The total number of bytes to load. |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
errorText | Empty |
isResourceModule | True if we loaded a resourceModule instead of an RSL |
rslIndex | The index number of the RSL currently being downloaded. |
rslTotal | The total number of RSLs being downloaded. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
url | The URLRequest object that represents the location of the RSL being downloaded. |
RSL_ERROR | 상수 |
public static const RSL_ERROR:String = "rslError"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Dispatched when there is an error downloading the RSL.
The RSLEvent.RSL_ERROR
constant defines the value of the
type
property of the event object for a rslError
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
bytesLoaded | Empty |
bytesTotal | Empty |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
errorText | |
isResourceModule | True if we loaded a resourceModule instead of an RSL |
rslIndex | The index number of the RSL currently being downloaded. |
rslTotal | The total number of RSLs being downloaded. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
url | The URLRequest object that represents the location of the RSL being downloaded. |
RSL_PROGRESS | 상수 |
public static const RSL_PROGRESS:String = "rslProgress"
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Dispatched when the RSL is downloading.
The RSLEvent.RSL_PROGRESS
constant defines the value of the
type
property of the event object for a rslProgress
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
bytesLoaded | The number of bytes loaded. |
bytesTotal | The total number of bytes to load. |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
errorText | |
isResourceModule | True if we loaded a resourceModule instead of an RSL |
rslIndex | The index number of the RSL currently being downloaded. |
rslTotal | The total number of RSLs being downloaded. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
url | The URLRequest object that represents the location of the RSL being downloaded. |
Tue Jun 12 2018, 03:17 PM Z