Flash Templates - Flash Design Templates provides FLA source files for Macromedia Flash MX. Flash templates - flash design. Buy professional flash templates and customizable website templates. We also offer Flash MX Basics, a series of interactive tutorials for beginners, photo galleries, add-ons, which include Flash headers, navigation menus, imagery, sound loops and Flash sound players. Check us out in Alta Vista!

flash templates
flash templates
flash templates
flash templates
flash templates

Home

Actions Using External Scripts

If you have code which you use repeatedly across multiple files, you can save time by writing it once and using the include action. This action is also very useful when working as part of a team or on large projects, as large amounts of scripting in the Actions Panel can reduce Flash's performance (at edit time).

You can write your script in the Flash Actions window. Choose the Export As File option. This will assign the .as extension.

To include the code in your external source file use:

#include "myscript.as"

Note that the include action takes place at publish time so if you change the contents of your .as file you must republish the SWF for the changes to take effect. This means you don't need to upload your .as file to your web server for the SWF to work. Also note you may not have comments or a semicolon on the same line as an include command.

Home

We are listed in Localco.com

Welcome to Flash Design Templates
Browse through our collection of professionally designed royalty-free flash templates. You can order the templates online and download the FULL SOURCE CODE (.fla file).

flash templates
flash templates
flash templates
flash templates
flash templates
flash templates