Shared Object

  • Started
  • Last post
  • 1 Response
  • mikeim

    Is it possible to edit the script below so that frames are skipped once per session rather than the current only once ever.

    --------------------------------...

    ATC06skipper = SharedObject.getLocal("ATC06skip...

    if (ATC06skipper.data.timesVisited > 0)
    {
    gotoAndPlay(412);
    }

    ATC06skipper.data.timesVisited += 1;
    ATC06skipper.flush()

  • UndoUndo0

    not sure you can edit the SO when the session finsihes - but you could record the date to the SO and if the date in the SO is not the current date then you can skip the frame action - ie they only goto the frame on the first visit each day