[flexcoders] Cairngorm - always event, always command?

2008-05-01 Thread chigwell23
pseudocode: creationComplete var ipAddress:String ipAddress = getUserIP() function getuserIP():String{ // use Services to go out to ColdFusion which can tell me user IP return IP } But Cairngorm encapsulates "actions" into commands which are driven by an event and a delegate.

RE: [flexcoders] Cairngorm - always event, always command?

2008-05-01 Thread Jim Hayes
al/creative or lazy mode, but now I'll try to refactor it into the cairngorm way sooner rather than later. Which is sometimes a bit boring, but there you go. Hope that makes (at least some) sense! -Original Message- From: flexcoders@yahoogroups.com on behalf of chigwell23 Sent: