To use the API with your FlashDevelop project, add NewgroundsAPI.swc
to your library:
- Copy the Newgrounds API SWC to your project folder.
Unzip NewgroundsAPI.zip, and copy NewgroundsAPI.swc into the lib folder of your FlashDevelop project.
- 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.
- You are done!
The Newgrounds API is now ready to use.
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.