Support NATA 2014

Browse Sections


Newgrounds Wiki: getOfficialURL

Usage

import com.newgrounds.API;
var url:String = API.getOfficialURL();
Gets a URL where you can send users to play your official version. This URL is not the actual URL where your official version is hosted, but a URL that will first track that you redirected a user, then redirect them to your true official URL.

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