I stole it from Cairngorm; it's not in ARP by default.

class ModelLocator
{
    public static var my_data:Array;
}

That's the gist of it.  Since you can bind to static variables in Flex 1.5, 
it works great.  Not sure what they are going to do in 2; probably allow 
binding to statics in a later build I hope.

----- Original Message ----- 
From: "Rich Rodecker" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Friday, October 21, 2005 11:00 PM
Subject: Re: [Flashcoders] got an app development question, about Model


thats essentially what i have done in the past...but "ModelLocator" is
a new one on me.

On 10/21/05, JesterXL <[EMAIL PROTECTED]> wrote:
> ModelLocator.my_result = MyRemoting_result;
>
> ----- Original Message -----
> From: "Rich Rodecker" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" <[email protected]>
> Sent: Friday, October 21, 2005 8:11 PM
> Subject: [Flashcoders] got an app development question, about Model
>
>
> Got a question about the Model in a flash app, I'd like to see how other
> people handle the it. When working with a database (I'm using arp and
> remoting), do you have save the data you've already retrieved from a
> previous method call (say for example, that you've already requested and
> returned into for a particular project) locally, or do you always connect
> directly to the DB to retrieve the info?
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to