Posting image name as variable

Hi there,

I couldn’t believe how simple it was to create variable using text fields - i.e. give it a variable name in the properties section and when you post teh variables what ever you’ve typed in the text box gets sent - Excellent.

My problem comes with the images. I’ve created an empty movie clip like so:

this.createEmptyMovieClip(“mainimageholder”,1);
mainimageholder._x=275;
mainimageholder._y=190;

And then put an inital image in there:

mainimageholder.loadMovie(“Images/LilyHeart.jpg”);

But how do I get flash to send the image name which is loaded as a variable?

I hope thsi is a simple one for someone - I just can’t seem to work it out?

Thanks