Loading an External Image - extension help

Hello,

I have followed the following tutorial:

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

loadImage("testimage.jpg"); 

and in the html I added:

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.