Jump to content

Date Constructor


ehud35new

Recommended Posts

well you need a condition script like if(till that day){your movie will play and continue to play;}the script for getting day is maybe likethatvar today : Date = new Date();CaculationOnDay = today.getDate + today.getMonth*30 + today.getFullYear*365;if you choose your day to begin is 1-1-2007 ( Happy New Year :) ) then you have :Constant = result ( that result = 1 + 1*30 + 2007*365 )you create a loader with parameter autoLoad = False ; contentPath = " your swf link "thenif (CaculationOnDay>= Constant){ yourloadername.load();}somthing like that :) or you could find another way better :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...