Skip to content.
Newgrounds.com — Everything, By Everyone.
Games
Latest
Greatest
Popular
Under Judgment
Classic Portal
Submit Yours!
Team Up!
Movies
Latest
Greatest
Popular
Under Judgment
Classic Portal
Submit Yours!
Team Up!
Audio
Latest
Greatest
Popular
Audio Forum
Submit Yours!
Team Up!
Art
Latest
Greatest
Popular
Art Forum
Submit Yours!
Team Up!
Channels
Series
Collections
Judgment
Playlists
Community
Forums
Chat
Calendar
Artist News
Rankings
Downloads
Wiki
Shop
T-Shirts
Collectibles
Print
Discs
Wall Artist
Username
Password
Save Info?
Log In
Not a member? Sign Up!
Forgot login?
Movies
Games
Movies
Audio
Art
Forums
Search
top-superbanner:728x90
212:90:0
Browse Sections
About Newgrounds
Help & Information
Creator Resources
Flash API (version 2.0)
[expand/collapse]
Tutorials
[expand/collapse]
Creating an API Entry
Installing the API Package
Connecting to the API Gateway
Classes
[expand/collapse]
Score
Events
[expand/collapse]
NEW_VERSION_AVAILABLE
API_CONNECTED
ADS_APPROVED
HOST_BLOCKED
EVENT_LOGGED
METADATA_LOADED
SCORE_POSTED
SCORES_LOADED
MEDAL_UNLOCKED
MEDALS_LOADED
QUERY_COMPLETE
UNLOCK_MEDAL
FILE_LOADED
AD_ATTACHED
FILE_INITIALIZED
FILE_REQUESTED
Commands
[expand/collapse]
setVersion
getPercentLoaded
getOfficialURL
hasUserSession
isNewgrounds
hostIsCompatible
getID
connect
getUserID
getUserName
getHost
isPublishedHost
loadUserPage
loadNewgrounds
loadMySite
loadCustomLink
logCustomEvent
getScoreBoard
unlockMedal
getMedals
getMedal
saveLocal
loadLocal
getSaveGroup
loadSaveFile
getCurrentSaveFile
loadFilesByDate
loadFilesByViews
loadFilesByRating
newSaveFile
newSaveQuery
hasEventListener
addEventListener
removeEventListener
loadOfficialURL
postScore
loadScores
Components
[expand/collapse]
API Connector
Preloader Bar
Flash Ad
Score Board
Animation Resources
Game Dev Resources
Music and Audio Resources
[expand/collapse]
Sound Editors
Studios, Sequencers and Composers
Software Synthesizers
Sound Converters
Using Audio in Flash
Monetization
[expand/collapse]
Flash Ads
Page Ads
Advertising Terminology
Distribution
[expand/collapse]
Roku
Game and Movie Standards
Tutorials
[expand/collapse]
Animation Tutorials
Art Tutorials
Flash Tutorials
Sprite Tutorials
Other Tutorials
Flash Game Tutorials
Art Resources
Flash Resources
[expand/collapse]
Extensions
Libraries
Utilities
Swivel
Voice Recording
Writing Resources
Flash API (version 3.0)
Flash API
[expand/collapse]
Reference
[expand/collapse]
API
Medal
SaveFile
APIEvent
APIConnector
FlashAd
MedalPopup
SaveBrowser
ScoreBrowser
ScoreBoard
Score
SaveQuery
Logger
SaveGroup
SaveKey
SaveRating
Getting Started with the API
[expand/collapse]
Flash
FlashDevelop
Flash Builder
Flixel
mxmlc
Handling API Events
Connecting to the API
Adding Medals to Your Game
Using API Components
Adding Scoreboards to Your Game
Using Flash Ads
About Debug Mode
Publisher API
[expand/collapse]
User Authentication
Advertisers
[expand/collapse]
Revenue Sharing Pools
left-rectangle:300x250
Newgrounds Wiki: Tutorials
The following tutorials will help you get started with the Newgrounds Flash API.
Creating an API Entry
Installing the API Package
Connecting to the API Gateway