Xm hell

Hi Guys

I’m new here and I need a little help. Been using XML for years but have a wee problem that I cannot solve.

I have a swf which is the base of my site. I load in another swf (into a movie clip) and attempt to load an XML file - or rather lack of it because nothing happens. None of my code points to root and if I try hardcoding my XML code into a movie clip it works.

It just won’t work when the swf is loaded into another swfs movie clip, it really is doing my head in as I’ve been hard at it for hours

myText.wordWrap = true;
myText.multiline = true;
myStyle = new TextField.StyleSheet();
myStyle.load("profile.css");
myText.styleSheet = myStyle;
myContent = new XML();
myContent.ignoreWhite = true;
myContent.load("profile.xml");
myContent.onLoad = function(success){
	if(success){
		myText.text = myContent;
	}
}

Any help would be really welcome