] On
Behalf Of Dimitrios Gianninas
Sent: Sunday, February 18, 2007 11:24 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] observing a model change in cairngorm
One way to do it is for the ChartView to manipulate the data as it
wishes. So have a setter in the ChartView MXML like so
] On Behalf Of Gareth Edwards
Sent: Sunday, February 18, 2007 4:46 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] observing a model change in cairngorm
Typically a binding like the one described will only execute if
the actual property changes
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] observing a model change in cairngorm
Why not define an as class for your model (if you aren't already), and
define a separate variable that you can populate on the other data being
set?
The snippet I posted is from something I've done that looks
, February 18, 2007 11:24 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] observing a model change in cairngorm
One way to do it is for the ChartView to manipulate the data as it
wishes. So have a setter in the ChartView MXML like so:
bla:ChartView dataProvider={ModelLocator.someData
Subject: RE: [flexcoders] observing a model change in cairngorm
Thanks Dimitrios..
Question is when the Model.someData changes, will my set dataProvider
function be called again ? During my testing it appeared to be called
when it was first run, but when the model changed the setProvider
function
: Saturday, February 17, 2007 4:32 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] observing a model change in cairngorm
Why not use a setter in your model and do the work there?
public function set jobs (data:ArrayCollection data:ArrayCollection )
: void
://www.tribalchicken.com/
--
*From:* flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.comflexcoders@yahoogroups.com]
*On Behalf Of *Gareth Edwards
*Sent:* Saturday, February 17, 2007 4:32 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] observing
Subject: Re: [flexcoders] observing a model change in cairngorm
Why not define an as class for your model (if you aren't already), and
define a separate variable that you can populate on the other data being
set?
The snippet I posted is from something I've done that looks like
this
public
/
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ralf Bokelberg
Sent: Saturday, February 17, 2007 5:54 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] observing a model change in cairngorm
Hi Grant
Can't you use a binding
9 matches
Mail list logo