Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

Newgrounds Wiki: FlashDevelop

ActionScript Projects

To use the API with your FlashDevelop project, add NewgroundsAPI.swc to your library:

  1. Copy the Newgrounds API SWC to your project folder.
    Unzip NewgroundsAPI.zip, and copy NewgroundsAPI.swc into the lib folder of your FlashDevelop project.
  2. Add NewgroundsAPI.swc to the library path.
    Open your project in FlashDevelop. You should see NewgroundsAPI.swc in the Project panel. Right-click on NewgroundsAPI.swc in the Project panel, and select Add to Library. NewgroundsAPI.swc should turn blue.
  3. You are done!
    The Newgrounds API is now ready to use.

IDE Projects

If you are using a Flash IDE Project in FlashDevelop, then you should follow the instructions for Using the API with Flash to add the API to your FLA file.

Additionally, you can follow the instructions above to add the SWC to your FlashDevelop project. This will give you code hinting for the API inside FlashDevelop.