[FMX] Flash cookies and SharedObjects

So I did the tutorial about SharedObjects, and I created a login movie which works fine.

My questions are as follows:

Can i use a shared object I created in one movie (call it “mycookie”) in a separate movie on another page, similar to an HTML cookie? If so, what is the syntax?

I tried reusing the mycookie = SharedObject.getLocal(“user_profile”)
and it didn’t seem to work. =(

Also, I know that alternatively I can pass flash variables to the URL with the POST method, but I forget the syntax.

Time is of the essence here (project due tomorrow) so I’d really like some help if somebody knows the answer…

Thanks,

–EP:(

you can change the path for your SO from the default, which is on a “per swf” basis (each swf saves it’s SO into it’s own folder in your site folder by default, check windows/application data/macromedia/flash player/ (hidden folder) ); beware, any SO with the same name from another swf will overwrite existing ones from different swf’s!
so, to use your main folder for all:
myStuffToSave=SharedObject.getLocal(“stuff”, “/”);
notice the added path parameter, you can also use a folder name…

getURL (“http:yoursitehere?param1=this&param2=that&etc…”);

ended up doing it the long way around, using .send to append the URL, and parsing from there. UGH.

good to know the better way,

thanks eyez,

–EP

P.S. I think those flash cookies are f’n cool…