Toolobj Object - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
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.
Note: 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()
Property summary for the ToolObj object
The following property is available for the Tools object.
Property
toolObj.position
Tools
object: either the
Description
Enables or disables the specified control in a PI . 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 (located in the Configuration/Tools
folder) with the tool to appear in a modal panel that is invoked by
an Options button in the Property inspector.
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
JavaScript file to indicate that the free transform handles should
appear when the tool is active.
Description
Read-only; an integer specifying the position of the tool in the
Tools panel.
array or
tools.toolObjs
configureTool()
CHAPTER 3
tools.activeTool
method of an extensible tool's
ToolObj object
Objects
.
349

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents