[Flashcoders] SharedObject - Urgen Help Needed Please

2007-03-02 Thread Not telling Not Telling


Hi there.
Well ive got the following sharedobject setup that is shared by many swfs in 
the same directory but the sharing works fine the problem is the following 
but first heres the shared object code.


Code:

axsim_so = SharedObject.getLocal(axsim, /);

What happens is the swf or exe projector only reads the sharedobject once 
upon opening so like say u push a button that flushes something that should 
cause a change to happen when the infomation is flushed it willonly occure 
the next time u reopen it.


What im after is for the swf or exe to constantly update its self with the 
changed saved infomation so like it will do it without having to close it of 
and reopen it again.


thanks in advanced to ne one who can help.

_
Advertisement: Fresh jobs daily. Stop waiting for the newspaper. Search now! 
www.seek.com.au  
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau_t=757263760_r=Hotmail_EndText_Dec06_m=EXT


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] SharedObject - Urgen Help Needed Please

2007-03-02 Thread Muzak
What you're trying to do is not possible with a local SharedObject.
You'll need something like FMS or Red5

Understanding shared objects
http://livedocs.adobe.com/fms/2/docs/0049.html

FMS:
http://www.adobe.com/products/flashmediaserver/
Red5
http://osflash.org/red5

If all you want to do is have 2 or more Flash apps communicate locally (running 
on same computer) you should look into using a 
LocalConnection.
http://livedocs.macromedia.com/flash/8/main/2338.html

And probably combine that with the SharedObject.

Application starts: read SharedObject
SharedObject changes: flush and use LocalConnection to update other running apps

As an alternative, you could just poll the SharedObject for changes on a 
regular interval instead of using a LocalConnection.

regards,
Muzak

- Original Message - 
From: Not telling Not Telling [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Saturday, March 03, 2007 6:09 AM
Subject: [Flashcoders] SharedObject - Urgen Help Needed Please



 Hi there.
 Well ive got the following sharedobject setup that is shared by many swfs in 
 the same directory but the sharing works fine the 
 problem is the following but first heres the shared object code.

 Code:

 axsim_so = SharedObject.getLocal(axsim, /);

 What happens is the swf or exe projector only reads the sharedobject once 
 upon opening so like say u push a button that flushes 
 something that should cause a change to happen when the infomation is flushed 
 it willonly occure the next time u reopen it.

 What im after is for the swf or exe to constantly update its self with the 
 changed saved infomation so like it will do it without 
 having to close it of and reopen it again.

 thanks in advanced to ne one who can help.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com