JUST NOT RIGHT! - Dont get it? - should work fine?

I have tried everything and the stupid thing just don’t work.

I have an xml file with a location to a swf file. All good. I know it works fine because I have outputted it to the screen. Fine.

Ok, now I want to show this on the screen, no problem, I just did this:



_root.createEmptyMovieClip("swfMC",1);
swfMC.loadMovie("flash.swf");
swfMC._y = 10;
swfMC._x = 0;


Ok all is great. Now because I am loading it from the xml file, and we know it is being pulled in correctly, I tried this:



_root.createEmptyMovieClip("swfMC",1);
swfMC.loadMovie(swf);
swfMC._y = 10;
swfMC._x = 0;


swf is just the variable from my xml file. and nothing is being displayed, ahhhhhh what am i doing wrong here, just dont understand it???

Please help us out here, must be something really simple, just not noticeable to me :(.

Cheers