|
Your code is properly traversing all
nodes, including the root node. But when you recursively call showList(item.children()),
the first thing that happens is that you set txtResults.txt = ""; which wipes out the previous text produced
from the root node. I found what the problem was by inserting trace()
statements rather than just looking at the final txtResults.txt. The debugger in FlexBuilder 2 also makes
it easy to step through your code one line at a time to determine whether it is
processing the root node or not. (Shameless plug for spending money on
FlexBuidler... it would have saved you 7 hours!) - Gordon From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf
Of Rick Root ping... 7
hours later I haven't come up with a solution.. anyone? -- 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
__,_._,___ |
- RE: [flexcoders] accessing item data in an XMLList Gordon Smith

