Toolobj Object - MACROMEDIA FLASH 8-EXTENDING FLASH Manual

Extending flash
Table of Contents

Advertisement

ToolObj object

Availability
Flash MX 2004.
Description
A ToolObj object represents an individual tool in the Tools panel. To access a ToolObj object,
use properties of the
Method summary for the ToolObj object
The following methods are available for the ToolObj object.
The following methods are used only when creating extensible tools.
Method
toolObj.enablePIControl()
toolObj.setIcon()
toolObj.setMenuString()
toolObj.setOptionsFile()
toolObj.setPI()
toolObj.setToolName()
toolObj.setToolTip()
toolObj.showPIControl()
toolObj.showTransformHandles()
CHAPTER 44
Tools
object: either the
Description
Enables or disables the specified control in a Property
inspector. Used only when creating extensible tools.
Identifies a PNG file to use as a tool icon in the Flash Tools
panel.
Sets the string that appears in the pop-up menu as the
name for the tool.
Associates an XML file with the tool.
Sets a particular Property inspector to be used when the
tool is activated.
Assigns a name to the tool for the configuration of the
Tools panel.
Sets the tooltip that appears when the mouse is held over
the tool icon.
Shows or hides a control in the Property inspector.
Called in the
tool's JavaScript file to indicate that the free transform
handles should appear when the tool is active.
array or
tools.toolObjs
method of an extensible
configureTool()
Objects
.
tools.activeTool
ToolObj object
499

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents