Saving data inside the data

Im having trouble ragarding on saving data.

what I want to do is to save data inside the data. because I have 3 slots to save from.
but what happen is when I serialize it, and decode it to jason, the data from another slot is erased.

I have no idea.

what im using to load is this.
saveAccount.data = JSON.parse( decodeURIComponent( Config.onlineUserDataObject.slot1) );

and to save is this,

Main.saveAccount.data.slot1 = JSON.stringify(Main.saveAccount.data);
var myObject:Object = Main.saveAccount.data;
IDI_setUserData( Config.idiUserDataKey , JSON.stringify( myObject ) );

any idea? why does it erase when I save a slot, the other 2 slots erase the data.

Hi, Looks like Ankit also posted your question. See my response here, http://forum.id.net/t/how-to-have-more-than-one-online-save-slot/66

Y8 Games