ActionScript 2.0 Components Language Reference |
|
|
|
| DepthManager class > DepthManager.createObjectAtDepth() | |||
Flash Player 6 (6.0.79.0).
Flash MX 2004.
DepthManager.createObjectAtDepth(linkageName,depthSpace[,initObj])
linkageName A linkage identifier. This parameter is of type String.
depthSpace One of the following values: DepthManager.kCursor, DepthManager.kTooltip. All depth flags are static properties of the DepthManger class. You must either reference the DepthManager package (for example, mx.managers.DepthManager.kCursor), or use the import statement to import the DepthManager package.
initObj An optional initialization object.
A reference to the created object. The return type is MovieClip.
Method; creates an object at the specified depth. This method is used for accessing the reserved depth spaces in the special highest-depth clip.
The following example creates an instance of the TooltipSymbol symbol and places it at the reserved depth for tooltips:
import mx.managers.DepthManager
myCursorTooltip = DepthManager.createObjectAtDepth("TooltipSymbol", DepthManager.kTooltip);
|
|
|
|