Yes, I filed a bug. You can work around the bug by making a copy of the item instead of using a reference like so:
instead of:
listDP.addItem(prodTree.selectedItem);
do this:
listDP.addItem(prodTree.selectedItem.copy());
Don't be surprised if you encounter other unexpected behavior with XMLList/XMLListCollection like garbage nodes appearing when using addItem in certain circumstances, etc. I'm still trying to get answers about that.
Tom
On 8/8/06, dadrobson <[EMAIL PROTECTED]> wrote:
Tom:
I am experiencing the same issue. Did you find a workaround for it?
Also, did you file the bug report with Adobe?
Thanks
Jim
__._,_.___
--
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
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] Re: strange XMLListCollection behavior Tom Bray
Reply via email to