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

**URL:** https://forum.kirupa.com/t/just-not-right-dont-get-it-should-work-fine/166127
**Category:** Uncategorized
**Created:** [October 17, 2005, 9:22am UTC](https://forum.kirupa.com/t/just-not-right-dont-get-it-should-work-fine/166127 "2005-10-17T09:22:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![trevorsaint](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trevorsaint/32/268_2.png) [@trevorsaint](https://forum.kirupa.com/u/trevorsaint)
#### Post date: [October 17, 2005, 9:22am UTC](https://forum.kirupa.com/t/just-not-right-dont-get-it-should-work-fine/166127/1 "2005-10-17T09:22:23Z")

</div>

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:

```auto

_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:

```auto

_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
