0 Replies Latest reply on Feb 7, 2008 2:14 PM by Bdog-4

    Prevent Replay of Movie on Refresh

      I've been trying to make my flash movie not play once it has played once and the page changes or refreshes. I found some code to do it but I cannot make it work with my loader. Here is the code I'm using and I was putting it on frame 1 row but I think my loader is preventing it from working? I've tried to mesh it with my loader but that failed also. Any suggestions?

      Prevent Code on frame 1
      localSharedObject = sharedobject.getLocal("flashcookie" );
      if (localSharedObject.data.beenHere){
      localSharedObject.data.beenHere = true;


      Loader also on frame 1

      onClipEvent (load) {
      total = _root.getBytesTotal();
      onClipEvent (enterFrame) {
      loaded = _root.getBytesLoaded();
      percent = int(loaded/total*100);
      text = percent+"%";
      if (loaded == total) {