OK, so in the first frame of your movie, put the following:
Object.prototype.setCookie = function(c, n, v) {
var so = SharedObject.getLocal(c);
so.data[n] = v;
so.flush();
};
Object.prototype.getCookie = function(c, n) {
var so = SharedObject.getLocal(c);
return so.data[n];
};
And then, whenever you want to save anything, use the following script:
setCookie("name", "itemname", var to save);
(NOTE: leave "name" as it is. Replace "itemname" with the a name of your choosing and replace var to save with either a variable's var name or a custom value, for example, "2".
To load data:
_root.var name of the variable which you want data to load in = getCookie("name", "itemname");
(NOTE: Replace "itemname" with a pre-saved itemname. For example, if you wanted to load the itemname saved in the above example. replace "itemname" with "2".)