Be a Supporter!

Browse Sections


Newgrounds Wiki: loadOfficialURL

Usage

import com.newgrounds.API;
var url:String = API.loadOfficialURL();
This command opens your "Official URL" in a new browser window and tracks the referral in your API stats.

Use this code when making custom handlers for HOST_BLOCKED and NEW_VERSION_AVAILABLE events.