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: isPublishedHost

Usage

import com.newgrounds.API;
var is_published:Boolean = API.isPublishedHost();
Returns true if the domain hosting your swf is not recognized as localhost or a newgrounds preview page.