# Problems with loadMovie from asp

**URL:** <https://forum.kirupa.com/t/problems-with-loadmovie-from-asp/120337>\
**Category:** Uncategorized\
**Created:** [August 23, 2004, 1:10pm UTC](https://forum.kirupa.com/t/problems-with-loadmovie-from-asp/120337 "2004-08-23T13:10:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanmallo](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@juanmallo](https://forum.kirupa.com/u/juanmallo)\
**Post date:** [August 23, 2004, 1:10pm UTC](https://forum.kirupa.com/t/problems-with-loadmovie-from-asp/120337/1 "2004-08-23T13:10:13Z")

</div>

Hi! I have an asp file and a mdb database that works together passing variables to flash. I can get and display this variables using dynamic text fields in flash without any trouble. Well… in one variable I have the path to my images (for example: &image=images/john.jpg). I want to load this image in flash.

For that I used:

myClip.loadMovie(“images/john.jpg”,1);

and it works, the image shows up.

But I don’t want to type the path in flash, I want to REPLACE the “images/john.jpg” portion of the loadMovie instruction with the VARIABLE (in this case I call it “image”), so when the swf is loaded, the image appears.

By the way, I achieved to do something similar using a button with this code on it:

on(press) {  
myClip.loadMovie(image.text);  
}

and it works too but I must press the button to load the image. Thanks in advance for helping! 🙂
