# Scripting wrong for Save/Load-What can I do?

**URL:** <https://forum.kirupa.com/t/scripting-wrong-for-save-load-what-can-i-do/123708>\
**Category:** Uncategorized\
**Created:** [September 26, 2004, 2:00pm UTC](https://forum.kirupa.com/t/scripting-wrong-for-save-load-what-can-i-do/123708 "2004-09-26T14:00:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johannes](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@johannes](https://forum.kirupa.com/u/johannes)\
**Post date:** [September 26, 2004, 2:00pm UTC](https://forum.kirupa.com/t/scripting-wrong-for-save-load-what-can-i-do/123708/1 "2004-09-26T14:00:11Z")

</div>

Right. I’ve checked out Shared Objects on the forum and that tut didn’t help me…Could anyone take a look at my fla and see what I’m doing wrong, please…I just want to be able to Save content of all **Input Boxes** and then Load them up again! Or does anyone know of any easier ways of doing this?

[I used this tut to produce this.](http://www.flashkit.com/tutorials/Games/SaveLoa-fwe4life-1037/index.php)

I’ve attatched this code to the Save button:

```auto
on (release)
   {
   _root.pos = sharedobject.getLocal("civilrights");
   _root.pos.data.aims = _root.aims._x;
   _root.pos.data.aims = _root.aims._y;
   _root.pos.data.NAME = _root.text1;
   }

```

and this for the Load Button:

```auto
on (release) {
   _root.pos = sharedobject.getLocal("civilrights");
   setProperty(_root.aims, _x, _root.pos.data.aimsx);
   setProperty(_root.aims, _y, _root.pos.data.aimsy);
   _root.NAME = _root.pos.data.text1;
   }

```

Any ideas ? I’m really stuck…
