[flexcoders] Cairngorm FMS

2007-01-02 Thread carkraus
Hi all,

I´m looking for a good way to use NetStatus events  SharedObjects
onSync-data inside the Cairngorm framework.
Right now, I´m treating these in the Command layer, which I feel is
not really making sense too much.

Can anybody provide me with some help, links to resources or similar?

Thx for any hint  happy new year everyone : )
carsten




Re: [flexcoders] Cairngorm FMS

2007-01-02 Thread Thijs Triemstra
Where do you create the NetConnection? I want to use Cairngorm for a  
Red5 test app [1] and was thinking of adding NetConnection support to  
the ServiceLocator. Cairngorm's ServiceLocator supports http,  
remoteobject, webservice and fds but i don't see FMS/netconnection  
support..  Maybe NetStream can also be in ServiceLocator and the  
result from netconnection calls could then be handled by a command's  
result handler.. I don't know yet how to catch the status events  
though..


this.service = ServiceLocator.getInstance().getNetConnection( red5 );
this.service = ServiceLocator.getInstance().getNetStream( my_ns );

Thijs

[1] http://www.red5.nl/tools/publisher

Op 31-dec-2006, om 18:10 heeft carkraus het volgende geschreven:


Hi all,

I´m looking for a good way to use NetStatus events  SharedObjects
onSync-data inside the Cairngorm framework.
Right now, I´m treating these in the Command layer, which I feel is
not really making sense too much.

Can anybody provide me with some help, links to resources or similar?

Thx for any hint  happy new year everyone : )
carsten