MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 408

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

DepthManager.createClassObjectAtDepth()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
DepthManager.createClassObjectAtDepth(className, depthSpace[, initObj])
Parameters
A class name. This parameter is of type Function.
className
One of the following values:
depthSpace
All depth flags are static properties of the DepthManger class. You must either reference the
DepthManager package (for example,
statement to import the DepthManager package.
import
An initialization object. This parameter is optional.
initObj
Returns
A reference to the created object. The return type is UIObject.
Description
Method; creates an object of the class specified by
. This method is used for accessing the reserved depth spaces in the special highest-
depthSpace
depth clip.
Example
The following example creates an object from the Button class:
import mx.managers.DepthManager
myCursorButton = createClassObjectAtDepth(mx.controls.Button,
DepthManager.kCursor, {label: "Cursor"});
DepthManager.createObjectAtDepth()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
DepthManager.createObjectAtDepth(linkageName, depthSpace[, initObj])
Parameters
linkageName
A linkage identifier. This parameter is of type String.
DepthManager.kCursor
mx.managers.DepthManager.kCursor
className
,
DepthManager.kTooltip
), or use the
at the depth specified by
DepthManager class
.
409

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Flash mx

Table of Contents