We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Compiling a swc doesn't differ that much from Compiling a SWF.
We need to specify compc as our compiler to output a swc.
compile.using :compc
And we just specify the Flex SDK we want to use, resulting in the following buildfile:
require "buildr/as3" define "RedCircle" do compile.using :compc, :flexsdk => FlexSDK.new("4.5.0.20967") end
To compile this project simply open the terminal, cd into your project directory and type buildr compile to start the compilation.
buildr compile
You can find the example project here.
There was an error while loading. Please reload this page.