[flexcoders] Re: updating data in Actionscript

2008-11-17 Thread netdeep
Well I've been going back through my code and I found a logical error in which I was not getting the correct reference to the old arraycollection and so I'd just like to close this topic by saying 'mea culpa'. The data binding does work! I just had to assign the old pointList arraycollecti

[flexcoders] Re: updating data in Actionscript

2008-11-14 Thread netdeep
Thanks for all the help everybody. I feel like I am close to getting this, but it's still not working. Here are the relevant snippets of actual code which should give a better idea of what I'm doing and why it's not working. // initial assignment when chart is created BindingUtils.bindProperty

Re: [flexcoders] Re: updating data in Actionscript

2008-11-13 Thread Fotis Chatzinikos
Try [bindable] var myArrayCollection:ArrayCollection ; 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 som

[flexcoders] Re: updating data in Actionscript

2008-11-13 Thread Tim Hoff
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, john fisher <[EMAIL

Re: [flexcoders] Re: updating data in Actionscript

2008-11-13 Thread john fisher
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 sw

[flexcoders] Re: updating data in Actionscript

2008-11-13 Thread netdeep
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 ArrayC