1 Reply Latest reply on Nov 12, 2009 12:04 PM by kglad

    Shared Objects Question


      Ok, this may sound really dumb, but I'll explain what I'm trying to do. I was wondering if there's a way to write a gotoAndStop code that references the value of a variable.


      I'm trying to create an app that tracks an user's progress thru the Flash application. I know I'll have to use Shared Objects to do this. So when the user reopens the flash movie, it will check to see where they last left off and jump (gotoAndStop) at the part of the movie.


      So this is what I have so far:


      local_data = SharedObject.getLocal("user_progress");


      local_data.data.frame_number = 25;



      What I'm hazy on is how to access that "25" value and tell the movie to jump to frame 25.


      Hopefully this all makes sense...