EnglishFrenchSpanish

OnWorks favicon

as3compile - Online in the Cloud

Run as3compile in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command as3compile that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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


-h, --help
Print short help message and exit

-V, --version
Print version info and exit

-v, --verbose
Increase verbosity

-q, --quiet
Decrease verbosity

-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.

EXAMPLE


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()
}
}
}

Use as3compile online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands

Ad