Thank you so much cancerinform for your help that worked perfectly!

Many thanks

Quote Originally Posted by cancerinform View Post
You create the Loader once and add it to the movieclip. Then images will be automatically replaced.

var imageLoader:Loader = new Loader();
movieclip_mc.addChild(imageLoader);


function loadImage(url:String):void
{
imageLoader.load(new URLRequest(url));
imageLoader.contentLoaderInfo.addEventListener(Pro gressEvent.PROGRESS, imageLoading);
imageLoader.contentLoaderInfo.addEventListener(Eve nt.COMPLETE, imageLoaded);
}
loadImage("images/" + image + ".jpg");

function imageLoaded(e:Event):void
{
//whatever you want to do
}