4 Replies Latest reply on Aug 23, 2006 6:46 AM by kglad

    Hit Counter using Shared Object

    Darshan Rane Level 3
      hi
      i am developing hit counter in flash using shared objects.

      here is the code.

      hitcounter();

      function hitcounter():Void {

      var lsoNotes:SharedObject = SharedObject.getLocal("counter");
      count = lsoNotes.data.hit
      lsoNotes.data.hit = Number(count)+1;
      hit.text = lsoNotes.data.hit;
      lsoNotes.flush();
      }


      It works fine locally. But doesnt work online. There is a Flash player sysytem setting which allows to write shred object s locally.
      but how can we override this on user's computer?

      Also can anyone put some light on remote shared object.

      thanks