# AS2 loadmovie using var

**URL:** <https://forum.kirupa.com/t/as2-loadmovie-using-var/287970>\
**Category:** flash\
**Created:** [May 8, 2009, 4:53pm UTC](https://forum.kirupa.com/t/as2-loadmovie-using-var/287970 "2009-05-08T16:53:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![suzannehami](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@suzannehami](https://forum.kirupa.com/u/suzannehami)\
**Post date:** [May 8, 2009, 4:53pm UTC](https://forum.kirupa.com/t/as2-loadmovie-using-var/287970/1 "2009-05-08T16:53:58Z")

</div>

Hi  
I’m sure this has been asked and answered several times but I couldnt find an answer via the search, so my apologies for asking again.

I’m pulling data using an asp page and have managed to get the vars to fill as I want and they are being passed to the movie (Flash8) the text box and the button url are successfully using the vars being passed but I havent been able to get an image to load using it’s var. I’ve tested that the var is being passed in correctly as the data successfully fills a text field.  
Can someone please tell me what I’ve done wrong.

This is what I have on an empty mc but it keeps returning as undefined

```auto
onClipEvent (load) {
    loadMovieNum(image_url,0);
}

```

I also tried this on a frame

```auto
loadMovieNum(image_url, image_loader);

```

Many Thanks in advance for any help  
Sue
