NaN:NaN
NaN:NaN
--:-- / --:--
Newgrounds Background Image Theme

p4trocle 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: NEW_VERSION_AVAILABLE

This event is fired when API.connect receives a response from the server and the version defined on your version control settings page appears to be newer then the version set in your swf file.


APIEvent APIEvent

  • type:String - APIEvent.NEW_VERSION_AVAILABLE
  • success:Boolean - Should always be true
  • data:Object - Containing the following properties:
  • version:String - The most current version number
  • url:String - The URL you should load to track the number of users who have been redirected to your latest version.
  • real_url:String - The actual URL your latest version is hosted at.