XML problem

Hi

I’ve got a swf with an XML connection and everything works fine. But now I want to load this swf in an other swf… this works to… but now I want to use the xml and that doesn’t work…

my xml is like this :

var animal_xml = new XML();
//ignore whitespaces
animal_xml.ignoreWhite = true;
animal_xml.onLoad = function(success:Boolean){
  if (success) {make_animal();
       make_bg();
      }
  else { trace("Error loading XML file");
   error();}
}

and I am loading this swf file in a holder in an other file:

var mclListener: Object = new Object()
mclListener.onLoadInit = function (target_mc:MovieClip) {trace(target_mc.animal_xml.firstChild.firstChild.length)}
 
var mcLoader:MovieClipLoader = new MovieClipLoader()
mcLoader.addListener(mclListener)
mcLoader.loadClip("main.swf", animal)

the swf with the xml code is loading in my fla… but I cannot connect to the xml… i cannot use it… can somebody tell me if this is possible? and more important how :wink:

thanks in advance