Creating JSFL files

You can use Adobe Flash CS3 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.

You can also create a JSFL file by selecting commands in the History panel and then clicking the Save button in the History panel or selecting Save As Command from the panel menu. The command (JSFL) file is saved in the Commands folder (see Saving JSFL files). 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:

  1. Select one or more commands in the History panel.
  2. Do one of the following:
    • Click the Copy button.
    • Select Copy Steps from the panel menu.

To view JavaScript commands in the History panel: