Try using LocalConnecting instead. SharedObjects really exist for persistence, LocalConnection exists for communicating between flash players I've got an example here: http://jeff.mxdj.com/read/1080369.htm
At 07:56 PM 4/29/2005, you wrote: >I thought I could set a value in a local SharedObject, call flush(), then, >in another already open app, do getLocal() and access the value set in the >first app. > >But this is not working. Flush() is returning true, but I do not see the >new set and flushed value, unless I refresh the app. > >Can I do this? Or should I find another solution? Below is the tiny >sample app I am using to test with. > >Tracy > ><?xml version="1.0" encoding="utf-8"?> > ><mx:Application >xmlns:mx="<http://www.macromedia.com/2003/mxml>http://www.macromedia.com/2003/mxml" > > initialize="initApp()"> > ><mx:Script><![CDATA[ > > private var goLSO:SharedObject; > > private function initApp():Void{ > > goLSO = SharedObject.getLocal("testlso", "/"); > > tiLSOValue.text = goLSO.data.test1; > > } > > > > private function showLSOValue():Void{ > > goLSO = SharedObject.getLocal("testlso", "/"); > > tiLSOValue.text = goLSO.data.test1; > > alert("goLSO.data.test1 == " + goLSO.data.test1); > > } > > > > private function setLSO(event):Void > > { > > goLSO.data.test1 = tiLSOValue.text; > > goLSO.flush(); > > } > >]]></mx:Script> > > <mx:Button label="Show LSO Value" click="showLSOValue()"/> > > <mx:TextInput id="tiLSOValue" focusOut="setLSO()"/> > ></mx:Application> > > >---------- >Yahoo! Groups Links > * To visit your group on the web, go to: > * > <http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/group/flexcoders/ > > > * > * To unsubscribe from this group, send an email to: > * > <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] > > * > * Your use of Yahoo! Groups is subject to the > <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

