Return to Snippet

Revision: 66592
at June 1, 2014 04:31 by RiveraEraGames


Updated Code
//ITS THE RIVERA ERA
//THE PUERTO RICAN DREAM COME TRUE
import flash.events.Event;

//REPLACE: YEAR, MONTH, DAY BELOW
//WITH YOUR EXPIRE DATE IN NUMBER FORMAT
var expireDate:Date = new Date(2014,5,31);
var curDate:Date = new Date();

stage.addEventListener(Event.ENTER_FRAME, chkExpire);

function chkExpire(evt:Event):void
{
	if (curDate <= expireDate)
	{
		//YOUR EXPIRE ACTIONS HERE
	}
	else
	{
		return;
	}

Revision: 66591
at June 1, 2014 04:26 by RiveraEraGames


Updated Code
//ITS THE RIVERA ERA
//THE FIRST URBAN AMERICAN PUERTO RICAN DEVELOPER
import flash.events.Event;

//REPLACE: YEAR, MONTH, DAY BELOW
//WITH YOUR EXPIRE DATE IN NUMBER FORMAT
var expireDate:Date = new Date(2014,5,31);
var curDate:Date = new Date();

stage.addEventListener(Event.ENTER_FRAME, chkExpire);

function chkExpire(evt:Event):void
{
	if (curDate <= expireDate)
	{
		//YOUR EXPIRE ACTIONS HERE
	}
	else
	{
		return;
	}

Revision: 66590
at June 1, 2014 04:20 by RiveraEraGames


Initial Code
import flash.events.Event;

//REPLACE: YEAR, MONTH, DAY BELOW
//WITH YOUR EXPIRE DATE IN NUMBER FORMAT
var expireDate:Date = new Date(2014,5,31);
var curDate:Date = new Date();

stage.addEventListener(Event.ENTER_FRAME, chkExpire);

function chkExpire(evt:Event):void
{
	if (curDate <= expireDate)
	{
		//YOUR EXPIRE ACTIONS HERE
	}
	else
	{
		return;
	}

Initial URL

                                

Initial Description
Ability to expire your AS3 based application in as easy as 1, 2, 3 with the amazing Rivera Era.

Initial Title
Expire Your App (EASY WAY)

Initial Tags

                                

Initial Language
ActionScript 3