User Guide

ToolObj object 507
toolObj.setToolTip()
Availability
Flash MX 2004.
Usage
toolObj.setToolTip( toolTip )
Parameters
toolTip A string that specifies the tooltip to use for the tool.
Returns
Nothing.
Description
Method; sets the tooltip that appears when the mouse is held over the tool icon. This method
is used only when you create extensible tools.
Example
The following example specifies that the tooltip for the tool should be “PolyStar Tool.” This
code is taken from the sample PolyStar.jsfl file (see “Sample PolyStar tool” on page 20):
theTool = fl.tools.activeTool;
theTool.setToolTip("PolyStar Tool");
toolObj.showPIControl()
Availability
Flash MX 2004.
Usage
toolObj.showPIControl( control, bShow )
Parameters
control A string that specifies the name of the control to show or hide. This method is
used only when you create extensible tools. Valid values depend on the Property inspector
invoked by this tool (see
toolObj.setPI()).
A shape Property inspector has the following controls:
stroke fill