Because of the constant attack by the wiki spam bots, accounts that are created and not used will be deleted. If you are a legitimate user, and your IP was blocked, please contact any active administrator - look at Special:RecentChanges and see who is busy fighting spam.

As3compile

From SWFTools
Jump to: navigation, search

as3compile

as3compile is a stand alone compiler for ActionScript 3.0. It aims to be compatible with Adobe's Flex compiler

Also see the as3compile man page.

An example file for processing with as3compile:

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

Compile this file using:

as3compile -X 400 -Y 400 smiley.as

Further reading

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox