The sharedObject class is used to store and read data on user’s computer or on a server. Local shared objects can be used as browser cookies. You can also store custome object into the sharedObject, this problem I got resolved with the help of google flex_india group. Thanks for their quick help on this matter.
Follow the thread for discuss issue about storing the custome object in the sharedObject
You can create the local shared object with following syntax:
var testSO:SharedObject = SharedObject.getLocal(“testLocalSharedObject”);
To store any data into the sharedObject use data property.
//This will store the myname value, the same can be retrieved from it.
testSO.data.myname =”vijay khambalkar”;
//To store the this data into the local file, use flush method. This method writes the content immediately to the local file.
//To destroy object from the local file, use clear method. This method clears all the data from the sharedObject and deletes the sharedObject from the disk