DepthManager class
ActionScript Class Name
The DepthManager class allows you manage the relative depth assignments of any component or
movie clip, including
clip on
for system-level services such as the cursor or tooltips.
_root
In general, the Depth Manager manages components automatically. You do not need to use its
APIs unless you are an advanced Flash developer.
The following methods constitute the relative depth-ordering API:
•
DepthManager.createChildAtDepth()
•
DepthManager.createClassChildAtDepth()
•
DepthManager.setDepthAbove()
•
DepthManager.setDepthBelow()
•
DepthManager.setDepthTo()
The following methods constitute the reserved depth space API:
•
DepthManager.createClassObjectAtDepth()
•
DepthManager.createObjectAtDepth()
Method summary for the DepthManager class
The following table lists the methods of the DepthManager class.
Method
DepthManager.createChildAtDepth()
DepthManager.createClassChildAtDepth()
DepthManager.createClassObjectAtDepth()
DepthManager.createObjectAtDepth()
DepthManager.setDepthAbove()
DepthManager.setDepthBelow()
DepthManager.setDepthTo()
406
Chapter 6: Components Dictionary
mx.managers.DepthManager
. It also lets you manage reserved depths in a special highest-depth
_root
Components Dictionary
Description
Creates a child of the specified symbol at the
specified depth.
Creates an object of the specified class at the
specified depth.
Creates an instance of the specified class at a
specified depth in the special highest-depth clip.
Creates an object at a specified depth in the
highest-depth clip.
Sets the depth above the specified instance.
Sets the depth below the specified instance.
Sets the depth to the specified instance in the highest-
depth clip.
CHAPTER 6
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers