toolObj.setPI()
Availability
Flash MX 2004.
Usage
toolObj.setPI( pi )
Parameters
A string that specifies the Property inspector to invoke for this tool.
pi
Returns
Nothing.
Description
Method; specifies which Property inspector should be used when the tool is activated. Valid
values are
"shape"
Example
The following example specifies that the text Property inspector should be used when the tool is
activated.
fl.tools.activeTool.setPI( "text" );
toolObj.setToolName()
Availability
Flash MX 2004.
Usage
toolObj.setToolName( name )
Parameters
A string that specifies the name of the tool.
name
Returns
Nothing.
Description
Method; assigns a name to the tool for the configuration of the Tools panel. The name is used
only by the XML layout file that Flash reads to construct the Tools panel. The name does not
show up in the Flash user interface.
Example
The following example assigns the name "arrow1" to the tool named
theTool.setToolName("arrow1");
(the default),
, and
"text"
.
"movie"
.
theTool
ToolObj object
353
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?