# Loading an External Image - extension help

**URL:** <https://forum.kirupa.com/t/loading-an-external-image-extension-help/305448>\
**Category:** flash\
**Created:** [February 25, 2010, 3:43pm UTC](https://forum.kirupa.com/t/loading-an-external-image-extension-help/305448 "2010-02-25T15:43:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sumpson](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@Sumpson](https://forum.kirupa.com/u/Sumpson)\
**Post date:** [February 25, 2010, 3:43pm UTC](https://forum.kirupa.com/t/loading-an-external-image-extension-help/305448/1 "2010-02-25T15:43:00Z")

</div>

Hello,

I have followed the following tutorial:

[http://www.kirupa.com/developer/flashcs3/loading\_image\_as3\_pg1.htm](http://www.kirupa.com/developer/flashcs3/loading_image_as3_pg1.htm)

Everything works fine, and I am loading the image dynamicly. However I would like to load the image from HTML with SWFObject.

I have removed

```auto
loadImage("testimage.jpg"); 

```

and in the html I added:

```auto
so.addVariable('loadImage','testimage2.jpg');

```

Can someone tell me what I am doing wrong and what the solution is?

I have very few flash experience but can load animated text dynamicly in combination with CMS Made Simple and would like to be able to load images dynamicly too.

Thanks for any help in advance.
