다음 표는 ActionScript 2.0과 3.0의 차이점을 설명합니다.
| ActionScript 2.0 | ActionScript 3.0 | 주석 | |
|---|---|---|---|
| Accessibility (클래스) | flash.accessibility.Accessibility | ||
| isActive() 메서드 | flash.accessibility.Accessibility.active | 함수에서 접근자 속성으로 변경되었습니다. 이름이 isActive에서 active로 변경되었습니다. | |
| updateProperties() 메서드 | flash.accessibility.Accessibility.updateProperties() | ||
| arguments (클래스) | arguments | ||
| caller 속성 | 제거됨. | 호출자 함수에서 arguments.callee를 피호출자 함수에게 인수로 전달하여 동일한 기능을 수행할 수 있습니다. 예제를 보려면 arguments.callee의 예제 부분을 참조하십시오. | |
| Array (클래스) | |||
| 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 (클래스) | 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 (클래스) | 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 매개 변수에 uint 값을 전달해야 합니다. | |
| 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 (클래스) | |||
| quality 속성 | flash.filters.BlurFilter.quality | quality 속성 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| Button (클래스) | 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 (클래스) | 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 (클래스) | flash.system.Capabilities | 클래스 이름이 소문자에서 첫 번째 문자가 대문자인 형태로 변경되었습니다. | |
| Color (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | |||
| clone() 메서드 | flash.filters.ConvolutionFilter.clone() | BitmapFilter 객체를 반환합니다. | |
| Date (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | Error | 디버깅 지원을 위해 새로운 getStackTrace() 메서드가 추가되었습니다. | |
| ExternalInterface (클래스) | flash.external.ExternalInterface | 이 클래스의 두 메서드에 대한 매개 변수가 변경되었습니다. | |
| addCallback() 메서드 | flash.external.ExternalInterface.addCallback() | ActionScript 3.0 버전에서 이 메서드는 instance 매개 변수를 받지 않습니다. method 매개 변수가 함수, 클래스 메서드 또는 특정 클래스 인스턴스의 메서드에 대한 참조를 받을 수 있는 closure 매개 변수로 대체되었습니다. 또한 보안상의 이유로 호출 코드가 closure 참조에 액세스할 수 없는 경우 SecurityError 예외가 발생합니다. | |
| call() 메서드 | flash.external.ExternalInterface.call() | 문제가 발생할 경우 ActionScript 3.0 버전의 이 메서드는 오류 또는 SecurityError 예외를 발생시키고 null을 반환합니다. | |
| FileReference (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | flash.filters.GradientBevelFilter | ||
| quality 속성 | flash.filters.GradientBevelFilter.quality | 이 속성의 데이터 유형이 Number에서 int로 변경되었습니다. | |
| clone() 메서드 | flash.filters.GradientBevelFilter.clone() | GradientBevelFilter 객체 대신 BitmapFilter 객체를 반환합니다. | |
| GradientGlowFilter (클래스) | 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 (클래스) | 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 (클래스) | 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() 메서드 | 제거됨. | 보안상의 이유로 제거되었습니다. In ActionScript 3.0에서는 flash.display.InteractiveObject keyDown 이벤트에 대한 이벤트 핸들러를 작성합니다. | |
| 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 (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | flash.ui.Mouse | ||
| addListener() 메서드 | flash.events.EventDispatcher.addEventListener() | 새 ActionScript 3.0 이벤트 모델에서 모든 표시 객체는 EventDispatcher 클래스의 addEventListener() 메서드를 상속하므로 클래스 관련 addListener() 메서드를 정의하지 않아도 됩니다. | |
| hide() 메서드 | flash.ui.Mouse.hide() | void를 반환하도록 변경되었습니다. | |
| removeListener() 메서드 | flash.events.EventDispatcher.removeEventListener() | 새 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 (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | Number | ||
| Number 생성자 | Number.Number() | ActionScript 3.0에서 Number() 생성자 및 Number() 전역 함수는 동일한 효과를 갖습니다. 또한 Number 객체와 리터럴 숫자 값 사이에는 차이가 없습니다. | |
| Object (클래스) | 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 (클래스) | 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 (클래스) | |||
| containsRectangle() 메서드 | flash.geom.Rectangle.containsRect() | 일관성을 위해 이름이 변경되었습니다. | |
| security (클래스) | flash.system.Security | 이 클래스는 flash.system 패키지로 옮겨졌습니다. | |
| Selection (클래스) | 제거됨. | 이 클래스의 메서드는 다른 클래스로 옮겨졌습니다. | |
| 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 (클래스) | 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 (클래스) | 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 (클래스) | 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.width 속성과 충돌하지 않도록 이름이 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 (클래스) | String | 일반 표현식을 지원하는 세 개의 메서드 match(), replace() 및 search()가 새롭게 추가되었습니다. | |
| concat() 메서드 | String.concat() | 매개 변수가 ...(rest) 매개 변수 포맷으로 변경되었습니다. | |
| StyleSheet (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | 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 (클래스) | flash.xml.XMLNode | 위치가 변경되었습니다. 이 클래스는 flash.xml 패키지로 옮겨졌습니다. | |
| nodeType 속성[읽기 전용] | flash.xml.XMLNode.nodeType | 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| XMLNode 생성자 | flash.xml.XMLNode.XMLNode() | type 매개 변수의 데이터 유형이 Number에서 uint로 변경되었습니다. | |
| XMLSocket (클래스) | 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에서는 사용되지 않습니다. | |