Hi,

I am trying to pass data between multiple mxml applications with using local 
shared object.
It writes to sharedObject(parameterCookie) but  when i try to read data from 
object it gets nothing.
What is wrong with this code ?

Thanks,

Gokhan.

Write.as

 private var myLSO:SharedObject;
 private var p_name:String;

 myLSO=SharedObject.getLocal("parameterCookie");
 p_name=text_name.text;
myLSO.data.name=p_name;
myLSO.flush();


Read.as

private var myLSO:SharedObject;
 private var p_name:String;

myLSO=SharedObject.getLocal("parameterCookie");
            if (myLSO==null) {
                   Alert.show("cannot create shared object ");
            }
            else{
                p_name= myLSO.data.;
                text_name.text=p_uy;
            
            }


      

Reply via email to