A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 29 of 29

Thread: flash file protection

  1. #21
    Senior Member
    Join Date
    Mar 2001
    Posts
    536
    cancerinform

    what does this link have to do with this thread?
    this link has an MP3 player???

  2. #22
    Senior Member
    Join Date
    Jul 2001
    Posts
    165

    problem when I put my movie

    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.
    Last edited by sabsin; 12-02-2007 at 03:20 PM.

  3. #23
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    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.
    Last edited by cancerinform; 05-16-2004 at 12:27 PM.
    - The right of the People to create Flash movies shall not be infringed. -

  4. #24
    Senior Member
    Join Date
    Mar 2001
    Posts
    536
    mvmartin,

    I'm having some trouble getting the timeline to play a movie after it has checked for date. Please contact me.

    Thanks

  5. #25
    Senior Member
    Join Date
    Mar 2001
    Posts
    536
    cancerinform,


    the problem with your demo is, if you you move the swf to another location on the hard drive, it starts over again.

  6. #26
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    but it cannot be used for any other purpose than demo
    - The right of the People to create Flash movies shall not be infringed. -

  7. #27
    Senior Member whytefly's Avatar
    Join Date
    Jun 2004
    Location
    submerged
    Posts
    363
    very cool mvmartin. very cool.

  8. #28
    Senior Member
    Join Date
    Mar 2001
    Posts
    536
    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();

  9. #29
    Member
    Join Date
    Dec 2005
    Posts
    84
    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!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center