Flash CS3 Documentation |
|||
| Extending Flash > Objects > ToolObj object > toolObj.setToolTip() | |||
Flash MX 2004.
toolObj.setToolTip(toolTip)
toolTip A string that specifies the tooltip to use for the tool.
Nothing.
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.
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