I’ve been expanding my xml knowledge, and run into a sticky wicket (figure of speech, not Ewok). This is what I’m trying to achieve:
Three main buttons on stage. Click on a button, and this loads xml data from an external xml file into a new XML object. The xml data dynamically generates additional buttons which call up additional data. Then, click on a “close” button, and that removes this first batch of xml data. Then click on another main button, and this loads different xml data from a different xml file.
I can parse the xml data with no problems. The issue is unloading the xml data from the first button before loading in different xml data. Currently, the movie simply appends the data to what’s already been loaded.
I’ve tried unloadMovie, removeMovieClip, and delete this(xmlObj). Nothing seems to work. Searches have proved fruitless - there are plenty of tutes telling you how to get data in, but none on taking it out.
Thanks for help! :