# loadVariables into loadMovie code help!

**URL:** <https://forum.kirupa.com/t/loadvariables-into-loadmovie-code-help/90341>\
**Category:** Uncategorized\
**Created:** [May 17, 2005, 1:30am UTC](https://forum.kirupa.com/t/loadvariables-into-loadmovie-code-help/90341 "2005-05-17T01:30:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreanhalsey](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@andreanhalsey](https://forum.kirupa.com/u/andreanhalsey)\
**Post date:** [May 17, 2005, 1:30am UTC](https://forum.kirupa.com/t/loadvariables-into-loadmovie-code-help/90341/1 "2005-05-17T01:30:39Z")

</div>

I can’t figure out why this code doesn’t work. I am banging my head here!

```auto
ShowBanner.onEnterFrame = function() {
this.loadVariables("[http://www.mysite.com/echo.php](http://www.mysite.com/echo.php)", 0);
this.loadMovie(this.banner, 0);
}

```

echo.php simply echos “banner=http://www.mysite.com/flashfile.swf”  
I used a dynamic input text box to catch the value of banner - and it works fine! So I know the loadVariables is working but I can’t get loadMovie to actually load the movie. And if I replace this.banner with the text of the path to flashfile.swf, it loads the movie perfectly.

What is wrong that this.banner (which holds the right URL) yet loadMovie will not open the file?
