all groups > macromedia flash flash remoting > october 2003 >
You're in the

macromedia flash flash remoting

group:

store complex data as file


store complex data as file hosey
10/31/2003 2:04:29 PM
macromedia flash flash remoting:
is there a way to send a object from flash through remoting ex:
object.dude="me"
object.friends=["1","2"]

and have it save the object as a file to be gathered later, or does it
have to hit a database?
Re:store complex data as file lilac
11/2/2003 12:12:35 AM
You can save data locally using a SharedObject. SharedObjects are similar to client-side cookies. Usage:

// Create a local shared object
so = SharedObject.getLocal("myappname");

// Add data
so.data.dude="me";
so.data.friends=["1","2"];

Hope that helps.

-------------------------
Lilac Ezer

http://www.codealloy.com
http://lilacezer.blogspot.com

Re: store complex data as file hoseyhosey
11/2/2003 8:38:21 PM
Thanks, actually I meant server side using remoting and coldfusion. I
have tried but can only save text files not comlex objects

[quoted text, click to view]
AddThis Social Bookmark Button