Gordon Smith wrote:
> 
> 
> 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 = "";

DING DING DING!  Thanks Gordon.  You see when I wrote the function 
originally I hadn't planned on it being recursive.  I added an optional 
parameter to the function call that defines whether or not it's a 
recursive call, and then I only reset the txt if it is.

> node or not. (Shameless plug for spending money on FlexBuidler... it 
> would have saved you 7 hours!)

I have Flex Builder, and it only cost us $35 here thanks to a fabulous 
CLP program discount!  I just forgot about the debugger.

Thanks again Gordon.

Rick


--
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/
 


Reply via email to