If you are proficient in JavaScript and Fireworks, you can use JavaScript to write your own objects and commands that affect Fireworks documents and the elements within them. In addition, you can use Fireworks Cross Product Communication Architecture to allow ActionScript 2.0 and C++ applications to control Fireworks. For more information, see Extending Fireworks Help.