Accessibility
James O'Reilly

James O'Reilly

jamesor.com

Table of Contents

Created:
9 October 2006
User Level:
Intermediate
Products:
Flash

Creating and packaging a professional JSFL command

One of the many nice things about the Flash authoring environment is its extensibility. If there is something missing that would really make your development easier and less tedious, you can extend the authoring environment to include almost anything you imagine by creating new panels, components, tools, behaviors, and commands.

One of the simplest ways to extend Flash is by writing scripts using JavaScript Flash (JSFL). JSFL commands are similar to how you might extend other applications with macros. They are external scripts stored as a text file and interpreted by Flash at design-time when you run them.

In this tutorial, you will create a JSFL command, a user interface to the command, and a cross-platform package so that you can distribute the command for others to install.

Requirements

To complete this tutorial you will need to install the following software and files:

Flash Professional 8

Macromedia Extension Manager

Sample files:

Prerequisite knowledge

No prior understanding of JSFL is required. However, you should be familiar with the Flash authoring environment and how to use invisible buttons in your movies.

About the author

James O'Reilly, an Adobe Certified Expert, is the CTO of SynergyMedia, Inc., a New York–based Flash consulting and training company. His blog, jamesor.com, is his collection of thoughts and ideas around Flash and Flex development. Aside from coding, James enjoys playing darts competitively and cruisin' with the top down.