You can use Adobe Flash CS5 Professional or your preferred text editor to write and edit Flash JavaScript (JSFL) files. If you use Flash, these files have a .jsfl extension by default. To write a script, select File > New > Flash JavaScript File.
You can also create a JSFL file by selecting commands in the History panel. Then click the Save button in the History panel or select Save As Command from the panel 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.
The History panel provides some other useful options as well. You can copy selected commands to the Clipboard, and you can view JavaScript commands that are generated while you are working in Flash.
To copy commands from the History panel to the clipboard:
- Select one or more commands in the History panel.
- Do one of the following:
- Click the Copy button.
- Select Copy Steps from the panel menu.
To view JavaScript commands in the History panel:
- Select View > JavaScript in Panel from the panel menu.




Trackbacks/Pingbacks
[...] How to create JSFL files with Flash CS5 | Flash tutorials | Flash … [...]