|
-
Time Killer
Shared Objects isn't saving to a text file. Shared Objects is cookies itself. The syntex is as follows.
To save a cookie.
setCookie("stats","name",_root.name);
Okay the first two words in " " is the name of the cookie it will save in. Kind of like a file cabinet. It would be in the stats folder and name would equal _root.name.
To load the Cookie.
_root.name = getCookie("stats","name");
All your doing is specifing the file name since name equals _root.name. The first part with the _root.name is the varible you want the cookie to equal. And thats all there is to it. Keep in mind this is only used in Flash MX.
Laters.
Last edited by sspskater; 03-13-2003 at 06:06 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
|