I see two possible issues you may be facing. First, how are you updating the dataProvider? You should use the dataProvider API, addTreeNode(), setProperty(), etc., and NOT any lower level methods like maybe XML class methods. The lower level methods do not broadcast the change events that the tree components need. If you really want to use the lower level methods, then supposedly you can call modelChanged yourself.
Second, within your components, how are you binding to the data provider? Mx.core.Application... will not work reliably, that reference lacks the type information that binding needs to set up its infrastructure. I suggest that you pass a reference to the dataProvider into each component, and bind to that. Note: the public member variable must be typed, probably as TreeNode. Tracy -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Jeffery Sent: Thursday, July 07, 2005 7:29 PM To: [email protected] Subject: [flexcoders] Multiple components sharing a data provider question I'm trying to come up with a way to have multiple tree components share the same global data provider. I want to have all instances of the components updated to reflect changes to any of them, as though it was a file folder. I've created a global HTTP service object in my main application which passes the results down to the trees for the initial seeding from my xml source, but I can't figure out how to properly go about having all the trees dynamically update on a change event. Updating the instance of the tree that has the action performed on it doesn't alter the global data, and if I modify the global data, it only shows changes to trees if they haven't already been instantiated when the change happens. Is there some trick to this that I'm not seeing, or is this really complicated? Thanks for any assistance, -Tom Jeffery -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

