Toolobj.setmenustring(); Toolobj.setoptionsfile() - 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.setMenuString()

Availability
Flash MX 2004.
Usage
toolObj.setMenuString( menuStr )
Parameters
A string that specifies the name that appears in the pop-up menu as the name for the
menuStr
tool.
Returns
Nothing.
Description
Method; sets the string that appears in the pop-up menu as the name for the tool.
Example
The following example specifies that the tool named
"Arrow Style 1" in its pop-up menu.
theTool.setMenuString("Arrow Style 1");

toolObj.setOptionsFile()

Availability
Flash MX 2004.
Usage
toolObj.setOptionsFile( xmlFile )
Parameters
A string that specifies the name of the XML file that has the description of the tool's
xmlFile
options.
Returns
Nothing.
Description
Method; 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.
Example
The following example specifies that the file named myTool.xml is associated with the currently
active tool. You would usually use code like this in the
fl.tools.activeTool.setOptionsFile( "myTool.xml" );
352
Chapter 3: Objects
should display the name
theTool
method.
configureTool()

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents