![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.0.79.
Flash MX 2004 and Flash MX Professional 2004
DepthManager.createClassObjectAtDepth(className
,depthSpace
[,initObj
])
className
A class name.
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 initialization object. This parameter is optional.
A reference to the created object.
Method; creates an object of the class specified by the className
parameter at the depth specified by the depthSpace
parameter. This method is used for accessing the reserved depth spaces in the special highest-depth clip.
The following example creates an object from the Button class:
import mx.managers.DepthManager myCursorButton = createClassObjectAtDepth(mx.controls.Button, DepthManager.kCursor, {label: "Cursor"});
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |