Ah, man, totally gave you the wrong information, sorry about that. I posted another project that does use Flex/FMS/Cairngorm. The project won't run out of the box, you need to have FMS and CF running locally, but you can walk through the structure. Thanks man!
http://thanksmister.com/?p=39 Michael Ritchie AOL Xdrive --- In [email protected], "carkraus" <[EMAIL PROTECTED]> wrote: > > Hey Michael, > > actually I stumbled upon your nice article before posting on flexcoders > already : ) > It helped me getting started with Flex/FMS at all, so thx anyway!! > > But: your example is not using Cairngorm at all, or am I missing > something? > > Regards > carsten > > > > > --- In [email protected], "Michael Ritchie" <xmritchie@> > wrote: > > > > Carsten, > > > > I built out a small chat application using Cairngorm, Flex and FMS a > > while back. I chose to create some public functions to receive the > > callback methods from the NetConnection and SharedObject. I had to > > struggled with to make it feel "right" in the Cairngorm > > architecture, but I think its a good solution. > > > > Remember, Cairngorm is a meant to be modified to fit your needs, it is > > not engraved in stone that everything must fit in the current > > architecture. Have a look and see if it helps at all. You can find > > the sample zip file here: http://thanksmister.com/?p=26 > > > > Michael Ritchie > > Senior Software Engineer > > AOL Xdrive > > > > --- In [email protected], "carkraus" carsten.kraus@ wrote: > > > > > > Hi Thijs, > > > > > > while nc = new NetConnection() is defined in my main application, > right > > > now, I actually connect to FMS inside the command layer, ie. in > > > LoginCommand. > > > Here, inside execute() I register listeners to ie. > > > LoginCommand.onAccept(...). > > > > > > So: the business / service layer is not used at all at the > > > moment...thus, I feel like not following Cairngorm best practice. > > > Also I guess using SharedObjects lateron would really benefit from > the > > > frameworks workflow. > > > > > > Here�s another thread on the issue: > > > http://tech.groups.yahoo.com/group/flexcoders/message/59795, which I > > > commented on. No answer yet, though. > > > > > > regards > > > carsten > > > > > > > > > > > > > > > > > > --- In [email protected], Thijs Triemstra <lists@> wrote: > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > >

