Re: [flexcoders] observing a model change in cairngorm

2007-02-27 Thread Douglas Knudsen
] 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

RE: [flexcoders] observing a model change in cairngorm

2007-02-20 Thread Battershall, Jeff
] 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

RE: [flexcoders] observing a model change in cairngorm

2007-02-18 Thread Dimitrios Gianninas
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

RE: [flexcoders] observing a model change in cairngorm

2007-02-18 Thread Grant Davies
, 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

RE: [flexcoders] observing a model change in cairngorm

2007-02-18 Thread Dimitrios Gianninas
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

RE: [flexcoders] observing a model change in cairngorm

2007-02-17 Thread Grant Davies
: 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

Re: [flexcoders] observing a model change in cairngorm

2007-02-17 Thread Ralf Bokelberg
://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

RE: [flexcoders] observing a model change in cairngorm

2007-02-17 Thread Grant Davies
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

RE: [flexcoders] observing a model change in cairngorm

2007-02-17 Thread Grant Davies
/ 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