# Clear XML Data and remove movie clip

**URL:** <https://forum.kirupa.com/t/clear-xml-data-and-remove-movie-clip/224977>\
**Category:** flash\
**Created:** [May 7, 2007, 7:25pm UTC](https://forum.kirupa.com/t/clear-xml-data-and-remove-movie-clip/224977 "2007-05-07T19:25:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ejones](https://avatars.discourse-cdn.com/v4/letter/e/3bc359/32.png) [@ejones](https://forum.kirupa.com/u/ejones)\
**Post date:** [May 7, 2007, 7:25pm UTC](https://forum.kirupa.com/t/clear-xml-data-and-remove-movie-clip/224977/1 "2007-05-07T19:25:36Z")

</div>

I have 2 quick (I hope) questions.

Is there a method to delete or reset the xml data to nothing after using… myXML.load(myfile.xml") ?

My xml file name is dynamic and I want to clear the old children and node values and create new ones based on a new XML file.

And what is the best method to remove a movie created by createEmptyMovieClip?

Cheers in advance!
