# Variable in loadMovie

**URL:** <https://forum.kirupa.com/t/variable-in-loadmovie/233953>\
**Category:** flash\
**Created:** [July 28, 2007, 6:26pm UTC](https://forum.kirupa.com/t/variable-in-loadmovie/233953 "2007-07-28T18:26:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beinniv](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@beinniv](https://forum.kirupa.com/u/beinniv)\
**Post date:** [July 28, 2007, 6:26pm UTC](https://forum.kirupa.com/t/variable-in-loadmovie/233953/1 "2007-07-28T18:26:11Z")

</div>

Hi,  
I’m trying to combine PHP/SQL and Flash. I’ve got a problem now. I want to load a variable that contains an url to an image. so the variable is like this:

[http://www.mysite.com/image.jpg](http://www.mysite.com/image.jpg)

Now I want flash to load **the image** , not the text. The variable is called ‘img1’ but the loadmovie function doesn’t work when I put it in. Can someone please explain how to do this.  
Thnx
