Hi,
not sure on how much a flash projector can communicate with remote stuff (if any) other than opening a html page in a folder and having the web page change location upon loading etc etc.
but for your expire movie try this
ActionScript Code:
stop();
//////// Set Expire Dates
ExpireDay = 1;// Day in month
ExpireMonth = 7;// July
ExpireYear = 2012;// Year
//////// Get todays date
TheDate = new Date();
Months = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
TheDay = TheDate.getDate();
TheMonth = Months[TheDate.getMonth()];
TheYear = TheDate.getFullYear();
//////// Show todays date in textfield if wish
ShowDate.text = TheDay + "/" + TheMonth + "/" + TheYear;
//////// Check date against expire dates
if (TheYear < ExpireYear)
{
gotoAndStop(2);
trace("Continue trial");
}
else
{
checkMonth();
}
function checkMonth()
{
if (TheMonth < ExpireMonth)
{
gotoAndStop(2);
trace("Continue trial");
}
else
{
checkDay();
}
}
function checkDay()
{
if (TheDay >= ExpireDay)
{
gotoAndStop(3);
trace("Expired");
//fscommand("quit");
}
else
{
gotoAndStop(2);
trace("Continue trial");
}
}
my hobby: fgps.com/keith