Sample Shape command

A sample JavaScript API script named Shape.jsfl is located in the ExtendingFlash/Shape folder (see Sample implementations above). This script displays information about the contours of the shape in the Output panel.

To install and run the Shape script:

  1. Copy the Shape.jsfl file to the Configuration/Commands folder (see Saving JSFL files).
  2. In a Flash document (FLA file), select a shape object.
  3. Select Commands > Shape to run the script.