ToolObj object
353
toolObj.setPI()
Availability
Flash MX 2004.
Usage
toolObj.setPI(
pi
)
Parameters
pi
A string that specifies the Property inspector to invoke for this tool.
Returns
Nothing.
Description
Method; specifies which Property inspector should be used when the tool is activated. Valid
values are
"shape"
(the default),
"text"
, and
"movie"
.
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
name
A string that specifies the name of the tool.
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
.
theTool.setToolName("arrow1");
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...