You will want to use XMLListCollection or plain XML. XMLList, like Array, does not emit the events necessary to update the controls.
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Morphis Sent: Tuesday, March 27, 2007 10:06 AM To: [email protected] 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 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: 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 itself, but may not be what you're looking for, such as: [Bindable] var default: ObjectProxy; //this should get picked up by bindings default = DALocationsXML.default; -Scott On 27 Mar 2007 06:45:50 -0700, Greg Morphis < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: 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 List.. dataProvider="{MyModel.getInstance().DALocationsXML.default}" I don't have an error but I have a warning telling me Data binding will not be able to detect changes to XMLList "default", need an XML instance. How can I knock this warning out? -- : : ) Scott

