GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
as3compile(1) swftools as3compile(1)

as3compile - Compile .as ActionScript 3.0 files to swf.

as3compile file.as [-o file.swf]

Compiles a file written in ActionScript 3.0 to a SWF file.


Print short help message and exit

Print version info and exit

Increase verbosity

Decrease verbosity

Output to stdout (for use in CGI environments)

This flag will cause the compiler to try filenames like "FooBar.as" for classes named "FooBar".

Set a compile time variable (for doing conditional compilation)

Set target SWF width

Set target SWF width

Set target SWF framerate

Set the name of the main class (extending flash.display.MovieClip)

Include library file file. <file> can be an .abc or .swf file.

Add additional include dir dir.

Make output file "local with networking"

Make output file "local with filesystem"

num must be >= 9.

Set output file to filename.


The following is a basic as3 file that can be compiled e.g.
with as3compile -X 400 -Y 400 smiley.as


// smiley.as
package
{
import flash.display.MovieClip


public class Main extends MovieClip
{
function Main()
{
this.graphics.beginFill(0xcccc00)
this.graphics.drawCircle(200,200,200)
this.graphics.endFill()
this.graphics.beginFill(0x000000)
this.graphics.drawCircle(140,150,50)
this.graphics.drawCircle(260,150,50)
this.graphics.drawRoundRect(140,270,120,10,20);
this.graphics.endFill()
}
}
}

Matthias Kramm <kramm@quiss.org>

February 2012 as3compile

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.