MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 500

Extending flash
Table of Contents

Advertisement

Property summary for the ToolObj object
The following property is available for the ToolObj object:
Property
toolObj.depth
toolObj.iconID
toolObj.position
toolObj.depth
Availability
Flash MX 2004.
Usage
toolObj.depth
Description
Read-only property; an integer that specifies the depth of the tool in the pop-up menu in the
Tools panel. This property is used only when creating extensible tools.
Example
The following example specifies that the tool has a depth of 1, which means one level under a
tool in the Tools panel.
fl.tools.activeTool.depth = 1;
toolObj.enablePIControl()
Availability
Flash MX 2004.
Usage
toolObj.enablePIControl( control, bEnable )
500
Objects
Description
An integer that specifies the depth of the tool in the pop-up
menu in the Tools panel.
An integer that specifies the resource ID of the tool.
Read-only; an integer specifying the position of the tool in
the Tools panel.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents