![MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual Download Page 18](http://html1.mh-extra.com/html/macromedia/flash-mx-2004-flash-javascript-dictionary/flash-mx-2004-flash-javascript-dictionary_manual_3377988018.webp)
18
Chapter 1: Introduction
You can use Macromedia Flash MX 2004 Professional or your preferred text editor to write or
edit Flash JavaScript (JSFL) files. If you use Flash Professional, these files have a .jsfl extension by
default. To make a script appear in the Commands menu, save its JSFL file in the following
folder:
•
Windows 2000 or Windows XP:
C:\Documents and Settings\
user
\Local Settings\ Application Data\Macromedia\
Flash MX2004\
language
\Configuration\Commands
•
Windows 98:
C:\Windows\Application Data\Macromedia\Flash MX 2004\
language
\
Configuration\Commands
•
Mac OS X:
Hard Drive/Users/
userName
/Library/Application Support/Macromedia/Flash MX 2004/
language
/Configuration/Commands
JSFL files that create tools need to be stored in the Tools folder, which can be found in the
following location:
•
Windows 2000 or Windows XP:
C:\Documents and Settings\
user
\Local Settings\ Application Data\Macromedia\
Flash MX2004\
language
\Configuration\Tools
•
Windows 98:
C:\Windows\Application Data\Macromedia\Flash MX 2004\
language
\Configuration\Tools
•
Mac OS X:
Hard Drive/Users/
userName
/Library/Application Support/Macromedia/Flash MX 2004/
language
/Configuration/Tools
If a JSFL file has other files that go with it, such as XML files, they should be stored in the same
directory as the JSFL file.
You can also create a JSFL file by selecting one or more commands in the History panel and then
clicking the Save As Command button in the History panel or selecting the Save As Command
from the Options pop-up menu. The command (JSFL) file is saved in the Commands folder. You
can then open the file and edit it the same as any other script file.
To run a script, do one of the following:
•
Select Commands >
Command Name
.
•
Select Commands > Run Command and then select the script to run.
To add a tool implemented in a JSFL file to the Flash Tools panel:
1.
Copy the JSFL file for the tool and any other associated files to the Tools folder.
2.
Select Edit > Customize Tools Panel (Windows) or Flash > Customize Tools Panel
(Macintosh).
3.
Add the tool to the list of available tools.
4.
Click OK.
Summary of Contents for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Page 1: ...Flash JavaScript Dictionary ...
Page 16: ...16 Contents ...
Page 40: ...40 Chapter 2 Top level functions ...
Page 368: ...368 Chapter 3 Objects ...