Flash Tutorials - Herong's Tutorial Examples - v3.03, by Dr. Herong Yang
What Is AS3Compile?
This section describes what is AS3Compile - A stand alone compiler for ActionScript 3.0 developed by the SWFTools team for generating SWF applications.
What Is AS3Compile? as3compile is a stand alone compiler for ActionScript 3.0 developed by the SWFTools team for generating SWF applications. It aims to be compatible with Adobe's Flex compiler.
If you want to try AS3Compile, you need to download and install SWFTools from www.swftools.org as described in the previous chapter.
Here is the manual page of AS3Compile 0.9.1:
NAME as3compile - Compile .as ActionScript 3.0 files to swf. Synopsis as3compile file.as [-o file.swf] DESCRIPTION Compiles a file written in ActionScript 3.0 to a SWF file. OPTIONS -C, --cgi Output to stdout (for use in CGI environments) -R, --resolve This flag will cause the compiler to try filenames like "FooBar.as" for classes named "FooBar". -D, --define namespace::variable Set a compile time variable (for doing conditional compilation) -X, --width Set target SWF width -Y, --height Set target SWF width -r, --rate Set target SWF framerate -M, --mainclass Set the name of the main class (extending flash.display.MovieClip) -l, --library file Include library file file. <file> can be an .abc or .swf file. -I, --include dir Add additional include dir dir. -N, --local-with-network Make output file "local with networking" -L, --local-with-filesystem Make output file "local with filesystem" -T, --flashversion num num must be >= 9. -o, --output filename Set output file to filename. ... AUTHOR Matthias Kramm <kramm@quiss.org>
Table of Contents
Adobe Flash Player Plugin for Firefox
Adobe Flash Player Plugin for Chrome
Adobe Flash Player Plugin for Safari
Adobe Flash Player ActiveX for IE
Using "object" Elements for Flash Files
Using "embed" Elements for Flash Files
"mp3player" - MP3 Music Player
SWFObject - Hidding "object" behind JavaScript
SWFTools - SWF File Manipulation Tools
SWFC Script to Generate Flash SWF Files
ActionScript Embedded in SWFC Script
►AS3Compile - ActionScript 3 Compiler
smiley.as - First ActionScript 3 Example
MyMovieClip.as - Adding Graphics and Text
ShowSystem.as - Showing System Properties