Using Commands to Develop Flash-based Courses Efficiently

Using Commands to Develop Flash-based Courses Efficiently

Flash is an excellent tool to develop highly interactive courses. It offers incredible flexibility to the developer to present content and include animations, graphics and interactivities. In order to get the most out of Flash, the developer needs to know the commands which are very useful to develop eLearning courses quickly  and efficiently.

Let us have a look at some of the commands used to develop courses in Flash.

How to Manage and Create Commands

As a developer, sometimes, you need to repeat the same task. In that case, you can create a command in the “Commands” menu from steps in the “History” panel and reuse it. By using this option it will replay exactly as they were initially done.

Note: You can’t change the steps

To save this command, create and save a command so that you can use the same steps several times. Saved commands are recalled any number of times, until you delete them. By using History>Copy Steps command, the steps which you had copied are discarded when you copy something else.

Also, developers can create a Command for selected steps in the History panel. By using Manage Saved Commands option in the dialog box, they can rename or delete commands.

Creating Command: 

  1. Go to the History panel and select the steps which you want.
  2. Go to Menu Options and select “Save as Command” from the History panel.
  3. Provide a name for the command and then click “OK”. The generated command appears in the Commands menu.


By default, Adobe has provided some commands and they can be found  in the location mentioned below along with developer commands.Commands are saved as JavaScript files with .jsfl extension.

The folder path varies for different operating systems.

Windows XP: boot drive\Documents and Settings\<user>\Local Settings\Application Data\Adobe\Flash CS5\<language>\Configuration\Commands

Mac OS® X: Macintosh HD/Users/<username>/Library/Application Support/Adobe/Flash CS5/<language>/Configuration/Commands.

Edit Command name:

Go to the “Commands” option in the menu > Manage Saved Commands.

Then, rename the command which you select, using the “Rename” button.

Delete Command name:

Go to “Commands” option in the menu > Manage Saved Commands.

Then, click “Delete” and “OK”.

Run Commands:

To run a particular command,go to “Commands” option in the menu. To run a JavaScript or Flash JavaScript command, select Commands > Run Command, navigate to the script to run, and click Open.

Note: Certain tasks can’t be saved as commands, which is example of actions that can’t be saved as commands or repetitive.

The tasks mentioned below cannot be saved as commands. 

  • Selecting a frame
  • Modifying a document size

So, these are the useful commands to make your work simple.Please do share if you have any comments on the same.

A Training Manager's Handbook to Rapid E-learning Development