I want to thank everyone who threw a comment at me for my previous 
question about handling large XML datasets.  I think I'm going to 
follow the suggestion of splitting up the XML into smaller files and 
then reading the data in based on the user search criteria.

One of the things that I'll need to happen, though if I go that 
route is to purge the results currently on the screen.  I've been 
playing around with the FlexStore example trying to do this.  I 
implmented the search bar so that I can type in the phone name and 
it will display the selected phone.  I've also modified the code to 
only load the selected phone after the search button is click (so it 
reads and caches the XML data, but doesn't display anything on the 
screen).  If I type in another query, though, the new thumbnail just 
appears on top of the previous thumbnail.  How do I re-initialize 
the catalogPanel so that it blanks the panel before displaying the 
results of the new search?  I've tried using the removeAllChildren 
to make sure there is nothing on the catalogPanel followed by a 
addchild(products), but I end up with pretty much the same result. 

I would think that executing a removeAllChildren as part of a button 
click event would ensure that everytime the button is clicked, the 
panel is blanked.  What am I doing wrong???

Wayne








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