Hi, all.

I've got a problem with a SharedObject.

I run two apps simultaneously.
The following operators depict applications activities:

1. app1:
so:SharedObject = SharedObject.getLocal('so', '/');
so.data.first = 'first';
so.data.second = '';
so.flush();

2. app2:
so:SharedObject = SharedObject.getLocal('so', '/');
trace( so.data.second ); // outputs ''

3. app1:
so.data.second = 'second';
so.flush();

4. app2:
so = SharedObject.getLocal( 'so', '/' );
trace(so.data.second); // ouputs ''



In the previous version (as 2.0) I could read data written in the 
shared object by other app (without restarting) by the following 
trick:

in app2 (step 4):
delete so;
so = SharedObject.getLocal( 'so', '/' );
trace(so.data.second); // ouputs 'second'



Can I implement needed functionality in the flex 2.0?








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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/
 


Reply via email to