# \[FMX04\] Newbie question: Loading external vars

**URL:** <https://forum.kirupa.com/t/fmx04-newbie-question-loading-external-vars/213185>\
**Category:** flash\
**Created:** [January 17, 2007, 3:40pm UTC](https://forum.kirupa.com/t/fmx04-newbie-question-loading-external-vars/213185 "2007-01-17T15:40:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nutty](https://avatars.discourse-cdn.com/v4/letter/n/a3d4f5/32.png) [@Nutty](https://forum.kirupa.com/u/Nutty)\
**Post date:** [January 17, 2007, 3:40pm UTC](https://forum.kirupa.com/t/fmx04-newbie-question-loading-external-vars/213185/1 "2007-01-17T15:40:21Z")

</div>

I have this bit of code in my flash document:

```auto
loadVariables("album.php", this, "GET");
this.pathToPics="images/projecten/";
var BlaBla = "IMG_0138.JPG";
loadMovie(this.pathToPics+BlaBla, _root.ImportImage);

```

What does this do?  
\_root.ImportImage is a graphic in my flash document.  
It just loads an external image into the graphic…  
var BlaBla is a temp variable to show what the problem is.  
The code here above works, but i want to load ImageName from the php file.

My php file looks like this:

```php
<?php
 echo 'ImageName=IMG_0138.JPG
      &ImageInfo=Geen Omschrijving';
?>

```

This is what it i tried (look at ImageName in php and here under…):

```auto
loadVariables("album.php", this, "GET");
this.pathToPics="images/projecten/";
loadMovie(this.pathToPics+ **ImageName** , _root.ImportImage);

```

Without succes…  
Could anyone help me?
