|
-
Senior Member
mneil, I decided that running the array might not work so hot. I tried several ways of going about making it work and none of them resulted in functioning properly. I read what you posted about putting the SharedObject outside the loop; that still resulted in the file being overwritten constantly. I just re-read your code now and I noticed something. Ok, I long coded mine out, each data spot in the SO (SharedObject) has a unique name. i.e.
datico.data.contacts_x = getProperty(_root.btncontacts._x)
datico.data.silent_x = getProperty(_root.silent._x)
ok, this way it works. It writes one file and all the information is saved in the respectful "data container" The thing I'm working on now is trying to clear the information if the "cookie" is turned off. So I tried this coding
datico.data.cleared = ""
all that did was append to the sol file the new data container - "cleared" Now like I was saying after re-reading your code. If you look you have:
datico.data.icox = _root["myico_x"+i];
This wouldn't work I don't think. The data container is remaining the same name, so each time the same container is being rewritten. I would need to have that name change as well within the array. I hope this makes sense. I'm going to try it out and see if I'm right as soon as I get the chance. I also uploaded the .fla as to where it stands currently. Thanks
Mo
Last edited by Mo1010427; 08-15-2007 at 07:07 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|