ActionScript 2.0 :: How To Expire A SWF

Mar 30, 2006

(1) expire a swf within a certain number of days after it is first run. I know I can use getDate() to determine the current date. However, how to I have the swf (1) determine the current date (2) save this info somewhere and (3) have the swf expire (say 60 days after it is first ran).

(2) expire a swf on/by a certain date.

View 3 Replies


Similar Posts:


Can A Flash SharedObejct Expire Per Session

Sep 21, 2010

I'm trying to display certain content per session, but the site has the same Flash embedded in the different sections of the site, so I can't set it on the site's Model or a Global Variable. I also can't use PHP or JS.

View 1 Replies

ActionScript 2.0 :: Flash Projector.exe To Expire After X Days?

Aug 24, 2009

how to solve my problem on how to add expiration to my projector.exe?

date start is august 31, 2009 so if start date is less than or not equal to start date then the exe would exit?

and date end is november 30, 2009 so if date is greater than end date then the exe would exit

if i will illustrate:
this time frame can play exe
start date <-------------------------------> end date
august 31,2009 november 30, 2009

any date before start or any date after end date will cause the exe to close or exit.

if sum1 can generously have a fla or actionscript...

View 2 Replies

Expire Shared Object After Certain Amount Of Time Passed?

Jul 27, 2006

I have a flash movie on my index page but as the user navigates through the site and then goes back to the home page, I don't want the intro to replay. I have fixed that using shared object so that if it has already played, it skips to the end of the animation...here is my code:

function VisitCheck() {
var myLocalSO = sharedobject.getLocal("visitRecord");
if (myLocalSO.data.visited == null) {
myLocalSO.data.visited = 1;
gotoAndPlay(3);
trace("visit 1");
} else {
gotoAndPlay(2);
trace("visit2");
}}
VisitCheck();

Works great, except now, the intro animation on the index page NEVER plays again; I would rather have the cookie expire after the user closes the window or a certain amount of time has passed (say 30 minutes).

View 3 Replies

ActionScript 3.0 :: Getting Shared Object To Expire After Browser Session?

Jan 5, 2010

I'm looking for a way to play flash animated content once ( even as the user navigates to different HTML pages with similar flash content) and expire after a set amount of time or after the browser is closed. I'm aware I could use a shared object for this but can't seem to find info about how to clear them at browser session end.

View 0 Replies

Actionscript 3 :: Getting A Shared Object To Expire After Browser Session In FLASH?

Jan 11, 2010

I'm looking for a way to play flash animated content once ( even as the user navigates to different HTML pages with similar flash content) and expire after a set amount of time or after the browser is closed.

I'm aware I could use a shared object for this but can't seem to find info about how to clear them at browser session end.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved