[flexcoders] Data binding will not be able to detect changes when using--I know I know

2007-06-01 Thread James
I'm sick of seeing Data binding will not be able to detect changes when using square bracket operator. For Array, please use ArrayCollection.getItemAt() when using an arrayObj[arrayPropertyOrIndex] inside of an MXML property. I know that it won't be propagated down if the array changes, but

Re: [flexcoders] Data binding will not be able to detect changes when using--I know I know

2007-06-01 Thread Troy Gilbert
I would expect you to only get that warning if you're using binding with the MXML property... if you're not using binding, then it shouldn't care (it'll just initialize the value at the time of instantiation). Does your MXML look like this: mx:Label text={arrayObj[0]} / I'm guessing you're

RE: [flexcoders] Data binding will not be able to detect changes... ?

2007-03-29 Thread Tracy Spratt
] On Behalf Of Valy Sivec Sent: Tuesday, March 27, 2007 9:49 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Data binding will not be able to detect changes... ? Per my knowledge for Array and XMLList data binding won't detect data changes. I suggest you use XMLListCollection and the warning

Re: [flexcoders] Data binding will not be able to detect changes... ?

2007-03-28 Thread Valy Sivec
AM Subject: Re: [flexcoders] Data binding will not be able to detect changes... ? the whole model is bindable.. [Bindable] public class MyModel implements ModelLocator { ... ... public var DALocationsXML: XMLList; ... On 3/27/07, Tom Chiverton tom.chiverton@ halliwells. com wrote: On Tuesday 27

[flexcoders] Data binding will not be able to detect changes... ?

2007-03-27 Thread Greg Morphis
I've got an XML List with information something like: locations default location address1=123 Street locationid=1234 ... / /default I have it declared in my Model as an XMLLIst: public var DALocationsXML:XMLList; and in one of my views, I'm trying to load the data into a

Re: [flexcoders] Data binding will not be able to detect changes... ?

2007-03-27 Thread Tom Chiverton
On Tuesday 27 Mar 2007, Greg Morphis wrote: How can I knock this warning out? [Bindable] -- Tom Chiverton Helping to advantageously restore cutting-edge platforms on: http://thefalken.livejournal.com This email is sent for and on behalf of

Re: [flexcoders] Data binding will not be able to detect changes... ?

2007-03-27 Thread Greg Morphis
the whole model is bindable.. [Bindable] public class MyModel implements ModelLocator { ... ... public var DALocationsXML:XMLList; ... On 3/27/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 27 Mar 2007, Greg Morphis wrote: How can I knock

Re: [flexcoders] Data binding will not be able to detect changes... ?

2007-03-27 Thread slangeberg
It's because the .default node is not bindable (it's an anonymous element of an xml object). Doesn't the warning mention something about not implementing the IEventDispatchable (or other!) interface? What is the best practice for this? I know you could point a bindable property to that node

RE: [flexcoders] Data binding will not be able to detect changes... ?

2007-03-27 Thread Tracy Spratt
:06 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Data binding will not be able to detect changes... ? Nah, the full warning is Data binding will not be able to detect changes to XMLList default, need an XML instance. I'll give that a shot though... On 3/27/07, slangeberg