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

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.

I’ve attatched this code to the Save button:

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:

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…

Post the fla in MX , maybee I can help u, Im not sure but it seems u use same name for diferent things :))

Thanks mate!

Fla can be found here:

My Fla

Tomorrow at the same time i bee back :slight_smile:

Looking forward to it…difficult this one!

J

I tell u to save for the MX (flash6) version not for MX2004 :((
Anyway I find a simple demo for S.O. see the fla,maybee help u, or upload again the MX version…

Sorry m8!

Now in MX

My Fla

Yeah thanks for tut, tried it and still can’t figure out how to do it…have loads of input boxes…

Any ideas?

Really appreciate your help, kind of new at this!

J

OKY

See the fla and comments, if u realy cant figure with this I assist u :slight_smile:

Thanks lordkiller!

That makes more sense to me.

Sorry about this…but how can I do the same with let’s say 4 different text boxes? Where and how do I enter that code?

I really appreciate your help man! Sorry for being such an idiot… ;(

Cheers,

J

beginner=! idiot, only u fill like :slight_smile:
I promise, so … see later

Is later and is ready

Give me a f… mail address this stupid “to large file to upload” is annoying
is only 200 k :(((
send to bitaikalma@home.ro

bitaikalman@home.ro