다음 표는 ActionScript 2.0과 3.0의 차이점을 설명합니다.
| ActionScript 2.0 | ActionScript 3.0 | 주석 | |
|---|---|---|---|
| Accessibility class | flash.accessibility.Accessibility | ||
| isActive() | flash.accessibility.Accessibility.active | 함수에서 접근자 속성으로 변경되었습니다. 이름이 isActive에서 active로 변경되었습니다. |
|
| updateProperties() | flash.accessibility.Accessibility.updateProperties() | ||
| arguments class | arguments | ||
| caller | 제거됨 | 호출자 함수에서 arguments.callee를 피호출자 함수에게 인수로 전달하여 동일한 기능을 수행할 수 있습니다. 예제를 보려면 arguments.callee의 예제 부분을 참조하십시오. |
|
| Array class | |||
| CASEINSENSITIVE | Array.CASEINSENSITIVE | 데이터 유형이 uint로 변경되었습니다. | |
| DESCENDING | Array.DESCENDING | 데이터 유형이 uint로 변경되었습니다. | |
| length | Array.length | 데이터 유형이 uint로 변경되었습니다. | |
| NUMERIC | Array.NUMERIC | 데이터 유형이 uint로 변경되었습니다. | |
| RETURNINDEXEDARRAY | Array.RETURNINDEXEDARRAY | 데이터 유형이 uint로 변경되었습니다. | |
| UNIQUESORT | Array.UNIQUESORT | 데이터 유형이 uint로 변경되었습니다. | |
| Array | Array.Array() | ...(rest) 매개 변수 포맷을 사용할 수 있도록 매개 변수가 변경되었습니다. | |
| push() | Array.push() | ...(rest) 매개 변수 포맷을 사용할 수 있도록 매개 변수가 변경되었습니다. | |
| sort() | Array.sort() | options 매개 변수의 데이터 유형이 uint로 변경되었습니다. |
|
| sortOn() | Array.sortOn() | options 매개 변수의 데이터 유형이 uint로 변경되었습니다. 또한 기능이 추가된 ActionScript 3.0 버전에서는 fieldName 매개 변수에 객체 배열을 전달하여 2개 이상의 필드 이름을 정렬할 수 있으며, options 매개 변수에 객체 배열과 크기가 동일한 옵션 플래그 배열을 전달한 경우에는 정렬 필드와 options 매개 변수의 값이 하나씩 쌍을 이루어 처리됩니다. |
|
| splice() | Array.splice() | 모든 데이터 유형의 매개 변수를 사용할 수 있지만 주로 사용하는 데이터 유형은 int 및 uint입니다. value 매개 변수가 (rest) 매개 변수 포맷으로 변경되었습니다. |
|
| unshift() | Array.unshift() | value 매개 변수가 (rest) 포맷으로 변경되었습니다. 반환값의 데이터 유형이 uint로 변경되었습니다. |
|
| AsBroadcaster class | flash.events.EventDispatcher | ||
| _listeners | flash.events.EventDispatcher.willTrigger() | 직접 대응되지 않습니다. willTrigger() 메서드는 리스너의 등록 여부를 반환하지만 등록된 리스너의 수를 반환하지는 않습니다. |
|
| addListener() | flash.events.EventDispatcher.addEventListener() | ActionScript 3.0 이벤트 모델에서는 이벤트 리스너를 브로드캐스팅 객체뿐만 아니라 이벤트 흐름 내의 어느 객체에나 추가할 수 있으므로 직접 대응되지는 않습니다. | |
| broadcastMessage() | flash.events.EventDispatcher.dispatchEvent() | ActionScript 3.0 이벤트 모델은 다르게 작동하므로 직접 대응되지는 않습니다. dispatchEvent() 메서드는 이벤트 객체를 이벤트 흐름으로 전달하지만 broadcastMessage() 메서드는 등록된 각 리스너 객체로 메시지를 직접 보냅니다. |
|
| initialize() | 제거됨 | ActionScript 3.0에 직접 해당하는 항목이 없지만 EventDispatcher 클래스를 하위 클래스화하여 비슷한 기능을 수행할 수 있습니다. 예를 들어, DisplayObject 클래스가 EventDispatcher를 확장하므로 DisplayObject 및 DisplayObject 하위 클래스의 모든 인스턴스가 이벤트 객체를 보내고 받을 수 있습니다. | |
| removeListener() | flash.events.EventDispatcher.removeEventListener() | ActionScript 3.0 이벤트 모델에서는 이벤트 리스너를 브로드캐스팅 객체뿐만 아니라 이벤트 흐름 내의 어느 객체에나 추가 및 제거할 수 있으므로 직접 대응되지는 않습니다. | |
| BitmapData class | flash.display.BitmapData | ActionScript 3.0에서는 사용할 채널을 나타내는 상수 열거형으로 BitmapDataChannel 클래스를 사용합니다. | |
| height | flash.display.BitmapData.height | 데이터 유형이 Number에서 int로 변경되었습니다. | |
| rectangle | flash.display.BitmapData.rect | API의 다른 멤버와의 일관성을 위해 속성의 이름이 변경되었습니다. | |
| width | flash.display.BitmapData.width | 데이터 유형이 Number에서 int로 변경되었습니다. | |
| copyChannel() | flash.display.BitmapData.copyChannel() | sourceChannel 및 destChannel 매개 변수의 데이터 유형이 uint로 변경되었습니다. |
|
| draw() | flash.display.BitmapData.draw() | source 매개 변수가 IBitmapDrawable로 변경되었고 DisplayObject 및 BitmapData 모두에서 IBitmapDrawable 인터페이스를 구현하므로 DisplayObject 또는 BitmapData 객체를 source 매개 변수로 전달할 수 있습니다. |
|
| fillRect() | flash.display.BitmapData.fillRect() | color 매개 변수가 uint 값으로 변경되었습니다. |
|
| floodFill() | flash.display.BitmapData.floodFill() | x 및 y 매개 변수에 int 값을 전달하고 color에 uint 값을 전달해야 합니다. |
|
| getColorBoundsRect() | flash.display.BitmapData.getColorBoundsRect() | mask 및 color 매개 변수에 uint 값을 전달해야 합니다. |
|
| getPixel() | flash.display.BitmapData.getPixel() | int 매개 변수 값을 전달받고 uint 값을 반환합니다. |
|
| getPixel32() | flash.display.BitmapData.getPixel32() | int 매개 변수 값을 전달받고 uint 값을 반환합니다. |
|
| hitTest() | flash.display.BitmapData.hitTest() | firstAlphaThreshold 및 secondAlphaThreshold 매개 변수에 uint 값을 전달해야 합니다. |
|
| loadBitmap() | 제거됨 | ActionScript 3.0에서 새 비트맵이 지원되기 때문에 이 기능이 더 이상 필요하지 않습니다. | |
| merge() | flash.display.BitmapData.merge() | 승수 매개 변수에 uint 값을 전달해야 합니다. | |
| noise() | flash.display.BitmapData.noise() | randomSeed 매개 변수에 int 값을 전달하고 low, high 및 channelOptions 매개 변수에 uint 값을 전달해야 합니다. |
|
| perlinNoise() | flash.display.BitmapData.perlinNoise() | randomSeed 매개 변수에 int 값을 전달하고 numOctaves 및 channelOptions 매개 변수에 uint 값을 전달해야 합니다. |
|
| pixelDissolve() | flash.display.BitmapData.pixelDissolve() | randomSeed 및 numPixels 매개 변수에 int 값을 전달하고 fillColor 매개 변수에 uint 값을 전달해야 합니다. numPixels 매개 변수는 ActionScript 2.0에서 이름이 numberOfPixels입니다. |
|
| scroll() | flash.display.BitmapData.scroll() | x 및 y 매개 변수에 int 값을 전달해야 합니다. |
|
| setPixel() | flash.display.BitmapData.setPixel() | x 및 y 매개 변수에 int 값을 전달하고 color에 uint 값을 전달해야 합니다. |
|
| setPixel32() | flash.display.BitmapData.setPixel32() | x 및 y 매개 변수에 int 값을 전달하고 color에 uint 값을 전달해야 합니다. |
|
| threshold() | flash.display.BitmapData.threshold() | threshold, color, 및 mask 매개 변수에 uint 값을 전달받고 uint 값을 반환합니다. |
|
| BlurFilter class | |||
| quality | flash.filters.BlurFilter.quality | quality 속성 데이터 유형이 Number에서 uint로 변경되었습니다. |
|
| Button class | flash.display.SimpleButton | ||
| _alpha | flash.display.DisplayObject.alpha | ||
| blendMode | flash.display.DisplayObject.blendMode | ||
| cacheAsBitmap | flash.display.DisplayObject.cacheAsBitmap | ||
| enabled | flash.display.SimpleButton.enabled | ||
| filters | flash.display.DisplayObject.filters | ActionScript 3.0에서 이 속성의 데이터 유형은 Array입니다. | |
| _focusrect | flash.display.InteractiveObject.focusRect | ||
| _height | flash.display.DisplayObject.height | ||
| _highquality | 제거됨 | Stage.quality를 참조하십시오. | |
| _name | flash.display.DisplayObject.name | ||
| _parent | flash.display.DisplayObject.parent | ||
| _quality | 제거됨 | flash.display.Stage.quality를 사용하여 모든 표시 객체의 렌더링 품질을 설정할 수 있습니다. |
|
| _rotation | flash.display.DisplayObject.rotation | ||
| scale9Grid | flash.display.DisplayObject.scale9Grid | ||
| _soundbuftime | flash.media.SoundMixer.bufferTime | 전역 사운드 컨트롤에 사용되는 SoundMixer 클래스로 옮겨졌습니다. 이름이 변경되었으며 약어는 사용되지 않습니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| tabEnabled | flash.display.InteractiveObject.tabEnabled | ||
| tabIndex | flash.display.InteractiveObject.tabIndex | ||
| _target | 제거됨 | ActionScript 3.0에서는 표시 객체를 직접 식별하므로 더 이상 경로로 표시 객체를 식별할 필요가 없습니다. | |
| trackAsMenu | flash.display.SimpleButton.trackAsMenu | ||
| _url | 제거됨 | DisplayObject.loaderInfo.url을 참조하십시오. | |
| useHandCursor | flash.display.SimpleButton.useHandCursor | ||
| _visible | flash.display.DisplayObject.visible | ||
| _width | flash.display.DisplayObject.width | ||
| _x | flash.display.DisplayObject.x | ||
| _xmouse | flash.display.DisplayObject.mouseX | ||
| _xscale | flash.display.DisplayObject.scaleX | ||
| _y | flash.display.DisplayObject.y | ||
| _ymouse | flash.display.DisplayObject.mouseY | ||
| _yscale | flash.display.DisplayObject.scaleY | ||
| getDepth() | flash.display.DisplayObjectContainer.getChildIndex() | ActionScript 3.0에서는 표시 목록에 직접 액세스하여 기존 방법과는 다른 방법으로 심도를 처리할 수 있습니다. | |
| onDragOut() | flash.display.InteractiveObject dispatches event: mouseOut | 새 이벤트 모델에서 mouseOut 이벤트로 대체되었습니다. |
|
| onDragOver() | flash.display.InteractiveObject dispatches event: mouseOver | 새 이벤트 모델에서 mouseOver 이벤트로 대체되었습니다. |
|
| onKeyDown() | flash.display.InteractiveObject dispatches event: keyDown | 새 이벤트 모델에서 keyDown 이벤트로 대체되었습니다. |
|
| onKeyUp() | flash.display.InteractiveObject dispatches event: keyUp | 새 이벤트 모델에서 keyUp 이벤트로 대체되었습니다. |
|
| onKillFocus() | flash.display.InteractiveObject dispatches event: focusOut | 새 이벤트 모델에서 focusOut 이벤트로 대체되었습니다. |
|
| onPress() | flash.display.InteractiveObject dispatches event: mouseDown | 새 이벤트 모델에서 mouseDown 이벤트로 대체되었습니다. |
|
| onRelease() | flash.display.InteractiveObject dispatches event: mouseUp | 새 이벤트 모델에서 mouseUp 이벤트로 대체되었습니다. |
|
| onReleaseOutside() | flash.display.InteractiveObject dispatches event: mouseUp | 새 이벤트 모델에서 mouseUp 이벤트로 대체되었습니다. |
|
| onRollOut() | flash.display.InteractiveObject dispatches event: mouseOut | 새 이벤트 모델에서 mouseOut 이벤트로 대체되었습니다. |
|
| onRollOver() | flash.display.InteractiveObject dispatches event: mouseOver | 새 이벤트 모델에서 mouseOver 이벤트로 대체되었습니다. |
|
| onSetFocus() | flash.display.InteractiveObject dispatches event: focusIn | 새 이벤트 모델에서 focusIn 이벤트로 대체되었습니다. |
|
| Camera class | flash.media.Camera | ||
| activityLevel | flash.media.Camera.activityLevel | ||
| bandwidth | flash.media.Camera.bandwidth | ||
| currentFps | flash.media.Camera.currentFPS | FPS의 대소문자 표기가 변경되었습니다. | |
| fps | flash.media.Camera.fps | ||
| height | flash.media.Camera.height | 데이터 유형이 Number에서 int로 변경되었습니다. | |
| index | flash.media.Camera.index | 데이터 유형이 String에서 int로 변경되었습니다. | |
| motionLevel | flash.media.Camera.motionLevel | 데이터 유형이 Number에서 int로 변경되었습니다. | |
| motionTimeOut | flash.media.Camera.motionTimeout | 데이터 유형이 Number에서 int로 변경되었습니다. 대/소문자 표기가 motionTimeout으로 변경되었습니다. |
|
| muted | flash.media.Camera.muted | ||
| name | flash.media.Camera.name | ||
| names | flash.media.Camera.names | ||
| quality | flash.media.Camera.quality | 데이터 유형이 Number에서 int로 변경되었습니다. | |
| width | flash.media.Camera.width | 데이터 유형이 Number에서 int로 변경되었습니다. | |
| get() | flash.media.Camera.getCamera() | Number 인수가 아닌 String 인수를 받는 getCamera()로 대체되었습니다. |
|
| onActivity() | flash.events.ActivityEvent.ACTIVITY | 새 이벤트 모델에서 activity 이벤트로 대체되었습니다. |
|
| onStatus() | flash.media.Camera dispatches event: status | 새 이벤트 모델에서 status StatusEvent 객체로 대체되었습니다. |
|
| setMode() | flash.media.Camera.setMode() | width 및 height 매개 변수의 데이터 유형이 모두 int로 변경되었습니다. |
|
| setMotionLevel() | flash.media.Camera.setMotionLevel() | 두 매개 변수의 데이터 유형이 모두 int로 변경되었습니다. | |
| setQuality() | flash.media.Camera.setQuality() | 두 매개 변수의 데이터 유형이 모두 int로 변경되었습니다. | |
| capabilities class | flash.system.Capabilities | 클래스 이름이 소문자에서 첫 번째 문자가 대문자인 형태로 변경되었습니다. | |
| Color class | flash.geom.ColorTransform | flash.geom.ColorTransform 클래스로 Color 클래스의 모든 기능을 수행할 수 있으므로 Color 클래스가 제거되었습니다. 색상 값은 ColorTransform 클래스 생성자 또는 속성을 사용하여 직접 지정할 수 있습니다. 그런 다음 ColorTransform 객체를 Transform 객체의 colorTransform 속성에 지정한 후 Transform 객체를 DisplayObject 인스턴스의 transform 속성에 지정할 수 있습니다. |
|
| Color | flash.geom.ColorTransform.ColorTransform() | 제거되었습니다. ColorTransform() 생성자를 사용하여 색상 값을 지정할 수 있습니다. |
|
| getRGB() | flash.geom.ColorTransform.color | RGB 색상 값은 ColorTransform 클래스의 color 접근자 속성을 사용하여 액세스할 수 있습니다. |
|
| getTransform() | 제거됨 | 색상 값은 ColorTransform() 클래스 생성자 또는 속성을 사용하여 직접 지정할 수 있습니다. |
|
| setRGB() | flash.geom.ColorTransform.color | RGB 색상 값은 ColorTransform 클래스의 color 접근자 속성을 사용하여 설정할 수 있습니다. |
|
| setTransform() | 제거됨 | 색상 값은 ColorTransform() 클래스 생성자 또는 속성을 사용하여 직접 지정할 수 있습니다. |
|
| ContextMenu class | flash.ui.ContextMenu | ContextMenu 클래스가 flash.ui 패키지에 포함되었습니다. | |
| builtInItems | flash.ui.ContextMenu.builtInItems | ||
| customItems | flash.ui.ContextMenu.customItems | ||
| ContextMenu | flash.ui.ContextMenu.ContextMenu() | ||
| copy() | flash.ui.ContextMenu.clone() | ||
| hideBuiltInItems() | flash.ui.ContextMenu.hideBuiltInItems() | ||
| onSelect() | flash.ui.ContextMenu dispatches event: menuSelect | ActionScript 3.0 클래스에서는 onSelect() 이벤트 핸들러를 호출하는 대신 menuSelect 이벤트를 전달합니다. |
|
| ContextMenuItem class | flash.ui.ContextMenuItem | ContextMenuItem 클래스가 flash.ui 패키지에 포함되었습니다. | |
| caption | flash.ui.ContextMenuItem.caption | ||
| enabled | flash.ui.ContextMenuItem.enabled | ||
| separatorBefore | flash.ui.ContextMenuItem.separatorBefore | ||
| visible | flash.ui.ContextMenuItem.visible | ||
| ContextMenuItem | flash.ui.ContextMenuItem.ContextMenuItem() | ||
| copy() | flash.ui.ContextMenuItem.clone() | ||
| onSelect() | flash.ui.ContextMenuItem dispatches event: menuItemSelect | ActionScript 3.0 클래스에서는 onSelect() 이벤트 핸들러를 호출하는 대신 menuSelect 이벤트를 전달합니다. |
|
| ConvolutionFilter class | |||
| clone() | flash.filters.ConvolutionFilter.clone() | BitmapFilter 객체를 반환합니다. | |
| Date class | Date | ActionScript 3.0에는 getxxx()로 시작하는 모든 메서드에 대한 새로운 읽기 접근자 세트가 포함됩니다. 예를 들어, ActionScript 3.0에서 Date.getDate() 및 Date.date는 동일한 값을 반환합니다. |
|
| getUTCYear() | Date.getUTCFullYear() | 이 메서드는 ECMAScript에 속하지 않기 때문에 제거되었습니다. 대신 Date.getUTCFullYear()를 사용합니다. |
|
| getYear() | Date.getFullYear() | 이 메서드는 ECMAScript에 속하지 않기 때문에 제거되었습니다. 대신 Date.getFullYear()를 사용합니다. |
|
| setYear() | Date.setFullYear() | 이 메서드는 ECMAScript에 속하지 않기 때문에 제거되었습니다. 대신 Date.setFullYear()를 사용합니다. |
|
| DisplacementMapFilter class | flash.filters.DisplacementMapFilter | 여러 매개 변수의 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| color | flash.filters.DisplacementMapFilter.color | 이 매개 변수의 데이터 유형이 uint로 변경되었습니다. | |
| componentX | flash.filters.DisplacementMapFilter.componentX | 이 매개 변수의 데이터 유형이 uint로 변경되었습니다. | |
| componentY | flash.filters.DisplacementMapFilter.componentY | 이 매개 변수의 데이터 유형이 uint로 변경되었습니다. | |
| DisplacementMapFilter | flash.filters.DisplacementMapFilter.DisplacementMapFilter() | componentX, componentY 및 color 매개 변수의 데이터 유형이 uint로 변경되었습니다. |
|
| clone() | flash.filters.DisplacementMapFilter.clone() | BitmapFilter 객체를 반환합니다. | |
| DropShadowFilter class | flash.filters.DropShadowFilter | ||
| color | flash.filters.DropShadowFilter.color | 이 매개 변수의 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| quality | flash.filters.DropShadowFilter.quality | 이 매개 변수의 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| DropShadowFilter | flash.filters.DropShadowFilter.DropShadowFilter() | 모든 매개 변수에 기본값이 있으며, 일부 매개 변수의 유형이 변경되었습니다. | |
| clone() | flash.filters.DropShadowFilter.clone() | DropShadowFilter 객체 대신 BitmapFilter 객체를 반환합니다. | |
| Error class | Error | 디버깅 지원을 위해 새로운 getStackTrace() 메서드가 추가되었습니다. |
|
| ExternalInterface class | flash.external.ExternalInterface | 이 클래스의 두 메서드에 대한 매개 변수가 변경되었습니다. | |
| addCallback() | flash.external.ExternalInterface.addCallback() | ActionScript 3.0 버전에서 이 메서드는 instance 매개 변수를 받지 않습니다. method 매개 변수가 함수, 클래스 메서드 또는 특정 클래스 인스턴스의 메서드에 대한 참조를 받을 수 있는 closure 매개 변수로 대체되었습니다. 또한 보안상의 이유로 호출 코드가 closure 참조에 액세스할 수 없는 경우 SecurityError 예외가 발생합니다. |
|
| call() | flash.external.ExternalInterface.call() | 문제가 발생할 경우 ActionScript 3.0 버전의 이 메서드는 Error 또는 SecurityError 예외를 발생시키고 null을 반환합니다. |
|
| FileReference class | flash.net.FileReference | ActionScript 3.0 버전에서는 EventDispatcher 클래스의 addEventListener() 및 removeEventListener() 메서드를 상속합니다. 전달된 이벤트가 이벤트 핸들러 함수를 대체합니다. |
|
| postData | flash.net.URLRequest.data | ActionScript 2.0에서는 Flash Player 9에서 POST 데이터를 파일 업로드 또는 다운로드와 함께 보내기 위해 postData 속성을 추가합니다. ActionScript 3.0에서는 URLRequest 클래스의 data 속성을 사용하여 POST 또는 GET 데이터를 보냅니다. 자세한 내용은 이 언어 참조 설명서의 flash.net.URLRequest.data를 참조하십시오. |
|
| size | flash.net.FileReference.size | Number 데이터 유형 대신 uint 데이터 유형을 반환합니다. | |
| addListener() | flash.events.EventDispatcher.addEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 addEventListener() 메서드를 상속하므로 클래스 관련 addListener() 메서드를 정의하지 않아도 됩니다. |
|
| browse() | flash.net.FileReference.browse() | ActionScript 2.0의 경우 오류가 발생하면 false를 반환합니다. ActionScript 3.0에서는 IllegalOperationError 또는 ArgumentError 예외를 발생시킵니다. 그러나 매개 변수가 유효하지 않거나 파일 탐색 대화 상자가 열리지 않거나 다른 브라우저 세션이 진행 중인 경우에 이 메서드는 false를 반환합니다. 또한 typelist 매개 변수가 변경되었습니다. ActionScript 2.0에서 browse() 메서드에 문자열 배열을 전달하여 파일 필터를 지정할 수 있습니다. ActionScript 3.0에서는 FileFilter 객체 배열을 전달합니다. |
|
| download() | flash.net.FileReference.download() | 오류가 발생하면 false를 반환하는 대신 예외를 발생시킵니다. 첫 번째 매개 변수의 데이터 유형이 변경되었습니다. download()에 전달하는 첫 번째 매개 변수가 ActionScript 2.0에서는 문자열입니다. ActionScript 3.0에서는 URLRequest 객체를 전달합니다. |
|
| removeListener() | flash.events.EventDispatcher.removeEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 removeEventListener() 메서드를 상속하므로 클래스 관련 removeListener() 메서드를 정의하지 않아도 됩니다. |
|
| upload() | flash.net.FileReference.upload() | 다음과 같은 여러 가지 사항이 변경되었습니다.
|
|
| onCancel | flash.net.FileReference dispatches event: cancel | ActionScript 3.0에서 이 클래스는 onCancel() 이벤트 핸들러를 호출하는 대신 cancel 이벤트를 전달합니다. |
|
| onComplete | flash.net.FileReference dispatches event: complete | ActionScript 3.0에서 이 클래스는 onComplete() 이벤트 핸들러를 호출하는 대신 complete 이벤트를 전달합니다. |
|
| onHTTPError | flash.net.FileReference dispatches event: httpStatus | ActionScript 3.0에서 이 클래스는 onHTTPError() 이벤트 핸들러를 호출하는 대신 httpStatus 이벤트를 전달합니다. |
|
| onIOError | flash.net.FileReference dispatches event: ioError | ActionScript 3.0에서 이 클래스는 onIOError() 이벤트 핸들러를 호출하는 대신 ioError 이벤트를 전달합니다. |
|
| onOpen | flash.net.FileReference dispatches event: open | ActionScript 3.0에서 이 클래스는 onOpen() 이벤트 핸들러를 호출하는 대신 open 이벤트를 전달합니다. |
|
| onProgress | flash.net.FileReference dispatches event: progress | ActionScript 3.0에서 이 클래스는 onProgress() 이벤트 핸들러를 호출하는 대신 progress 이벤트를 전달합니다. |
|
| onSecurityError | flash.net.FileReference dispatches event: securityError | ActionScript 3.0에서 이 클래스는 onSecurityError() 이벤트 핸들러를 호출하는 대신 securityError 이벤트를 전달합니다. |
|
| onSelect | flash.net.FileReference dispatches event: select | ActionScript 3.0에서 이 클래스는 onSelect() 이벤트 핸들러를 호출하는 대신 select 이벤트를 전달합니다. |
|
| onUploadCompleteData | flash.net.FileReference dispatches event: complete | ActionScript 3.0에서 이 클래스는 onUploadCompleteData() 이벤트 핸들러를 호출하는 대신 uploadCompleteData 이벤트를 전달합니다. |
|
| FileReferenceList class | flash.net.FileReferenceList | ActionScript 3.0 클래스는 EventDispatcher 클래스의 addEventListener() 및 removeEventListener() 메서드를 상속합니다. ActionScript 3.0 클래스는 onCancel() 및 onSelect() 이벤트 핸들러 대신 cancel 및 select 이벤트를 사용합니다. |
|
| addListener() | flash.events.EventDispatcher.addEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 addEventListener() 메서드를 상속하므로 클래스 관련 addListener() 메서드를 정의하지 않아도 됩니다. |
|
| browse() | flash.net.FileReferenceList.browse() | ActionScript 3.0에서 이 메서드는 오류가 발생할 때 false를 반환하는 대신 IllegalOperationError 예외를 발생시킵니다. 또한 typelist 매개 변수가 변경되었습니다. ActionScript 2.0에서 browse() 메서드에 문자열 배열을 전달하여 파일 필터를 지정할 수 있습니다. ActionScript 3.0에서는 FileFilter 객체 배열을 전달합니다. |
|
| removeListener() | flash.events.EventDispatcher.removeEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 removeEventListener() 메서드를 상속하므로 클래스 관련 removeListener() 메서드를 정의하지 않아도 됩니다. |
|
| onCancel | flash.net.FileReferenceList dispatches event: cancel | ActionScript 3.0에서 이 클래스는 onCancel() 이벤트 핸들러를 호출하는 대신 cancel 이벤트를 전달합니다. |
|
| onSelect | flash.net.FileReferenceList dispatches event: select | ActionScript 3.0에서 이 클래스는, onSelect() 이벤트 핸들러를 호출하는 대신 select 이벤트를 전달합니다. |
|
| GlowFilter class | flash.filters.GlowFilter | 일부 속성의 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| color | flash.filters.GlowFilter.color | 이 속성의 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| quality | flash.filters.GlowFilter.quality | 이 속성의 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| GlowFilter | flash.filters.GlowFilter.GlowFilter() | color 및 quality 매개 변수의 데이터 유형이 Number에서 각각 uint 및 int로 변경되었습니다. 모든 매개 변수에 기본값이 지정됩니다. |
|
| clone() | flash.filters.GlowFilter.clone() | GlowFilter 객체 대신 BitmapFilter 객체를 반환합니다. | |
| GradientBevelFilter class | flash.filters.GradientBevelFilter | ||
| quality | flash.filters.GradientBevelFilter.quality | 이 속성의 데이터 유형이 Number에서 int로 변경되었습니다. | |
| clone() | flash.filters.GradientBevelFilter.clone() | GradientBevelFilter 객체 대신 BitmapFilter 객체를 반환합니다. | |
| GradientGlowFilter class | flash.filters.GradientGlowFilter | ||
| quality | flash.filters.GradientGlowFilter.quality | 이 속성의 데이터 유형이 Number에서 int로 변경되었습니다. | |
| GradientGlowFilter | flash.filters.GradientGlowFilter.GradientGlowFilter() | 모든 매개 변수에 기본값이 추가되었으며 quality 매개 변수의 데이터 유형이 Number에서 int로 변경되었습니다. |
|
| clone() | flash.filters.GradientGlowFilter.clone() | GradientGlowFilter 객체 대신 BitmapFilter 객체를 반환합니다. | |
| IME class | flash.system.IME | 이 클래스는 flash.system 패키지로 옮겨졌습니다. | |
| ALPHANUMERIC_FULL | flash.system.IMEConversionMode.ALPHANUMERIC_FULL | ||
| ALPHANUMERIC_HALF | flash.system.IMEConversionMode.ALPHANUMERIC_HALF | ||
| CHINESE | flash.system.IMEConversionMode.CHINESE | ||
| JAPANESE_HIRAGANA | flash.system.IMEConversionMode.JAPANESE_HIRAGANA | ||
| JAPANESE_KATAKANA_FULL | flash.system.IMEConversionMode.JAPANESE_KATAKANA_FULL | ||
| JAPANESE_KATAKANA_HALF | flash.system.IMEConversionMode.JAPANESE_KATAKANA_HALF | ||
| KOREAN | flash.system.IMEConversionMode.KOREAN | ||
| UNKNOWN | flash.system.IMEConversionMode.UNKNOWN | ||
| addListener() | flash.events.EventDispatcher.addEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 addEventListener() 메서드를 상속하므로 클래스 관련 addListener() 메서드를 정의하지 않아도 됩니다. |
|
| getConversionMode() | flash.system.IME.conversionMode | 접근자 속성으로 변경되었습니다. | |
| getEnabled() | flash.system.IME.enabled | 접근자 속성으로 변경되었습니다. | |
| removeListener() | flash.events.EventDispatcher.removeEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 removeEventListener() 메서드를 상속하므로 클래스 관련 removeListener() 메서드를 정의하지 않아도 됩니다. |
|
| setConversionMode() | flash.system.IME.conversionMode | 접근자 속성으로 변경되었습니다. | |
| setEnabled() | flash.system.IME.enabled | 접근자 속성으로 변경되었습니다. | |
| onIMEComposition | flash.system.IME dispatches event: imeComposition | ActionScript 3.0에서 이 클래스는 onIMEComposition() 이벤트 핸들러를 호출하는 대신 imeComposition이라는 이벤트를 전달합니다. |
|
| Key class | flash.ui.Keyboard | ActionScript 3.0에서 이 클래스는 Keyboard 클래스와 관련된 다른 클래스(예: KeyboardEvent)와 일치되도록 하기 위해 이름이 변경되었습니다. | |
| BACKSPACE | flash.ui.Keyboard.BACKSPACE | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| CAPSLOCK | flash.ui.Keyboard.CAPS_LOCK | ActionScript 3.0에서 상수로 선언되며, 밑줄이 추가되었고 데이터 유형이 uint로 변경되었습니다. | |
| CONTROL | flash.ui.Keyboard.CONTROL | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| DELETEKEY | flash.ui.Keyboard.DELETE | ActionScript 3.0에서 이름이 DELETE로 변경되었으며, 상수로 선언되고 데이터 유형이 uint로 변경되었습니다. |
|
| DOWN | flash.ui.Keyboard.DOWN | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| END | flash.ui.Keyboard.END | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| ENTER | flash.ui.Keyboard.ENTER | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| ESCAPE | flash.ui.Keyboard.ESCAPE | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| HOME | flash.ui.Keyboard.HOME | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| INSERT | flash.ui.Keyboard.INSERT | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| LEFT | flash.ui.Keyboard.LEFT | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| _listeners | flash.events.EventDispatcher.willTrigger() | 직접 대응되지 않습니다. willTrigger() 메서드는 리스너의 등록 여부를 반환하지만 등록된 리스너의 수를 반환하지는 않습니다. |
|
| PGDN | flash.ui.Keyboard.PAGE_DOWN | ActionScript 3.0에서 이름이 PAGE_DOWN으로 변경되었으며, 상수로 선언되고 데이터 유형이 uint로 변경되었습니다. |
|
| PGUP | flash.ui.Keyboard.PAGE_UP | ActionScript 3.0에서 이름이 PAGE_UP로 변경되었으며, 상수로 선언되고 데이터 유형이 uint로 변경되었습니다. |
|
| RIGHT | flash.ui.Keyboard.RIGHT | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| SHIFT | flash.ui.Keyboard.SHIFT | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| SPACE | flash.ui.Keyboard.SPACE | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| TAB | flash.ui.Keyboard.TAB | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| UP | flash.ui.Keyboard.UP | ActionScript 3.0에서 상수로 선언되며, 데이터 유형이 uint로 변경되었습니다. | |
| addListener() | flash.events.EventDispatcher.addEventListener() | ActionScript 3.0에서 모든 표시 객체는 EventDispatcher 클래스의 addEventListener() 메서드를 상속하므로 클래스 관련 addListener() 메서드를 정의하지 않아도 됩니다. |
|
| getAscii() | flash.events.KeyboardEvent.charCode | ||
| getCode() | flash.events.KeyboardEvent.keyCode | ||
| isAccessible() | flash.ui.Keyboard.isAccessible() | ||
| isDown() | 제거됨 | 보안상의 이유로 제거되었습니다. | |
| isToggled() | 제거됨 | 보안상의 이유로 제거되었습니다. | |
| removeListener() | flash.events.EventDispatcher.removeEventListener() | ActionScript 3.0에서 모든 표시 객체는 EventDispatcher클래스의 removeEventListener() 메서드를 상속하므로 클래스 관련 removeListener() 메서드를 정의하지 않아도 됩니다. |
|
| onKeyDown | flash.display.InteractiveObject dispatches event: keyDown | ActionScript 3.0에서 InteractiveObject 클래스는 onKeyDown 이벤트 핸들러를 호출하는 대신 keyDown KeyboardEvent 객체를 전달합니다. |
|
| onKeyUp | flash.display.InteractiveObject dispatches event: keyUp | ActionScript 3.0에서 InteractiveObject 클래스는 onKeyUp 이벤트 핸들러를 호출하는 대신 keyUp KeyboardEvent 객체를 전달합니다. |
|
| LoadVars class | flash.net.URLLoader | LoadVars 클래스 기능이 URLLoader, URLRequest, URLStream 및 URLVariables 클래스로 대체되었습니다. | |
| contentType | flash.net.URLRequest.contentType | ||
| loaded | 제거됨 | ActionScript 3.0에는 해당하는 부울 속성이 없습니다. 그러나 flash.events.Event.COMPLETE를 사용하여 데이터가 로드될 때 알림을 수신하는 리스너를 설정할 수 있습니다. |
|
| LoadVars | flash.net.URLLoader.URLLoader() | ||
| addRequestHeader() | flash.net.URLRequestHeader | ||
| decode() | flash.net.URLVariables.decode() | ||
| getBytesLoaded() | flash.net.URLLoader.bytesLoaded | 클래스가 URLLoader로 변경되었고, 함수에서 속성 접근자로 변경되었으며, 이름이 getBytesLoaded에서 bytesLoaded로 변경되었습니다. |
|
| getBytesTotal() | flash.net.URLLoader.bytesTotal | 클래스가 URLLoader로 변경되었고, 함수에서 속성 접근자로 변경되었으며, 이름이 getBytesTotal에서 bytesTotal로 변경되었습니다. |
|
| load() | flash.net.URLLoader.load() | ||
| onData() | flash.net.URLLoader dispatches event: complete | URLLoader 클래스를 참조하십시오. 다운로드 작업이 완료되면 데이터 구문 분석 전에 complete이벤트가 전달됩니다. |
|
| onHTTPStatus() | flash.net.URLLoader dispatches event: httpStatus | ActionScript 3.0에서 URLLoader 클래스는 onHTTPStatus 이벤트 핸들러를 호출하는 대신 httpStatus라는 HTTPStatusEvent 객체를 전달합니다. |
|
| onLoad() | flash.net.URLLoader dispatches event: complete | URLLoader 클래스를 참조하십시오. 다운로드 작업이 완료되면 complete 이벤트가 전달됩니다. |
|
| send() | flash.net.sendToURL() | ||
| sendAndLoad() | flash.net.sendToURL() | sendToURL() 메서드는 URL 요청을 서버에게 보내기만 하고 응답을 무시합니다. 응답을 받으려면 flash.net.URLLoader.load()를 사용합니다. |
|
| toString() | 제거됨 | 이 메서드는 ActionScript 3.0에서 더 이상 필요하지 않습니다. | |
| LocalConnection class | flash.net.LocalConnection | 이 클래스는 flash.net 패키지로 옮겨졌습니다. | |
| LocalConnection | flash.net.LocalConnection.LocalConnection() | ||
| allowDomain() | flash.net.LocalConnection.allowDomain() | ActionScript 3.0에서 일반 메서드로 변경되었으며, 더 이상 이벤트 핸들러가 아닙니다. ...(rest) 매개 변수 포맷을 사용할 수 있도록 매개 변수가 변경되었습니다. 반환값이 void로 변경되었습니다. |
|
| allowInsecureDomain() | flash.net.LocalConnection.allowInsecureDomain() | ActionScript 3.0에서 일반 메서드로 변경되었으며, 더 이상 이벤트 핸들러가 아닙니다. ...(rest) 매개 변수 포맷을 사용할 수 있도록 매개 변수가 변경되었습니다. 반환값이 void로 변경되었습니다. |
|
| close() | flash.net.LocalConnection.close() | ||
| connect() | flash.net.LocalConnection.connect() | ||
| domain() | flash.net.LocalConnection.domain | 속성 접근자로 변경되었습니다. | |
| onStatus() | flash.net.LocalConnection dispatches event: status | 새 이벤트 모델에서 콜백 함수는 이벤트 객체로 대체되었습니다. | |
| send() | flash.net.LocalConnection.send() | 세 번째 매개 변수가 ...(rest) 매개 변수 포맷을 사용할 수 있도록 변경되었습니다. 반환 유형이 void로 변경되었습니다. |
|
| Microphone class | flash.media.Microphone | 이 클래스는 flash.media 패키지로 옮겨졌습니다. | |
| index | flash.media.Microphone.index | 데이터 유형이 uint로 변경되었습니다. | |
| rate | flash.media.Microphone.rate | 데이터 유형이 uint로 변경되었습니다. | |
| silenceTimeOut | flash.media.Microphone.silenceTimeout | 대/소문자 표기가 "Timeout"으로 변경되었습니다. 데이터 유형이 int로 변경되었습니다. | |
| get() | flash.media.Microphone.getMicrophone() | 이름이 get()에서 getMicrophone()으로 변경되었습니다. 매개 변수의 데이터 유형이 uint로 변경되었습니다. |
|
| onActivity() | flash.media.Microphone dispatches event: activity | ActionScript 3.0에서 이 클래스는 onActivity 이벤트 핸들러를 호출하는 대신 activity 이벤트를 전달합니다. |
|
| onStatus() | flash.media.Microphone dispatches event: status | ActionScript 3.0에서 이 클래스는 onStatus 이벤트 핸들러를 호출하는 대신 status 이벤트를 전달합니다. status 이벤트에는 Muted 및 Unmuted라는 code 속성 값이 있습니다. |
|
| setGain() | flash.media.Microphone.gain | gain 속성 및 setGain() 메서드를 gain이라는 get/set 속성 접근자로 결합했습니다. 데이터 유형이 uint로 변경되었습니다. |
|
| setRate() | flash.media.Microphone.rate | rate 속성 및 setRate() 메서드를 rate라는 get/set 속성 접근자로 결합했습니다. 데이터 유형이 uint로 변경되었습니다. |
|
| setSilenceLevel() | flash.media.Microphone.setSilenceLevel() | timeOut 매개 변수의 데이터 유형이 int로 변경되었습니다. timeOut 매개 변수의 대/소문자 표기가 timeout으로 변경되었습니다. |
|
| setUseEchoSuppression() | flash.media.Microphone.setUseEchoSuppression() | ||
| Mouse class | flash.ui.Mouse | ||
| addListener() | flash.events.EventDispatcher.addEventListener() | 새 ActionScript 3.0 이벤트 모델에서 모든 표시 객체는 EventDispatcher 클래스의 addEventListener() 메서드를 상속하므로 클래스 관련 addListener() 메서드를 정의하지 않아도 됩니다. |
|
| hide() | flash.ui.Mouse.hide() | void를 반환하도록 변경되었습니다. |
|
| removeListener() | ActionScript | 3.0 이벤트 모델에서 모든 표시 객체는 EventDispatcher 클래스의 removeEventListener() 메서드를 상속하므로 클래스 관련 removeListener() 메서드를 정의하지 않아도 됩니다. |
|
| show() | flash.ui.Mouse.show() | void를 반환하도록 변경되었습니다. |
|
| onMouseDown | flash.display.InteractiveObject dispatches event: mouseDown | 새 이벤트 모델에서 mouseDown 이벤트로 대체되었습니다. |
|
| onMouseMove | flash.display.InteractiveObject dispatches event: mouseMove | 새 이벤트 모델에서 mouseMove 이벤트로 대체되었습니다. |
|
| onMouseUp | flash.display.InteractiveObject dispatches event: mouseUp | 새 이벤트 모델에서 mouseUp 이벤트로 대체되었습니다. |
|
| onMouseWheel | flash.display.InteractiveObject dispatches event: mouseWheel | 새 이벤트 모델에서 mouseWheel 이벤트로 대체되었습니다. |
|
| MovieClip class | flash.display.MovieClip | ActionScript 3.0에서는 많은 MovieClip 메서드가 다른 클래스로 옮겨졌습니다. 새 이벤트 모델에서 모든 이벤트 핸들러는 이벤트 객체로 대체되었습니다. | |
| _alpha | flash.display.DisplayObject.alpha | DisplayObject 클래스로 옮겨졌으며 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| blendMode | flash.display.DisplayObject.blendMode | ||
| cacheAsBitmap | flash.display.DisplayObject.cacheAsBitmap | ||
| _currentframe | flash.display.MovieClip.currentFrame | 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _droptarget | flash.display.Sprite.dropTarget | Sprite 클래스로 옮겨졌으며, 이름의 맨 앞에 있었던 밑줄이 제거되었고, 대/소문자가 혼합된 형태로 변경되었습니다. | |
| filters | flash.display.DisplayObject.filters | ||
| focusEnabled | 제거됨 | ActionScript 3.0에서는 모든 대화형 객체의 포커스가 활성화되어 있으므로 이 속성이 더 이상 필요하지 않습니다. | |
| _focusrect | flash.display.InteractiveObject.focusRect | InteractiveObject 클래스로 옮겨졌으며, 이름의 맨 앞에 있었던 밑줄이 제거되었고, 대/소문자가 혼합된 형태로 변경되었습니다. | |
| _framesloaded | flash.display.MovieClip.framesLoaded | 이름의 맨 앞에 있었던 밑줄이 제거되었고, 대/소문자가 혼합된 형태로 변경되었습니다. | |
| _height | flash.display.DisplayObject.height | DisplayObject 클래스로 옮겨졌으며 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _highquality | 제거됨 | Stage.quality를 참조하십시오. | |
| hitArea | flash.display.Sprite.hitArea | Sprite 클래스로 옮겨졌습니다. | |
| _lockroot | 제거됨 | ActionScript 3.0에서는 표시 객체의 루트가 자동으로 설정되므로 _lockroot 속성은 사실상 항상 활성화되어 있습니다. 자세한 내용은 flash.display.DisplayObject.root를 참조하십시오. |
|
| menu | 제거됨 | InteractiveObject.contextMenu를 참조하십시오. | |
| _name | flash.display.DisplayObject.name | DisplayObject 클래스로 옮겨졌으며 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| opaqueBackground | flash.display.DisplayObject.opaqueBackground | ||
| _parent | flash.display.DisplayObject.parent | DisplayObject 클래스로 옮겨졌으며 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _quality | flash.display.Stage.quality | ||
| _rotation | flash.display.DisplayObject.rotation | DisplayObject 클래스로 옮겨졌으며 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| scale9Grid | flash.display.DisplayObject.scale9Grid | ||
| scrollRect | flash.display.DisplayObject.scrollRect | Rectangle 데이터 유형으로 변경되었습니다. | |
| _soundbuftime | flash.media.SoundMixer.bufferTime | SoundMixer 클래스로 옮겨졌으며, 전역 사운드 컨트롤에 사용됩니다. 약어를 사용하지 않고 이름이 변경되었으며, 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| tabChildren | flash.display.DisplayObjectContainer.tabChildren | ||
| tabEnabled | flash.display.InteractiveObject.tabEnabled | ||
| tabIndex | flash.display.InteractiveObject.tabIndex | ||
| _target | 제거됨 | ActionScript 3.0에서는 표시 객체를 직접 식별하므로 더 이상 경로로 표시 객체를 식별할 필요가 없습니다. | |
| _totalframes | flash.display.MovieClip.totalFrames | 대/소문자가 혼합된 형태로 변경되었으며 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| trackAsMenu | flash.display.MovieClip.trackAsMenu | ||
| transform | flash.display.DisplayObject.transform | ||
| _url | flash.display.Loader.contentLoaderInfo | ||
| useHandCursor | flash.display.Sprite.useHandCursor | ||
| _visible | flash.display.DisplayObject.visible | DisplayObject 클래스로 옮겨졌으며 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _width | flash.display.DisplayObject.width | DisplayObject 클래스로 옮겨졌으며 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _x | flash.display.DisplayObject.x | DisplayObject 클래스로 옮겨졌으며 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _xmouse | flash.display.DisplayObject.mouseX | DisplayObject 클래스로 옮겨졌으며, mouseX로 이름이 변경되고, 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. |
|
| _xscale | flash.display.DisplayObject.scaleX | DisplayObject 클래스로 옮겨졌으며, scaleX로 이름이 변경되고, 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. |
|
| _y | flash.display.DisplayObject.y | DisplayObject 클래스로 옮겨졌으며 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _ymouse | flash.display.DisplayObject.mouseY | DisplayObject 클래스로 옮겨졌으며, mouseY로 이름이 변경되고, 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. |
|
| _yscale | flash.display.DisplayObject.scaleY | DisplayObject 클래스로 옮겨졌으며, scaleY로 이름이 변경되고, 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. |
|
| attachAudio() | 제거됨 | 오디오 소스가 Microphone 객체인 경우 NetStream.attachAudio() 또는 Microphone.setLoopBack()을 사용합니다. 오디오 소스가FLV 파일인 경우 |
|
| attachBitmap() | 제거됨 | ActionScript 3.0에서는 addChild()를 사용하여 자식 표시 객체를 추가합니다. |
|
| attachMovie() | 제거됨 | ActionScript 3.0에서는 addChild()를 사용하여 자식 표시 객체를 추가합니다. |
|
| beginBitmapFill() | flash.display.Graphics.beginBitmapFill() | ||
| beginFill() | flash.display.Graphics.beginFill() | Graphics 클래스로 옮겨졌으며 첫 번째 매개 변수의 데이터 유형이 uint로 변경되었습니다. | |
| beginGradientFill() | flash.display.Graphics.beginGradientFill() | ||
| clear() | flash.display.Graphics.clear() | ||
| createEmptyMovieClip() | 제거됨 | ActionScript 3.0에서는 new 연산자를 사용하여 무비 클립을 만듭니다. |
|
| createTextField() | 제거됨 | ActionScript 3.0에서는 new 연산자를 사용하여 텍스트 필드를 만듭니다. |
|
| curveTo() | flash.display.Graphics.curveTo() | ||
| duplicateMovieClip() | 제거됨 | ActionScript 3.0에서는 new 연산자를 사용하여 새 인스턴스를 만듭니다. |
|
| endFill() | flash.display.Graphics.endFill() | ||
| getBounds() | flash.display.DisplayObject.getBounds() | ||
| getBytesLoaded() | flash.net.URLLoader.bytesLoaded | URLLoader 클래스로 옮겨졌으며, 데이터 유형이 Number에서 int로 변경되었습니다. | |
| getBytesTotal() | flash.net.URLLoader.bytesTotal | URLLoader 클래스로 옮겨졌으며, 데이터 유형이 Number에서 int로 변경되었습니다. | |
| getDepth() | flash.display.DisplayObjectContainer.getChildIndex() | ActionScript 3.0에서는 표시 목록에 직접 액세스하여 기존 방법과는 다른 방법으로 심도를 처리할 수 있습니다. | |
| getInstanceAtDepth() | flash.display.DisplayObjectContainer.getChildAt() | ActionScript 3.0에서는 표시 목록에 직접 액세스하여 기존 방법과는 다른 방법으로 심도를 처리할 수 있습니다. | |
| getNextHighestDepth() | flash.display.DisplayObjectContainer.addChild() | 직접 대응되지 않습니다. 그러나 addChild() 메서드가 DisplayObjectContainer 인스턴스의 다른 모든 자식 인스턴스 뒤에 자식 인스턴스를 추가하므로 사용 가능한 다음 심도를 결정하는 메서드가 없어도 됩니다. |
|
| getRect() | flash.display.DisplayObject.getRect() | ||
| getSWFVersion() | flash.display.LoaderInfo.swfVersion | LoaderInfo 클래스로 옮겨졌으며 데이터 유형이 uint로 변경되었습니다. | |
| getTextSnapshot() | flash.display.DisplayObjectContainer.textSnapshot | ||
| getURL() | flash.net.navigateToURL() | flash.net.navigateToURL() 및 flash.net.sentToURL() 메서드로 대체되었습니다. 또한 URLLoader 클래스를 참조하십시오. |
|
| globalToLocal() | flash.display.DisplayObject.globalToLocal() | ||
| gotoAndStop() | flash.display.MovieClip.gotoAndStop() | ||
| hitTest() | flash.display.DisplayObject.hitTestObject() | ||
| lineGradientStyle() | flash.display.Graphics.lineGradientStyle() | ||
| lineStyle() | flash.display.Graphics.lineStyle() | ||
| lineTo() | flash.display.Graphics.lineTo() | ||
| loadMovie() | flash.display.Loader.load() | Loader 클래스를 참조하십시오. | |
| loadVariables() | flash.net.URLLoader | 제거되었습니다. URLLoader 클래스를 참조하십시오. | |
| localToGlobal() | flash.display.DisplayObject.localToGlobal() | ||
| moveTo() | flash.display.Graphics.moveTo() | ||
| nextFrame() | flash.display.MovieClip.nextFrame() | ||
| onData() | flash.display.LoaderInfo dispatches event: complete | 새 이벤트 모델에서 데이터의 구문 분석 전에 다운로드 작업이 완료될 때 전달되는 complete 이벤트로 대체되었습니다. |
|
| onDragOut() | flash.display.InteractiveObject dispatches event: mouseOut | 새 이벤트 모델에서 mouseOut 이벤트로 대체되었습니다. |
|
| onDragOver() | flash.display.InteractiveObject dispatches event: mouseOver | 새 이벤트 모델에서 mouseOver 이벤트로 대체되었습니다. |
|
| onEnterFrame() | flash.display.DisplayObject dispatches event: enterFrame | 새 이벤트 모델에서 enterFrame 이벤트로 대체되었습니다. |
|
| onKeyDown() | flash.display.InteractiveObject dispatches event: keyDown | 새 이벤트 모델에서 keyDown 이벤트로 대체되었습니다. |
|
| onKeyUp() | flash.display.InteractiveObject dispatches event: keyUp | 새 이벤트 모델에서 keyUp 이벤트로 대체되었습니다. |
|
| onKillFocus() | flash.display.InteractiveObject dispatches event: focusOut | 새 이벤트 모델에서 focusOut 이벤트로 대체되었습니다. |
|
| onLoad() | flash.display.LoaderInfo dispatches event: complete | URLLoader 클래스를 참조하십시오. 다운로드 작업이 완료되면 complete 이벤트가 전달됩니다. |
|
| onMouseDown() | flash.display.InteractiveObject dispatches event: mouseDown | 새 이벤트 모델에서 mouseDown 이벤트로 대체되었습니다. |
|
| onMouseMove() | flash.display.InteractiveObject dispatches event: mouseMove | 새 이벤트 모델에서 mouseMove 이벤트로 대체되었습니다. |
|
| onMouseUp() | flash.display.InteractiveObject dispatches event: mouseUp | 새 이벤트 모델에서 mouseUp 이벤트로 대체되었습니다. |
|
| onPress() | flash.display.InteractiveObject dispatches event: mouseDown | 새 이벤트 모델에서 mouseDown 이벤트로 대체되었습니다. |
|
| onRelease() | flash.display.InteractiveObject dispatches event: mouseUp | 새 이벤트 모델에서 mouseUp 이벤트로 대체되었습니다. |
|
| onReleaseOutside() | flash.display.InteractiveObject dispatches event: mouseUp | 새 이벤트 모델에서 mouseUp 이벤트로 대체되었습니다. |
|
| onRollOut() | flash.display.InteractiveObject dispatches event: mouseOut | 새 이벤트 모델에서 mouseOut 이벤트로 대체되었습니다. |
|
| onRollOver() | flash.display.InteractiveObject dispatches event: mouseOver | 새 이벤트 모델에서 mouseOver 이벤트로 대체되었습니다. |
|
| onSetFocus() | flash.display.InteractiveObject dispatches event: focusIn | 새 이벤트 모델에서 focusIn 이벤트로 대체되었습니다. |
|
| onUnload() | flash.display.LoaderInfo dispatches event: unload | 새 이벤트 모델에서 unload 이벤트로 대체되었습니다. |
|
| play() | flash.display.MovieClip.play() | ||
| prevFrame() | flash.display.MovieClip.prevFrame() | ||
| removeMovieClip() | flash.display.DisplayObjectContainer.removeChild() | 제거되었습니다. 무비 클립이 들어 있는 부모 표시 객체 컨테이너의 removeChild() 메서드를 호출합니다. |
|
| setMask() | flash.display.DisplayObject.mask | ||
| startDrag() | flash.display.Sprite.startDrag() | ||
| stop() | flash.display.MovieClip.stop() | ||
| stopDrag() | flash.display.Sprite.stopDrag() | ||
| swapDepths() | 제거됨 | ActionScript 3.0에서 addChildAt(), setChildIndex(), swapChildren() 및 swapChildrenAt() 메서드와 같은 DisplayObjectContainer 클래스의 메서드를 사용하여 유사한 기능을 수행할 수 있습니다. |
|
| unloadMovie() | flash.display.Loader.unload() | ||
| MovieClipLoader class | flash.display.Loader | flash.display.Loader 클래스로 대체되었습니다. | |
| MovieClipLoader | flash.display.Loader.Loader() | ||
| addListener() | flash.events.EventDispatcher.addEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 addEventListener() 메서드를 상속하므로 addListener() 메서드를 정의하지 않아도 됩니다. |
|
| getProgress() | flash.display.LoaderInfo dispatches event: progress | 새 이벤트 모델에서 progress 이벤트로 대체되었습니다. progress 유형의 이벤트 객체에는 bytesLoaded 및 bytesTotal이라는 속성이 포함되어 있습니다. |
|
| loadClip() | flash.display.Loader.load() | flash.display.Loader 클래스의 load() 메서드로 대체되었습니다. |
|
| removeListener() | flash.events.EventDispatcher.removeEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 removeEventListener() 메서드를 상속하므로 클래스 관련 removeListener() 메서드를 정의하지 않아도 됩니다. |
|
| unloadClip() | flash.display.Loader.unload() | flash.display.Loader 클래스의 unload() 메서드로 대체되었습니다. |
|
| onLoadComplete | flash.display.LoaderInfo dispatches event: complete | 새 이벤트 모델에서 complete 이벤트로 대체되었습니다. |
|
| onLoadError | flash.display.LoaderInfo dispatches event: ioError | 새 이벤트 모델에서 ioError 이벤트로 대체되었습니다. |
|
| onLoadInit | flash.display.LoaderInfo dispatches event: init | 새 이벤트 모델에서 init 이벤트로 대체되었습니다. |
|
| onLoadProgress | flash.display.LoaderInfo dispatches event: progress | 새 이벤트 모델에서 progress 이벤트로 대체되었습니다. |
|
| onLoadStart | flash.display.LoaderInfo dispatches event: open | 새 이벤트 모델에서 open 이벤트로 대체되었습니다. |
|
| NetConnection class | flash.net.NetConnection | 이 클래스는 flash.net 패키지로 옮겨졌습니다. | |
| NetConnection | flash.net.NetConnection.NetConnection() | ||
| connect() | flash.net.NetConnection.connect() | ActionScript 3.0 버전에서 ...(rest) 매개 변수가 추가되었습니다. | |
| onStatus() | flash.net.NetConnection dispatches event: netStatus | 새 이벤트 모델에서 netStatus 이벤트로 대체되었습니다. |
|
| NetStream class | flash.net.NetStream | 이 클래스는 flash.net 패키지로 옮겨졌습니다. | |
| bytesLoaded | flash.net.NetStream.bytesLoaded | 데이터 유형이 uint로 변경되었습니다. | |
| bytesTotal | flash.net.NetStream.bytesTotal | 데이터 유형이 uint로 변경되었습니다. | |
| currentFps | flash.net.NetStream.currentFPS | ActionScript 3.0에서 FPS는 모두 대문자입니다. | |
| attachVideo() | flash.net.NetStream.attachCamera | NetStream.attachCamera()로 대체되었습니다. Flash Media Server가 필요합니다. |
|
| onStatus() | flash.net.NetStream dispatches event: netStatus | 새 이벤트 모델에서 netStatus 이벤트로 대체되었습니다. |
|
| pause() | flash.net.NetStream.pause() | ActionScript 3.0에서 pause 메서드는 매개 변수를 받지 않습니다. 두 개의 새 메서드 resume() 및 togglePause()를 사용하여 동일한 기능을 수행할 수 있습니다. |
|
| play() | flash.net.NetStream.play() | Flash Media Server에만 name, start, len 및 reset 매개 변수를 사용할 수 있으며 Flash의 경우 arguments가 사용됩니다. |
|
| seek() | flash.net.NetStream.seek() | Flash Media Server를 사용하면 seek()의 비헤이비어가 Application.xml에 설정된 <EnhancedSeek>에 따라 달라집니다. |
|
| setBufferTime() | flash.net.NetStream.bufferTime | ActionScript 3.0에서 읽기/쓰기 접근자 속성으로 변경되었습니다. | |
| Number class | Number | ||
| Number | Number.Number() | ActionScript 3.0에서 Number() 생성자 및 Number() 전역 함수는 동일한 효과를 갖습니다. 또한 Number 객체와 리터럴 숫자 값 사이에는 차이가 없습니다. |
|
| Object class | Object | ||
| __proto__ | 제거됨 | ActionScript 3.0에서는 프로토타입 체인을 직접 조작할 수 없습니다. 하위 클래스를 만들려면 하위 클래스 선언에서 extends 문을 사용합니다. 객체의 상속 트리 및 데이터 유형에 대한 자세한 내용을 보려면 새 리플렉션 API flash.utils.describeType()을 사용합니다. |
|
| __resolve | flash.utils.Proxy | 새 Proxy 클래스를 사용하여 동일한 기능을 수행할 수 있습니다. | |
| addProperty() | 제거됨 | ActionScript 3.0에서 get 및 set 키워드를 사용하여 접근자 속성을 직접 만들 수 있습니다. |
|
| registerClass() | 제거됨 | ActionScript 3.0에서는 모든 클래스가 기본적으로 등록됩니다. AMF를 사용하여 객체를 인코딩하는 경우 flash.utils.registerClassAlias() 함수를 사용하지 않으면 인코딩 프로세스 동안 객체의 클래스가 유지되지 않습니다. |
|
| unwatch() | 제거됨 | ActionScript 3.0에는 감시점이 없으므로 unwatch() 메서드가 사용되지 않습니다. |
|
| watch() | 제거됨 | 접근자 속성(get/set 함수) 또는 flash.utils.Proxy 클래스를 사용하여 동일한 기능을 수행할 수 있습니다. | |
| PrintJob class | flash.printing.PrintJob | ||
| orientation | flash.printing.PrintJob.orientation | 이 속성은 PrintJobOrientation 클래스의 값을 갖습니다. | |
| pageHeight | flash.printing.PrintJob.pageHeight | 데이터 유형이 int로 변경되었습니다. | |
| pageWidth | flash.printing.PrintJob.pageWidth | 데이터 유형이 int로 변경되었습니다. | |
| paperHeight | flash.printing.PrintJob.paperHeight | 데이터 유형이 int로 변경되었습니다. | |
| paperWidth | flash.printing.PrintJob.paperWidth | 데이터 유형이 int로 변경되었습니다. | |
| PrintJob | flash.printing.PrintJob.PrintJob() | ||
| addPage() | flash.printing.PrintJob.addPage() | ActionScript 3.0에서 매개 변수의 데이터 유형이 다음과 같이 변경되었습니다. 첫 번째 매개 변수 target은 Sprite 데이터 유형, 두 번째 매개 변수 printArea는 Rectangle 데이터 유형, 세 번째 매개 변수 options는 새 PrintJobOptions 데이터 유형, 네 번째 매개 변수 frameNum은 int 데이터 유형입니다. |
|
| send() | flash.printing.PrintJob.send() | ||
| start() | flash.printing.PrintJob.start() | ||
| Rectangle class | |||
| containsRectangle() | flash.geom.Rectangle.containsRect() | 일관성을 위해 이름이 변경되었습니다. | |
| security class | flash.system.Security | 이 클래스는 flash.system 패키지로 옮겨졌습니다. | |
| Selection class | 제거됨 | 이 클래스의 메서드는 다른 클래스로 옮겨졌습니다. | |
| addListener() | flash.events.EventDispatcher.addEventListener() | 새 이벤트 모델에서 모든 표시 객체는 EventDispatcher 클래스의 addEventListener() 메서드를 상속하므로 클래스 관련 addListener() 메서드를 정의하지 않아도 됩니다. |
|
| getBeginIndex() | flash.text.TextField.selectionBeginIndex | 메서드에서 접근자 속성으로 변경되었으며, 이름이 selectionBeginIndex로 변경되었습니다. |
|
| getCaretIndex() | flash.text.TextField.caretIndex | 메서드에서 접근자 속성으로 변경되었으며, 이름이 caretIndex로 변경되었습니다. |
|
| getEndIndex() | flash.text.TextField.selectionEndIndex | 메서드에서 접근자 속성으로 변경되었으며, 이름이 selectionEndIndex로 변경되었습니다. |
|
| getFocus() | flash.display.Stage.focus | 메서드에서 속성 접근자로 변경되었으며, 이름이 focus로 변경되었습니다. ActionScript 2.0의 경우 반환값의 데이터 유형이 String이었지만 ActionScript 3.0에서 이 속성의 데이터 유형은 InteractiveObject입니다. |
|
| removeListener() | flash.events.EventDispatcher.removeEventListener() | 새 이벤트 모델에서 표시 객체는 EventDispatcher 클래스의 removeEventListener() 메서드를 상속하므로 클래스 관련 removeListener() 메서드를 정의하지 않아도 됩니다. |
|
| setFocus() | flash.display.Stage.focus | 메서드에서 접근자 속성으로 변경되었으며, 이름이 focus로 변경되었습니다. ActionScript 2.0의 경우 반환값의 데이터 유형이 String이었지만 ActionScript 3.0에서 이 속성의 데이터 유형은 InteractiveObject입니다. |
|
| setSelection() | flash.text.TextField.setSelection() | 두 매개 변수의 데이터 유형이 모두 Number에서 uint로 변경되었습니다. | |
| onSetFocus | flash.display.InteractiveObject dispatches event: focusIn | 새 이벤트 모델에서 focusIn 이벤트로 대체되었습니다. |
|
| SharedObject class | flash.net.SharedObject | 이 클래스는 flash.net 패키지로 옮겨졌습니다. | |
| flush() | flash.net.SharedObject.flush() | 이 메서드는 더 이상 부울 값을 반환하지 않습니다. 플러시가 실패할 경우 Flash Player에서 예외가 발생하고, 플러시가 성공하거나 사용자 상호 작용을 대기하는 경우 Flash Player에서 "flushed" 또는 "pending" 문자열을 반환합니다. 또한 minDiskSpace 매개 변수의 데이터 유형이 int로 변경되었습니다. |
|
| getSize() | flash.net.SharedObject.size | 접근자 속성으로 변경되었습니다. 데이터 유형이 uint로 변경되었습니다. | |
| onStatus() | flash.net.SharedObject dispatches event: netStatus | 새 이벤트 모델에서 netStatus 이벤트로 대체되었습니다. |
|
| onSync() | flash.net.SharedObject dispatches event: onSync | 새 이벤트 모델에서 sync 이벤트로 대체되었습니다. |
|
| setFps() | flash.net.SharedObject.fps | ActionScript 3.0에서 fps 속성에 설정합니다. 더 이상 기본 값을 가지지 않거나 부울 값을 반환하지 않습니다. |
|
| Sound class | flash.media.Sound | 이 클래스는 flash.media 패키지로 옮겨졌습니다. | |
| checkPolicyFile | flash.media.SoundChannel.stop() | flash.media.SoundChannel.stop() 메서드로 대체되었습니다. |
|
| duration | flash.media.Sound.length | ||
| id3 | flash.media.Sound.id3 | 데이터 유형이 Object에서 ID3Info로 변경되었습니다. ID3Info는 ID3 속성을 포함하는 새 클래스입니다. 또한 songname 속성의 철자가 songName으로 변경되었습니다. |
|
| position | flash.media.SoundChannel.position | SoundChannel 클래스로 옮겨졌습니다. | |
| attachSound() | 제거됨 | 사운드 데이터와 연결된 Sound 하위 클래스의 인스턴스를 만듭니다. 예를 들어, new Sound()를 대신 사용합니다. |
|
| getBytesLoaded() | flash.media.Sound.bytesLoaded | 접근자 속성으로 변경되었으며, 데이터 유형이 uint로 변경되었습니다. | |
| getBytesTotal() | flash.media.Sound.bytesTotal | 속성 접근자로 변경되었으며, 데이터 유형이 uint로 변경되었습니다. | |
| getPan() | flash.media.SoundTransform.pan | 접근자 속성으로 변경되었으며 SoundTransform 클래스로 옮겨졌습니다. | |
| getTransform() | flash.media.SoundMixer.soundTransform | 접근자 속성으로 변경되었으며, 데이터 유형이 SoundTransform으로 변경되었습니다. | |
| getVolume() | flash.media.SoundTransform.volume | flash.media.SoundTransform.volume 속성을 설정하여 사운드 볼륨을 제어합니다. |
|
| loadSound() | flash.media.Sound.load() | 첫 번째 매개 변수가 간단한 URL 문자열에서 URLRequest 객체로 변경되었습니다. 두 번째 매개 변수가 사운드를 최대한 빨리 재생할 것인지 여부를 나타내는 부울 값에서 SoundLoaderContext 객체로 변경되었습니다. | |
| onID3() | flash.media.Sound dispatches event: id3 | 새 이벤트 모델에서 id3 이벤트로 대체되었습니다. |
|
| onLoad() | flash.media.Sound dispatches event: complete | 새 이벤트 모델에서 complete 이벤트로 대체되었습니다. |
|
| onSoundComplete() | flash.media.SoundChannel dispatches event: soundComplete | 새 이벤트 모델에서 soundComplete 이벤트로 대체되었습니다. |
|
| setPan() | flash.media.SoundTransform.pan | 접근자 속성으로 변경되었으며 SoundTransform 클래스로 옮겨졌습니다. | |
| setTransform() | flash.media.SoundMixer.soundTransform | 접근자 속성으로 변경되었으며, 데이터 유형이 SoundTransform으로 변경되었습니다. | |
| setVolume() | flash.media.SoundChannel | 제거되었습니다. flash.media.SoundChannel.leftPeak 및 flash.media.SoundChannel.rightPeak를 사용하여 사운드 채널의 진폭을 모니터링합니다. |
|
| start() | flash.media.Sound.play() | loops 매개 변수의 데이터 유형이 Number에서 int로 변경되었습니다. 사운드 채널에서 사용되는 초기 사운드 변형을 지정하는 세 번째 매개 변수 sndTransform이 추가되었습니다. |
|
| stop() | flash.media.SoundChannel.stop() | ||
| Stage class | flash.display.Stage | 이 클래스는 flash.display 패키지로 옮겨졌습니다. ActionScript 3.0에서 Stage는 더 이상 전역 객체가 아닙니다. 새 DisplayObject.stage 속성을 사용하여 Stage에 액세스합니다. |
|
| align | flash.display.Stage.align | ||
| height | flash.display.Stage.stageHeight | flash.display.DisplayObject.height 속성과 충돌하지 않도록 이름이 height에서 stageHeight로 변경되었습니다. |
|
| scaleMode | flash.display.Stage.scaleMode | ||
| showMenu | flash.display.Stage.showDefaultContextMenu | 표시되는 메뉴를 잘 반영할 수 있도록 이름이 변경되었습니다. | |
| width | flash.display.Stage.stageWidth | flash.display.DisplayObject.width 속성과 충돌하지 않도록 이름이 width에서 stageWidth로 변경되었습니다. |
|
| addListener() | flash.events.EventDispatcher.addEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 addEventListener() 메서드를 상속하므로 addListener() 메서드를 정의하지 않아도 됩니다. |
|
| removeListener() | flash.events.EventDispatcher.removeEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 removeEventListener() 메서드를 상속하므로 클래스 관련 removeListener() 메서드를 정의하지 않아도 됩니다. |
|
| onResize | flash.display.Stage dispatches event: resize | 새 이벤트 모델에서 resize 이벤트로 대체되었습니다. |
|
| String class | String | 일반 표현식을 지원하는 세 개의 메서드 match(), replace() 및 search()가 새롭게 추가되었습니다. |
|
| concat() | String.concat() | 매개 변수가 ...(rest) 매개 변수 포맷으로 변경되었습니다. | |
| StyleSheet class | flash.text.StyleSheet | 이 클래스는 flash.text 패키지로 옮겨졌습니다. load() 및 onLoad() 멤버가 제거되었으며 일부 전용 함수 및 변수가 추가되었습니다. |
|
| StyleSheet | flash.text.StyleSheet.StyleSheet() | ||
| clear() | flash.text.StyleSheet.clear() | ||
| getStyle() | flash.text.StyleSheet.getStyle() | 매개 변수 이름이 n으로 변경되었습니다. |
|
| getStyleNames() | flash.text.StyleSheet.styleNames | 접근자 속성으로 변경되었습니다. | |
| load() | flash.net.URLLoader.load() | 새 URLLoader 및 URLRequest 클래스를 사용하여 URL을 로드합니다. | |
| onLoad() | flash.net.URLLoader dispatches event: complete | 새 이벤트 모델에서 complete 이벤트로 대체되었습니다. |
|
| parseCSS() | flash.text.StyleSheet.parseCSS() | ActionScript 3.0에서 부울 값 대신 void를 반환합니다. |
|
| setStyle() | flash.text.StyleSheet.setStyle() | 매개 변수 이름이 n으로 변경되고 스타일이 s로 변경되었습니다. |
|
| transform() | flash.text.StyleSheet.transform() | ||
| System class | flash.system.System | ||
| exactSettings | flash.system.Security.exactSettings | flash.System.Security 클래스로 옮겨졌습니다. | |
| useCodepage | flash.system.System.useCodePage | ActionScript 3.0의 경우 useCodePage의 문자 'P'가 대문자입니다. |
|
| onStatus() | 제거됨 | ActionScript 3.0 이벤트 모델에서 이 이벤트 핸들러는 사용되지 않습니다. | |
| setClipboard() | flash.system.System.setClipboard() | ||
| showSettings() | flash.system.Security.showSettings() | ||
| TextField class | flash.text.TextField | 이 클래스는 flash.text 패키지로 옮겨졌습니다. | |
| _alpha | flash.display.DisplayObject.alpha | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| antiAliasType | flash.text.TextField.antiAliasType | ||
| autoSize | flash.text.TextField.autoSize | ||
| background | flash.text.TextField.background | ||
| backgroundColor | flash.text.TextField.backgroundColor | ||
| border | flash.text.TextField.border | ||
| borderColor | flash.text.TextField.borderColor | ActionScript 3.0에서 Number 대신 uint를 반환합니다. | |
| bottomScroll | flash.text.TextField.bottomScrollV | ActionScript 3.0에서 Number 대신 uint를 반환합니다. | |
| condenseWhite | flash.text.TextField.condenseWhite | ||
| embedFonts | flash.text.TextField.embedFonts | ||
| filters | flash.display.DisplayObject.filters | ||
| gridFitType | flash.text.TextField.gridFitType | ||
| _height | flash.display.DisplayObject.height | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _highquality | flash.display.Stage.quality | 제거되었습니다. Stage 클래스의 quality 속성으로 대체되었습니다. |
|
| hscroll | flash.text.TextField.scrollH | 데이터 유형이 Number에서 uint로 변경되었습니다. 이름이 hscroll에서 scrollH로 변경되었습니다. |
|
| html | flash.text.TextField.htmlText | 제거되었습니다. ActionScript 3.0에서는 모든 텍스트 필드가 HTML 텍스트 필드로 처리됩니다. TextField.htmlText 속성을 사용하여 HTML 텍스트를 설정합니다. |
|
| htmlText | flash.text.TextField.htmlText | ||
| length | flash.text.TextField.length | 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| maxChars | flash.text.TextField.maxChars | 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| maxhscroll | flash.text.TextField.maxScrollH | 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| maxscroll | flash.text.TextField.maxScrollV | 데이터 유형이 Number에서 uint로 변경되었습니다. 이름에서 소문자 s가 대문자 S로 변경되었으며 세로 스크롤을 나타내기 위해 문자 V가 추가되었습니다. | |
| menu | flash.display.InteractiveObject.contextMenu | 이 속성은 InteractiveObject 클래스로부터 상속됩니다. | |
| mouseWheelEnabled | flash.text.TextField.mouseWheelEnabled | ||
| multiline | flash.text.TextField.multiline | ||
| _name | flash.display.DisplayObject.name | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _parent | flash.display.DisplayObject.parent | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. 데이터 유형이 MovieClip에서 DisplayObjectContainer로 변경되었습니다. | |
| password | flash.text.TextField.displayAsPassword | 일관성을 위해 속성의 이름이 변경되었습니다. | |
| _quality | flash.display.Stage.quality | Stage 클래스로 옮겨졌습니다. | |
| restrict | flash.text.TextField.restrict | ||
| _rotation | flash.display.DisplayObject.rotation | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| scroll | flash.text.TextField.scrollV | 데이터 유형이 Number에서 uint로 변경되었으며 이름이 scroll에서 scrollV로 변경되었습니다. |
|
| selectable | flash.text.TextField.selectable | ||
| sharpness | flash.text.TextField.sharpness | ||
| _soundbuftime | flash.media.SoundMixer.bufferTime | SWF 파일의 전역 사운드 컨트롤에 대한 속성 및 메서드는 flash.media.SoundMixer 클래스에 있습니다. | |
| styleSheet | flash.text.TextField.styleSheet | ||
| tabEnabled | flash.display.InteractiveObject.tabEnabled | 이 속성은 InteractiveObject 클래스로부터 상속됩니다. | |
| tabIndex | flash.display.InteractiveObject.tabIndex | 이 속성은 InteractiveObject 클래스로부터 상속됩니다. | |
| _target | 제거됨 | ActionScript 3.0에서는 표시 객체를 직접 식별하므로 더 이상 경로를 식별할 필요가 없습니다. | |
| text | flash.text.TextField.text | ||
| textColor | flash.text.TextField.textColor | 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| textHeight | flash.text.TextField.textHeight | ||
| textWidth | flash.text.TextField.textWidth | ||
| thickness | flash.text.TextField.thickness | ||
| type | flash.text.TextField.type | ||
| _url | flash.display.LoaderInfo.url | ||
| variable | 제거됨 | 이 변수는 ActionScript 3.0에서 더 이상 필요하지 않습니다. | |
| _visible | flash.display.DisplayObject.visible | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _width | flash.display.DisplayObject.width | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| wordWrap | flash.text.TextField.wordWrap | ||
| _x | flash.display.DisplayObject.x | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _xmouse | flash.display.DisplayObject.mouseX | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _xscale | flash.display.DisplayObject.scaleX | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _y | flash.display.DisplayObject.y | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _ymouse | flash.display.DisplayObject.mouseY | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _yscale | flash.display.DisplayObject.scaleY | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| addListener() | flash.events.EventDispatcher.addEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 addEventListener() 메서드를 상속하므로 클래스 관련 addListener() 메서드를 정의하지 않아도 됩니다. |
|
| getDepth() | flash.display.DisplayObjectContainer | 제거되었습니다. 텍스트 필드 심도를 확인하려면 DisplayObjectContainer 클래스의 메서드를 사용합니다. | |
| getFontList() | flash.text.Font.enumerateFonts() | 제거되었습니다. true로 설정된 enumerateDeviceFonts 매개 변수와 함께 Font.enumerateFonts()를 사용합니다. |
|
| getNewTextFormat() | flash.text.TextField.defaultTextFormat | 이름이 getNewTextFormat에서 defaultTextFormat으로 변경되었습니다. 메서드에서 접근자 속성으로 변경되었습니다. |
|
| getTextFormat() | flash.text.TextField.getTextFormat() | 두 매개 변수의 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| onChanged() | flash.text.TextField dispatches event: change | 새 이벤트 모델에서 change 이벤트로 대체되었습니다. |
|
| onKillFocus() | flash.display.InteractiveObject dispatches event: focusOut | 새 이벤트 모델에서 focusOut 이벤트로 대체되었습니다. |
|
| onScroller() | flash.text.TextField dispatches event: scroll | 새 이벤트 모델에서 scroll 이벤트로 대체되었습니다. |
|
| onSetFocus() | flash.display.InteractiveObject dispatches event: focusIn | 새 이벤트 모델에서 focusIn 이벤트로 대체되었습니다. |
|
| removeListener() | flash.events.EventDispatcher.removeEventListener() | 새 이벤트 모델에서 클래스는 EventDispatcher 클래스의 removeEventListener() 메서드를 상속하므로 클래스 관련 removeListener() 메서드를 정의하지 않아도 됩니다. |
|
| removeTextField() | flash.display.DisplayObjectContainer.removeChild() | 제거되었습니다. 텍스트 필드가 들어 있는 부모 표시 객체 컨테이너의 removeChild() 메서드를 호출합니다. |
|
| replaceSel() | flash.text.TextField.replaceSelectedText() | 이름이 replacesel()에서 replaceSelectedText()로 변경되었습니다. newText 매개 변수를 문자열 값으로 대체합니다. |
|
| replaceText() | flash.text.TextField.replaceText() | 처음 두 매개 변수의 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| setNewTextFormat() | flash.text.TextField.defaultTextFormat | 이름이 setNewTextFormat에서 defaultTextFormat으로 변경되었습니다. 메서드에서 접근자 속성으로 변경되었습니다. |
|
| setTextFormat() | flash.text.TextField.setTextFormat() | 매개 변수의 순서가 변경되었습니다. 인덱스 매개 변수의 데이터 유형이 Number에서 int로 변경되었습니다. | |
| TextFormat class | flash.text.TextFormat | 이 클래스는 flash.text 패키지로 옮겨졌습니다. | |
| align | flash.text.TextFormat.align | ||
| blockIndent | flash.text.TextFormat.blockIndent | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Number 데이터 유형의 멤버가 아니기 때문입니다. |
|
| bold | flash.text.TextFormat.bold | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Boolean 데이터 유형의 멤버가 아니기 때문입니다. |
|
| bullet | flash.text.TextFormat.bullet | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Boolean 데이터 유형의 멤버가 아니기 때문입니다. |
|
| color | flash.text.TextFormat.color | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Number 데이터 유형의 멤버가 아니기 때문입니다. |
|
| font | flash.text.TextFormat.font | ||
| indent | flash.text.TextFormat.indent | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Number 데이터 유형의 멤버가 아니기 때문입니다. |
|
| italic | flash.text.TextFormat.bullet | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Boolean 데이터 유형의 멤버가 아니기 때문입니다. |
|
| kerning | flash.text.TextFormat.kerning | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Boolean 데이터 유형의 멤버가 아니기 때문입니다. |
|
| leading | flash.text.TextFormat.leading | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Number 데이터 유형의 멤버가 아니기 때문입니다. |
|
| leftMargin | flash.text.TextFormat.leftMargin | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Number 데이터 유형의 멤버가 아니기 때문입니다. |
|
| letterSpacing | flash.text.TextFormat.letterSpacing | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Number 데이터 유형의 멤버가 아니기 때문입니다. |
|
| rightMargin | flash.text.TextFormat.rightMargin | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Number 데이터 유형의 멤버가 아니기 때문입니다. |
|
| size | flash.text.TextFormat.size | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Number 데이터 유형의 멤버가 아니기 때문입니다. |
|
| underline | flash.text.TextFormat.underline | ActionScript 3.0에서 데이터 유형이 Object로 변경되었습니다. 이 속성에 사용할 수 있는 null 값이 ActionScript 3.0에서는 Boolean 데이터 유형의 멤버가 아니기 때문입니다. |
|
| url | flash.text.TextFormat.url | ||
| TextFormat | flash.text.TextFormat.TextFormat() | size, color, bold, italic, underline, url, leftMargin, rightMargin, indent 및 leading 매개 변수가 모두 객체로 변환되었습니다. |
|
| getTextExtent() | 제거됨 | 한 행의 텍스트가 들어 있는 필드를 측정하려면 flash.text.TextField의 속성을 사용하고, 텍스트 필드 내의 내용을 측정하려면 flash.text.TextLineMetrics를 사용합니다. | |
| TextRenderer class | flash.text.TextRenderer | 위치가 변경되었습니다. flash.text 패키지로 옮겨졌습니다. | |
| maxLevel | flash.text.TextRenderer.maxLevel | ActionScript 3.0에서 uint로 정의됩니다. |
|
| setAdvancedAntialiasingTable() | flash.text.TextRenderer.setAdvancedAntiAliasingTable() | fontStyle 및 colorType 매개 변수 값을 각각 FontStyle 및 TextColorType 상수를 사용하여 설정할 수 있습니다. advancedAntiAliasingTable 매개 변수는 하나 이상의 CSMSettings 객체로 구성된 배열을 받습니다. |
|
| TextSnapshot class | flash.text.TextSnapshot | 이 클래스는 flash.text 패키지로 옮겨졌습니다. 여러 매개 변수, 일부 메서드 이름 및 일부 반환 유형이 변경되었습니다. | |
| findText() | flash.text.TextSnapshot.findText() | startIndex 매개 변수의 이름이 beginIndex로 변경되었습니다. startIndex 매개 변수의 데이터 유형이 Number에서 int로 변경되었습니다. |
|
| getCount() | flash.text.TextSnapshot.charCount | 메서드에서 접근자 속성으로 변경되었습니다. 데이터 반환 유형이 Number에서 uint로 변경되었습니다. | |
| getSelected() | flash.text.TextSnapshot.getSelected() | 매개 변수의 데이터 유형이 Number에서 uint로 변경되었으며, 이름이 start 및 end에서 beginIndex 및 EndIndex로 각각 변경되었습니다. |
|
| getSelectedText() | flash.text.TextSnapshot.getSelectedText() | ActionScript 3.0에서 매개 변수의 기본값은 false입니다. |
|
| getText() | flash.text.TextSnapshot.getText() | start 및 end 매개 변수의 데이터 유형이 Number에서 uint으로 변경되었으며, 이름이 start 및 end에서 beginIndex 및 endIndex로 각각 변경되었습니다. |
|
| getTextRunInfo() | flash.text.TextSnapshot.getTextRunInfo() | 매개 변수의 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| hitTestTextNearPos() | flash.text.TextSnapshot.hitTestTextNearPos() | closeDist 매개 변수의 이름이 maxDistance로 변경되었으며, 기본값은 0입니다. |
|
| setSelectColor() | flash.text.TextSnapshot.setSelectColor() | 매개 변수의 데이터 유형이 Number에서 uint로 변경되었으며, 기본값은 0xFFFF00입니다. | |
| setSelected() | flash.text.TextSnapshot.setSelected() | start 및 end 매개 변수의 데이터 유형이 Number에서 uint으로 변경되었으며, 이름이 start 및 end에서 beginIndex 및 endIndex로 각각 변경되었습니다. |
|
| Video class | flash.media.Video | 이 클래스는 flash.media 패키지로 옮겨졌습니다. 이제 ActionScript에서 Video() 생성자를 사용하여 Video 객체를 동적으로 만들 수 있습니다. attachCamera() 또는 attachNetStream()을 사용하여 비디오 스트림을 Video 객체에 추가합니다. |
|
| _alpha | flash.display.DisplayObject.alpha | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| deblocking | flash.media.Video.deblocking | 데이터 유형이 Number에서 int로 변경되었습니다. | |
| _height | flash.display.DisplayObject.height | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| height | flash.media.Video.videoHeight | 데이터 유형이 Number에서 int로 변경되었습니다. | |
| _name | flash.display.DisplayObject.name | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _parent | flash.display.DisplayObject.parent | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _rotation | flash.display.DisplayObject.rotation | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| smoothing | flash.media.Video.smoothing | ||
| _visible | flash.display.DisplayObject.visible | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _width | flash.display.DisplayObject.width | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| width | flash.media.Video.videoWidth | 데이터 유형이 Number에서 int로 변경되었습니다. | |
| _x | flash.display.DisplayObject.x | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _xmouse | flash.display.DisplayObject.mouseX | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _xscale | flash.display.DisplayObject.scaleX | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _y | flash.display.DisplayObject.y | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _ymouse | flash.display.DisplayObject.mouseY | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| _yscale | flash.display.DisplayObject.scaleY | 이 속성은 DisplayObject 클래스로부터 상속됩니다. 이름의 맨 앞에 있었던 밑줄이 제거되었습니다. | |
| attachVideo() | flash.media.Video.attachNetStream() | Camera 객체의 비디오 스트림을 지정하려면 flash.media.Video.attachCamera()를 사용합니다. |
|
| clear() | flash.media.Video.clear() | ||
| XML class | flash.xml.XMLDocument | 이 클래스는 flash.xml 패키지로 옮겨졌으며, E4X(ECMAScript for XML)를 구현한 새로운 최상위 XML 클래스와의 충돌을 피하기 위해 이름이 XMLDocument로 변경되었습니다. | |
| contentType | flash.net.URLRequest.contentType | ||
| docTypeDecl | flash.xml.XMLDocument.docTypeDecl | ||
| idMap | flash.xml.XMLDocument.idMap | ||
| ignoreWhite | flash.xml.XMLDocument.ignoreWhite | ||
| loaded | 제거됨 | XMLDocument 클래스에서 파일 로드 기능이 제거되었습니다. 대신 URLLoader를 사용합니다. | |
| status | 제거됨 | 구문 분석 실패가 예외를 통해 보고됩니다. | |
| xmlDecl | flash.xml.XMLDocument.xmlDecl | ||
| XML | flash.xml.XMLDocument.XMLDocument() | ||
| addRequestHeader() | flash.net.URLRequest.requestHeaders | ||
| createElement() | flash.xml.XMLDocument.createElement() | ||
| createTextNode() | flash.xml.XMLDocument.createTextNode() | ||
| getBytesLoaded() | flash.net.URLLoader.bytesLoaded | XMLDocument 클래스에서 파일 로드 기능이 제거되었습니다. 대신 URLLoader를 사용합니다. | |
| getBytesTotal() | flash.net.URLLoader.bytesTotal | XMLDocument 클래스에서 파일 로드 기능이 제거되었습니다. 대신 URLLoader를 사용합니다. | |
| load() | 제거됨 | XMLDocument 클래스(ActionScript 2.0의 경우 XML 클래스)에서 파일 로드 기능이 제거되었습니다. 대신 URLLoader를 사용합니다. | |
| onData() | flash.net.URLLoader dispatches event: complete | XMLDocument 클래스에서 파일 로드 기능이 제거되었습니다. 대신 URLLoader를 사용합니다. 새 이벤트 모델에서 complete 이벤트로 대체되었습니다. |
|
| onHTTPStatus() | flash.net.URLLoader dispatches event: httpStatus | XMLDocument 클래스에서 파일 로드 기능이 제거되었습니다. 대신 URLLoader를 사용합니다. 새 이벤트 모델에서 httpStatus 이벤트로 대체되었습니다. |
|
| onLoad() | flash.net.URLLoader dispatches event: complete | XMLDocument 클래스에서 파일 로드 기능이 제거되었습니다. 대신 URLLoader를 사용합니다. 새 이벤트 모델에서 complete 이벤트로 대체되었습니다. |
|
| parseXML() | flash.xml.XMLDocument.parseXML() | ||
| send() | 제거됨 | XMLDocument 클래스(ActionScript 2.0의 경우 XML 클래스)에서 보내기 기능이 제거되었습니다. 대신 flash.net 패키지의 함수와 클래스를 사용합니다. | |
| sendAndLoad() | 제거됨 | XMLDocument 클래스(ActionScript 2.0의 경우 XML 클래스)에서 보내기 및 로드 기능이 제거되었습니다. 대신 URLRequest 및 URLLoader를 사용합니다. | |
| XMLNode class | flash.xml.XMLNode | 위치가 변경되었습니다. 이 클래스는 flash.xml 패키지로 옮겨졌습니다. | |
| nodeType | flash.xml.XMLNode.nodeType | 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| XMLNode | flash.xml.XMLNode.XMLNode() | type 매개 변수의 데이터 유형이 Number에서 uint로 변경되었습니다. |
|
| XMLSocket class | flash.net.XMLSocket | 이 클래스는 flash.net 패키지로 옮겨졌습니다. | |
| XMLSocket | flash.net.XMLSocket.XMLSocket() | 호스트 및 포트를 지정하는 두 개의 선택적 매개 변수가 추가되었습니다. | |
| connect() | flash.net.XMLSocket.connect() | port 매개 변수의 데이터 유형이 int로 변경되었습니다. |
|
| onClose() | flash.net.XMLSocket dispatches event: close | 새 이벤트 모델에서 close 이벤트로 대체되었습니다. |
|
| onConnect() | flash.net.XMLSocket dispatches event: connect | 새 이벤트 모델에서 connect 이벤트로 대체되었습니다. |
|
| onData() | flash.net.XMLSocket dispatches event: data | 새 이벤트 모델에서 data 이벤트로 대체되었습니다. |
|
| onXML() | 제거됨 | ActionScript 3.0에서는 data 이벤트만 전달되므로 E4X 또는 이전 XML(XMLDocument 클래스) 파서를 사용할 것인지 선택할 수 있습니다. 기존 onXML 이벤트 핸들러는 XML이 구문 분석된 후 호출되기 때문에 XML(E4X) 클래스 또는 XMLDocument(이전) 클래스를 선택해서 XML 구문을 분석할 수 있는 ActionScript 3.0에서는 사용되지 않습니다. |
|
이 페이지에 의견 추가되면 전자 메일 알림 받기 | 의견 보고서
현재 페이지: http://livedocs.adobe.com/flash/9.0_kr/ActionScriptLangRefV3/migration.html