Try [bindable] var myArrayCollection:ArrayCollection ;
<your data component dataProvider="myArrayCollection"/> now whenever your blaze implementation provides a result, assign the array to your deeply nested array: myArrayCollection = (event.result as myrealyComplexObject).deep.inside.somewhere.else.THE_ARRAY_I_AM_INTERESTED_IN ; done or post some code :-) On Fri, Nov 14, 2008 at 3:00 AM, Tim Hoff <[EMAIL PROTECTED]> wrote: > > For AS only components, you might have better luck using a getter/setter > for the dataProvider; instead of the binding utility. When the > dataProvider is set, update the chart's dataProvider explicitly; usually > done in commitProperties(). > > -TH > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, john > fisher <[EMAIL PROTECTED]> wrote: > > > > well then I *really* don't understand what you are up to, and haven't > > tried the BlazeDS... > > so any further discussion with me will probably result in me learning > > from you instead of helping. > > it *sounds* like your set-up is over-complex, but no doubt you have > > requirements to follow. > > to me theres a swf and theres a data source somewhere behind a URL, > and > > thats all you need.... > > > > John > > > > netdeep wrote: > > > The problem is that I'm transferring an ActionScript object to the > server, populating it with > > > the data, and then returning the ActionScript via BlazeDS and > remoting (so these objects > > > get converted to Java objects on the server and back to ActionScript > when the come into > > > flex). And the ArrayCollection is buried deep in the the object and > I also build the series > > > items for the chart on the fly in Actionscript. So I don't have > access to the series items in > > > the chart I create (for instance to reassign the dataproviders), nor > do I have easy access to > > > the ArrayCollections themselves since they are buried in the > ActionScript objects. Here's > > > some pseudocode of how the charts get created which illustrates the > problem. > > > > > > in ReportObject > > > for each ChartObject in ReportObject > > > create CartesianChart > > > for each AxisObject in ChartObject > > > create DateTimeAxis and assign it to chart > > > for each SeriesObject in AxisObject > > > create Series and assign it to axis > > > bind SeriesObject.data to Series.dataprovider > > > > > > > > > So when I get the next ReportObject pushed to the flex app from the > server, the structure > > > of the Report is exactly the same (i.e. x# axes, x# series for a > given axis, etc) but the data > > > has been updated and the series do not pick this up. > > > > > > > > > > > > > > -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation [EMAIL PROTECTED],