RE: [flexcoders] Re: ViewHelper is dead ? So what's the 'best practice' here... ?

2007-01-30 Thread jason.proulx
I built a ViewController class that I use to switch views. It simply listens for CairngormEvents and changes state when it hears one it likes. I literally copied the code in FrontController, made it extend Canvas, and changed the functionality from handling commands to simply storing string

[flexcoders] Re: ViewHelper is dead ? So what's the 'best practice' here... ?

2007-01-22 Thread ben.clinkinbeard
I am far from a Cairngorm authority, but the way I see it you could do it one of 2 ways. The simplest would be to just put your function on the model and call it that way. The other way is perhaps the more 'proper' way and I would imagine how it would work once you get the web service implemented.

[flexcoders] Re: ViewHelper is dead ? So what's the 'best practice' here... ?

2007-01-22 Thread Tim Hoff
Hi Jamie, In addition to these fine suggestions, you could implement an Observe tag http://weblogs.macromedia.com/paulw/archives/2006/05/the_worlds_smal.cf\ m in mxml_2 that listens for a change to the int in the ModelLocator. -TH --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL