00:00
00:00
Newgrounds Background Image Theme

Jmurr12 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

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.