know how you can grab your bits
You can download Apache Royale via Node Package Manager(NPM){:target=‘_blank’} or from mirrors of Apache releases. NPM is simpler.
To use NPM to install Royale, use the following command line for your operating system.
sudo npm install @apache-royale/royale-js -g
npm install @apache-royale/royale-js -g
If you want SWF output as well as JavaScript output, install these packages instead.
sudo npm install @apache-royale/royale-js-swf -g
npm install @apache-royale/royale-js-swf -g
If the install completes successfully, you are ready to compile your application with Royale by using the mxmlcnpm tool from the command-line. The NPM install should have put mxmlcnpm in your path.
Use the following links to get a choice of mirrors to use for your download.
tar.gz (for Mac){:target=‘_blank’}
zip (for Windows){:target=‘_blank’}
If you want SWF output as well as JavaScript output, download one of these packages instead.
tar.gz (for Mac){:target=‘_blank’}
zip (for Windows){:target=‘_blank’}
Once downloaded, uncompress the file into a folder somewhere. This folder will be referred to as the SDK folder throughout the documentation. If you chose the package with SWF support, you will need to follow the instructions in the README to install libraries from Adobe System Inc or use the Apache Ant script InstallAdobeSDKs.xml
by running from the SDK folder:
ant -f InstallAdobeSDKs.xml
At this point, you should be able to run the js/bin/mxmlc
compiler from your Royale SDK folder to compile a Royale application. See the Hello World section for more details.