# Local Shared Object - Help!

**URL:** <https://forum.kirupa.com/t/local-shared-object-help/299717>\
**Category:** flash\
**Created:** [November 10, 2009, 12:37am UTC](https://forum.kirupa.com/t/local-shared-object-help/299717 "2009-11-10T00:37:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crystal](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@Crystal](https://forum.kirupa.com/u/Crystal)\
**Post date:** [November 10, 2009, 12:37am UTC](https://forum.kirupa.com/t/local-shared-object-help/299717/1 "2009-11-10T00:37:55Z")

</div>

Hello All-

I’m hoping someone could please assist me with this, or at least point me in the right direction… Kinda stuck here.

Anyway, I have created a very large Flash file (800 kf’s) where I need to save user progress, variables, etc. I basically want the user to be able to hit the “save” button, which will save their current location. When they return, I would like them to be directly brought back to the keyframe they were last at, with all other variables saved as well.

I got this to work by creating the shared object in frame 1 and setting variables to determine whether or not they have completed certain sections. Essentially, (section1\_completed =“no”; section2\_completed = “no;” and so on…) in the first frame, and once they reach these sections I set those variables to “yes.” In the first frame, I have written a huge conditional statement to determine whether or not these sections have been completed:

if(section1\_completed == “yes”){  
gotoAndStop(“section1”);  
}

and so on…

Anyway, this seems to work just fine until I get to a certain point, then for some odd reason, it seems to break and no longer work. I’m not quite sure what’s going on here… Is there possibly a better way to save user location for such a large Flash file?? I just want to bring the user back to their current keyframe location.

Any suggestions are greatly appreciated! Thanks much!
