Toolobj.showpicontrol() – Adobe Extending Flash Professional CS4 User Manual
Page 520

498
EXTENDING FLASH CS4 PROFESSIONAL
ToolObj object
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 “
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:
A text Property inspector has the following controls:
The 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