Flash CS3 Documentation |
|||
| Extending Flash > Objects > ToolObj object > toolObj.setMenuString() | |||
Flash MX 2004.
toolObj.setMenuString(menuStr)
menuStr A string that specifies the name that appears in the pop-up menu as the name for the tool.
Nothing.
Method; sets the string that appears in the pop-up menu as the name for the tool. This method is used only when you create extensible tools.
The following example specifies that the tool named theTool should display the name "PolyStar Tool" in its pop-up menu. This code is taken from the sample PolyStar.jsfl file (see Sample PolyStar tool):
theTool = fl.tools.activeTool;
theTool.setMenuString("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/00004561.html