User Guide

DepthManager class 413
DepthManager.setDepthBelow()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004 and Flash MX Professional 2004.
Usage
movieClipInstance.setDepthBelow(instance)
Parameters
instance
An instance name. This parameter is of type MovieClip.
Returns
Nothing.
Description
Method; sets the depth of a movie clip or component instance below the depth of the specified
instance and moves other objects if necessary.
Example
The following code sets the depth of the textInput instance below the depth of button:
textInput.setDepthBelow(button);
DepthManager.setDepthTo()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
movieClipInstance.setDepthTo(depth)
Parameters
depth
A depth level. This parameter is of type Number.
Returns
Nothing.
Description
Method; sets the depth of movieClipInstance to the value specified by depth. This method
moves an instance to another depth to make room for another object.