한때는 정말 미친듯이 개발했었던 액션스크립트.
이제는 잘 쓰지 않지만 가끔씩 봐야 할 때가 있다.
이중에 몇개나 쓰겠냐 만은.
addChild(child:DisplayObject):DisplayObject
이 DisplayObjectContainer 인스턴스에 자식 DisplayObject 인스턴스를 추가합니다.
addChildAt(child:DisplayObject, index:int):DisplayObject
이 DisplayObjectContainer 인스턴스에 자식 DisplayObject 인스턴스를 추가합니다.
addDataEffectItem(item:Object):void
Adds an item renderer if a data change effect is running.
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다.
addStyleClient(styleClient:IAdvancedStyleClient):void
Adds a non-visual style client to this component instance.
areInaccessibleObjectsUnderPoint(point:Point):Boolean
지정된 point 점으로 DisplayObjectContainer.getObjectsUnderPoint() 메서드를 호출하여 반환된 목록에서 임의의 표시 객체가 보안 제한 사항으로 인해 생략되는지 여부를 나타냅니다.
calculateDropIndex(event:DragEvent = null):int
Returns the index where the dropped items should be added to the drop target.
callLater(method:Function, args:Array = null):void
Queues a function to be called later.
clearStyle(styleProp:String):void
Deletes a style property from this component instance.
contains(child:DisplayObject):Boolean
지정된 표시 객체가 DisplayObjectContainer 인스턴스의 자식인지 아니면 인스턴스 자체인지를 확인합니다.
contentToGlobal(point:Point):Point
Converts a Point object from content coordinates to global coordinates.
contentToLocal(point:Point):Point
Converts a Point object from content to local coordinates.
createAutomationIDPart(child:IAutomationObject):Object
Returns a set of properties that identify the child within this container.
createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
Returns a set of properties that identify the child within this container.
createItemRenderer(data:Object):IListItemRenderer
[재정의] Get the appropriate renderer, using the default renderer if none is specified.
createReferenceOnParentDocument(parentDocument:IFlexDisplayObject):void
Creates an id reference to this IUIComponent object on its parent document object.
deleteReferenceOnParentDocument(parentDocument:IFlexDisplayObject):void
Deletes the id reference to this IUIComponent object on its parent document object.
determineTextFormatFromStyles():mx.core:UITextFormat
Returns a UITextFormat object corresponding to the text styles for this UIComponent.
dispatchEvent(event:Event):Boolean
[재정의] Dispatches an event into the event flow.
drawFocus(isFocused:Boolean):void
Shows or hides the focus indicator around this component.
drawRoundRect(x:Number, y:Number, w:Number, h:Number, r:Object = null, c:Object = null, alpha:Object = null, rot:Object = null, gradient:String = null, ratios:Array = null, hole:Object = null):void
Programmatically draws a rectangle into this skin's Graphics object.
effectFinished(effectInst:IEffectInstance):void
Called by the effect instance when it stops playing on the component.
effectStarted(effectInst:IEffectInstance):void
Called by the effect instance when it starts playing on the component.
endEffectsStarted():void
Ends all currently playing effects on the component.
executeBindings(recurse:Boolean = false):void
Executes all the bindings for which the UIComponent object is the destination.
findString(str:String):Boolean
Finds an item in the list based on a String, and moves the selection to it.
finishPrint(obj:Object, target:IFlexDisplayObject):void
Called after printing is complete.
getAutomationChildAt(index:int):IAutomationObject
Provides the automation object at the specified index.
getAutomationChildren():Array
Provides the automation object list .
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
targetCoordinateSpace 객체의 좌표계를 기준으로 표시 객체의 영역을 정의하는 사각형을 반환합니다.
getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
Returns the x coordinate of the element's bounds at the specified element size.
getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
Returns the y coordinate of the element's bounds at the specified element size.
getChildAt(index:int):DisplayObject
지정된 인덱스에 존재하는 자식 표시 객체 인스턴스를 반환합니다.
getChildByName(name:String):DisplayObject
지정된 이름을 가진 자식 표시 객체를 반환합니다.
getChildIndex(child:DisplayObject):int
자식 DisplayObject 인스턴스의 인덱스 위치를 반환합니다.
getClassStyleDeclarations():Array
Finds the type selectors for this UIComponent instance.
getConstraintValue(constraintName:String):*
Returns a layout constraint value, which is the same as getting the constraint style for this component.
getExplicitOrMeasuredHeight():Number
A convenience method for determining whether to use the explicit or measured height
getExplicitOrMeasuredWidth():Number
A convenience method for determining whether to use the explicit or measured width
getFocus():InteractiveObject
Gets the object that currently has focus.
getItemRendererFactory(data:Object):IFactory
Return the appropriate factory, using the default factory if none specified.
getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's layout height.
getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's layout width.
getLayoutBoundsX(postLayoutTransform:Boolean = true):Number
Returns the x coordinate that the element uses to draw on screen.
getLayoutBoundsY(postLayoutTransform:Boolean = true):Number
Returns the y coordinate that the element uses to draw on screen.
getLayoutMatrix():Matrix
Returns the transform matrix that is used to calculate the component's layout relative to its siblings.
getLayoutMatrix3D():Matrix3D
Returns the layout transform Matrix3D for this element.
getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's maximum height.
getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's maximum width.
getMinBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's minimum height.
getMinBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's minimum width.
getObjectsUnderPoint(point:Point):Array
이 DisplayObjectContainer 인스턴스의 자식(또는 손자 등)으로서 지정된 점 아래에 있는 객체의 배열을 반환합니다.
getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number
Returns the element's preferred height.
getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number
Returns the element's preferred width.
getRect(targetCoordinateSpace:DisplayObject):Rectangle
대상 좌표 공간 매개 변수에 의해 정의되는 좌표계를 기준으로 모양의 획을 제외하고 표시 객체의 경계를 정의하는 사각형을 반환합니다.
getRendererSemanticValue(target:Object, semanticProperty:String):Object
Returns true or false to indicates whether the effect should play on the target.
getRepeaterItem(whichRepeater:int = -1):Object
Returns the item in the dataProvider that was used by the specified Repeater to produce this Repeater, or null if this Repeater isn't repeated.
getStyle(styleProp:String):*
Gets a style property that has been set anywhere in this component's style lookup chain.
globalToContent(point:Point):Point
Converts a Point object from global to content coordinates.
globalToLocal(point:Point):Point
Point 객체를 Stage 전역 좌표에서 표시 객체의 로컬 좌표로 변환합니다.
globalToLocal3D(point:Point):Vector3D
Stage(전역) 좌표의 2차원 점을 3차원 표시 객체(로컬) 좌표로 변환합니다.
hasCSSState():Boolean
Returns true if currentCSSState is not null.
hasEventListener(type:String):Boolean
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다.
hasOwnProperty(name:String):Boolean
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.
hasState(stateName:String):Boolean
Determines whether the specified state has been defined on this UIComponent.
hideDropFeedback(event:DragEvent):void
Hides the drop indicator under the mouse pointer that indicates that a drag and drop operation is allowed.
hitTestObject(obj:DisplayObject):Boolean
표시 객체의 경계 상자를 평가하여 obj 표시 객체의 경계 상자와 겹치거나 교차하는지 확인합니다.
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
표시 객체를 평가하여 x 및 y 매개 변수에 의해 지정된 점과 겹치거나 교차하는지 확인합니다.
horizontalGradientMatrix(x:Number, y:Number, width:Number, height:Number):Matrix
Returns a box Matrix which can be passed to the drawRoundRect() method as the rot parameter when drawing a horizontal gradient.
indexToItemRenderer(index:int):IListItemRenderer
Get an item renderer for the index of an item in the data provider, if one exists.
indicesToIndex(rowIndex:int, colIndex:int):int
Computes the offset into the data provider of the item at colIndex, rowIndex.
initialize():void
Initializes the internal structure of this component.
initializeRepeaterArrays(parent:IRepeaterClient):void
Initializes various properties which keep track of repeated instances of this component.
invalidateDisplayList():void
Marks a component so that its updateDisplayList() method gets called during a later screen update.
invalidateLayering():void
Called by a component's items to indicate that their depth property has changed.
invalidateLayoutDirection():void
An element must call this method when its layoutDirection changes or when its parent's layoutDirection changes.
invalidateList():void
Refresh all rows on the next update.
invalidateProperties():void
Marks a component so that its commitProperties() method gets called during a later screen update.
invalidateSize():void
Marks a component so that its measure() method gets called during a later screen update.
isItemHighlighted(data:Object):Boolean
Determines if the item renderer for a data provider item is highlighted (is rolled over via the mouse or under the caret due to keyboard navigation).
isItemSelectable(data:Object):Boolean
Determines if the item renderer for a data provider item is selectable.
isItemSelected(data:Object):Boolean
Determines if the item renderer for a data provider item is selected.
isItemShowingCaret(data:Object):Boolean
Determines if the item renderer for a data provider item is the item under the caret due to keyboard navigation.
isItemVisible(item:Object):Boolean
Determines if an item is being displayed by a renderer.
isPrototypeOf(theClass:Object):Boolean
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.
itemRendererContains(renderer:IListItemRenderer, object:DisplayObject):Boolean
Determines whether a renderer contains (or owns) a display object.
itemRendererToIndex(itemRenderer:IListItemRenderer):int
Returns the index of the item in the data provider of the item being rendered by this item renderer.
itemToDataTip(data:Object):String
Returns the dataTip string the renderer would display for the given data object based on the dataTipField and dataTipFunction properties.
itemToIcon(data:Object):Class
Returns the class for an icon, if any, for a data item, based on the iconField and iconFunction properties.
itemToItemRenderer(item:Object):IListItemRenderer
Returns the item renderer for a given item in the data provider, if there is one.
itemToLabel(data:Object):String
Returns the string the renderer would display for the given data object based on the labelField and labelFunction properties.
local3DToGlobal(point3d:Vector3D):Point
3차원 표시 객체의 로컬 좌표에 있는 3차원 점을 Stage 전역 좌표의 2차원 점으로 변환합니다.
localToContent(point:Point):Point
Converts a Point object from local to content coordinates.
localToGlobal(point:Point):Point
Point 객체를 표시 객체의 로컬 좌표에서 Stage 전역 좌표로 변환합니다.
matchesCSSState(cssState:String):Boolean
Returns true if cssState matches currentCSSState.
matchesCSSType(cssType:String):Boolean
Determines whether this instance is the same as, or is a subclass of, the given type.
measureHeightOfItems(index:int = -1, count:int = 0):Number
Measures a set of items from the data provider using the current item renderer and returns the sum of the heights of those items.
measureHTMLText(htmlText:String):flash.text:TextLineMetrics
Measures the specified HTML text, which can contain HTML tags such as <font> and <b>, assuming that it is displayed in a single-line UITextField using a UITextFormat determined by the styles of this UIComponent.
measureText(text:String):flash.text:TextLineMetrics
Measures the specified text, assuming that it is displayed in a single-line UITextField (or UIFTETextField) using a UITextFormat determined by the styles of this UIComponent.
measureWidthOfItems(index:int = -1, count:int = 0):Number
Measures a set of items from the data provider using the current item renderer and returns the maximum width found.
move(x:Number, y:Number):void
Moves the component to a specified position within its parent.
notifyStyleChangeInChildren(styleProp:String, recursive:Boolean):void
Propagates style changes to the children.
owns(child:DisplayObject):Boolean
Returns true if the chain of owner properties points from child to this UIComponent.
parentChanged(p:DisplayObjectContainer):void
Called by Flex when a UIComponent object is added to or removed from a parent.
prepareToPrint(target:IFlexDisplayObject):Object
Prepares an IFlexDisplayObject for printing.
propertyIsEnumerable(name:String):Boolean
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.
regenerateStyleCache(recursive:Boolean):void
Builds or rebuilds the CSS style cache for this component and, if the recursive parameter is true, for all descendants of this component as well.
registerEffects(effects:Array):void
For each effect event, registers the EffectManager as one of the event listeners.
removeChild(child:DisplayObject):DisplayObject
지정된 자식 DisplayObject 인스턴스를 DisplayObjectContainer 인스턴스의 자식 목록에서 제거합니다.
removeChildAt(index:int):DisplayObject
DisplayObjectContainer 자식 목록에서 지정된 인덱스 위치에 있는 자식 DisplayObject를 제거합니다.
removeChildren(beginIndex:int = 0, endIndex:int = 0x7fffffff):void
모든 자식 DisplayObject 인스턴스를 DisplayObjectContainer 인스턴스의 자식 목록에서 제거합니다.
removeDataEffectItem(item:Object):void
Removes an item renderer if a data change effect is running.
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher 객체에서 리스너를 제거합니다.
removeStyleClient(styleClient:IAdvancedStyleClient):void
Removes a non-visual style client from this component instance.
replayAutomatableEvent(event:Event):Boolean
Replays the specified event.
requestSoftKeyboard():Boolean
가상 키보드를 표시합니다.
resolveAutomationIDPart(criteria:Object):Array
Resolves a child by using the id provided.
resumeBackgroundProcessing():void
[정적] Resumes the background processing of methods queued by callLater(), after a call to suspendBackgroundProcessing().
scrollToIndex(index:int):Boolean
Ensures that the data provider item at the given index is visible.
setActualSize(w:Number, h:Number):void
Sizes the object.
setChildIndex(child:DisplayObject, index:int):void
표시 객체 컨테이너에서 기존 자식의 위치를 변경합니다.
setConstraintValue(constraintName:String, value:*):void
Sets a layout constraint value, which is the same as setting the constraint style for this component.
setCurrentState(stateName:String, playTransition:Boolean = true):void
Set the current state.
setFocus():void
Sets the focus to this component.
setLayoutBoundsPosition(x:Number, y:Number, postLayoutTransform:Boolean = true):void
Sets the coordinates that the element uses to draw on screen.
setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean = true):void
Sets the layout size of the element.
setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void
Sets the transform Matrix that is used to calculate the component's layout size and position relative to its siblings.
setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void
Sets the transform Matrix3D that is used to calculate the component's layout size and position relative to its siblings.
setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.
setStyle(styleProp:String, newValue:*):void
Sets a style property on this component instance.
setVisible(value:Boolean, noEvent:Boolean = false):void
Called when the visible property changes.
showDropFeedback(event:DragEvent):void
Displays a drop indicator under the mouse pointer to indicate that a drag and drop operation is allowed and where the items will be dropped.
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
지정된 Sprite를 드래그할 수 있도록 합니다.
startTouchDrag(touchPointID:int, lockCenter:Boolean = false, bounds:Rectangle = null):void
터치 지원 장치에서 지정된 스프라이트를 드래그할 수 있도록 합니다.
stopAllMovieClips():void
이 객체가 루트로 지정된 모든 MovieClip의 타임라인 실행을 재귀적으로 중지합니다.
stopDrag():void
startDrag() 메서드를 종료합니다.
stopTouchDrag(touchPointID:int):void
startTouchDrag() 메서드를 종료합니다. 터치 지원 장치에서 사용합니다.
styleChanged(styleProp:String):void
Detects changes to style properties.
stylesInitialized():void
Flex calls the stylesInitialized() method when the styles for a component are first initialized.
suspendBackgroundProcessing():void
[정적] Blocks the background processing of methods queued by callLater(), until resumeBackgroundProcessing() is called.
swapChildren(child1:DisplayObject, child2:DisplayObject):void
지정된 두 개의 자식 객체의 z 순서(전후 순서)를 맞바꿉니다.
swapChildrenAt(index1:int, index2:int):void
자식 목록에서 지정된 두 곳의 인덱스 위치에 있는 자식 객체의 z 순서(전후 순서)를 맞바꿉니다.
toLocaleString():String
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다.
toString():String
[재정의] Returns a string indicating the location of this object within the hierarchy of DisplayObjects in the Application.
transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void
A utility method to update the rotation, scale, and translation of the transform while keeping a particular point, specified in the component's own coordinate space, fixed in the parent's coordinate space.
transformPointToParent(localPosition:Vector3D, position:Vector3D, postLayoutPosition:Vector3D):void
A utility method to transform a point specified in the local coordinates of this object to its location in the object's parent's coordinates.
unconstrainRenderer(item:Object):void
Called by an UnconstrainItemAction effect as part of a data change effect if the item renderers corresponding to certain data items need to move outside the normal positions of item renderers in the control.
validateDisplayList():void
Validates the position and size of children and draws other visuals.
validateNow():void
Validate and update the properties and layout of this object and redraw it, if necessary.
validateProperties():void
Used by layout logic to validate the properties of a component by calling the commitProperties() method.
validateSize(recursive:Boolean = false):void
Validates the measured size of the component If the LayoutManager.invalidateSize() method is called with this ILayoutManagerClient, then the validateSize() method is called when it's time to do measurements.
validationResultHandler(event:ValidationResultEvent):void
Handles both the valid and invalid events from a validator assigned to this component.
valueOf():Object
지정된 객체의 프리미티브 값을 반환합니다.
verticalGradientMatrix(x:Number, y:Number, width:Number, height:Number):Matrix
Returns a box Matrix which can be passed to drawRoundRect() as the rot parameter when drawing a vertical gradient.
willTrigger(type:String):Boolean
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다.
https://help.adobe.com/ko_KR/FlashPlatform/reference/actionscript/3/fl/controls/TileList.html
다양한 예제가 필요하다. 기본적인 타일리스트로 쓰는 경우는 좀 드물거 같고 응용해서 써야 할거 같은데.