00:00
00:00
Newgrounds Background Image Theme

Jmurr12 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Newgrounds Wiki: mxmlc

To use the Newgrounds API with the command-line mxmlc compiler, you must add the NewgroundsAPI.swc to the library path.
  1. Copy NewgroundsAPI.swc to your project folder.
    Unzip NewgroundsAPI.zip, and copy the SWC file into your source folder.
  2. Add the NewgroundsAPI.swc library to the mxmlc command line.
    Use the library-path command line option to link your project to the Newgrounds API library. For example:
    mxmlc MyClass.as -library-path+=NewgroundsAPI.swc
  3. You are ready to go!
    The Newgrounds API is now ready to use.