Can't Unload Movie Clip :(


I have xml which is loaded in a movie clip but i can’t seem to be able to unload that movie clip when i need to. I tried everything and the code seems right. I’m guessing it’s because of some kinda path issue.
Could someone take a look and help me out. Maybe someone else might see something i’m missing.

This is the code i am using to load the xml in the movie clip:

var r = _root;

r.clipArr = new Array();

r.menuXml = new XML();
r.menuXml.ignoreWhite = true;
r.menuXml.onLoad = function() {
 menuItem = this.firstChild.childNodes;
 for (var i=0; i<menuItem.length; i++) {
  item = _root.attachMovie("itemClip", "itemClip" + i, i);

  item._x = 30;
  item._y = 30*i;
  item.itemLabel.text = menuItem*;
  item.myUrl = menuItem*.attributes.url;
  item.onRelease = function() {

// new stuff--------------------------
deleteClips = function(){
  for(var i = 0; i<r.clipArr.length; i++){
  r.menuXml = null;
// new stuff--------------------------

This is what i am using to unload the movie clip:


Here is the file that i am working on. Just download it from my server and take a look:

Thank you, I appreciate it!