Refers to a DisplayObject in a container by specifying the index instance name

getChildAt

The getChildAt function gets the reference to the child element object from the index of the stacking order.

Example

getChildByName

The getChildByName function obtains a reference to a child element object from its instance name.

Next Chapter