
492
EXTENDING FLASH CS4 PROFESSIONAL
ToolObj object
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)
Parameters
control A string that specifies the name of the control to enable or disable. Legal values depend on the Property
inspector invoked by this tool; see
toolObj.setPI().
A shape Property inspector has the following controls:
A text Property inspector has the following controls:
A movie Property inspector has the following controls:
stroke fill
type font pointsize
color bold italic
direction alignLeft alignCenter
alignRight alignJustify spacing
position autoKern small
rotation format lineType
selectable html border
deviceFonts varEdit options
link maxChars target
size publish background
framerate player profile
Commenti su questo manuale