DepthManager.setDepthBelow()

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004 and Flash MX Professional 2004

Usage

movieClipInstance.setDepthBelow(instance)

Parameters

instance An instance name.

Returns

Nothing.

Description

Method; sets the depth of a movie clip or component instance below the depth of the instance specified by the instance parameter.

Example

The following code sets the depth of the textInput instance below the depth of the button:

textInput.setDepthBelow(button);