|
Ah, this may be an interesting case. When
we do an additem in the XMLList case we use the += operator so that we can
affect the original source. However that means that we’re appending to a
node which may then affect any XMLList that contains that node. Not quite the
expected behavior. It all comes from us trying to do the “right”
thing by affecting the underlying source list (all XMLLists are copies, if you
try to add to an XMLList itself that doesn’t affect the “source”);
but maybe in this case you’re finding a flaw in our logic. It’d be
worth filing this on our wish form, http://www.adobe.com/go/wish. Matt From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Bray If you
run the code below, expand the folder, select a file, and click "add to
list" repeatedly, items get added to both dataProviders, but I don't
understand why the original tree is changing because I'm not adding items to
it. Could someone explain what's happening? I'm less interested in
fixing it than in understanding what's happening. Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |

