cancerinform
what does this link have to do with this thread?
this link has an MP3 player???
Printable View
cancerinform
what does this link have to do with this thread?
this link has an MP3 player???
Hi their,
I'm using the same code for my movie, but it does not expires,even when i back date the computer.My movie still plays
I've place my movie file on frame 20.
Help pls
here I'm attaching the fla file, will be easy to understand my problem.
Keith30, Download the zip file from that site and open the swf for the MP3player. Then you know what I was doing to "protect" my files from using on a server. A flash compiler can, however, get all the actionscript. That is not protected unfortuntely.
I am also using sharedobject in that file.
mvmartin,
I'm having some trouble getting the timeline to play a movie after it has checked for date. Please contact me.
Thanks
cancerinform,
the problem with your demo is, if you you move the swf to another location on the hard drive, it starts over again.
but it cannot be used for any other purpose than demo ;)
very cool mvmartin. very cool.
How would I modify this source if I wanted to have a one day then expire?
I would like the source to use the time and/or date the swf was launched and count down to one work for one day.
var start = new Date(2003, 1, 1);
// set start equal to 11/1/2003 (Jan = 0)
var end = new Date(2004, 0, 15);
// set end equal to 1/15/2004; do not put zeros in front of numbers
if (now<start) {
// if date is before start, then they're trying to cheat us, so give error message
trace("If you're seeing this then the now is before the START date, meaning they've set the clock back too far.");
trace("The START date is:");
trace(start);
trace("Today's date (now) is set at:");
trace(now);
_root.gotoAndStop(31);
} else if (now>end) {
// if date is after end, then go to end
trace("If you're seeing this then the now is before the END date");
trace("The END date is:");
trace(end);
trace("Today's date (now) is set at:");
trace(now);
_root.gotoAndStop(31);
} else {
trace("Everything is hunky-dorey, let's go!");
play();
}
stop();
BUMP!! even tho its old thread, but this thread saved me, been looking for this "expiry date" script long time, search over and over the net, finally.. the best 1 i've got at the moment, thank you once again mvmartin!!