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):

theTool = fl.tools.activeTool;
theTool.setToolTip("PolyStar Tool");

Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004565.html