Dynamic image loading with progress bar

I’m currently loading an image dynamically into a loader using this script.


loadMovie("1.jpg",_root.sliding_content.content_2.contents.example_birds.work_page.myloader);

All I’m trying to do is attach a progress bar component to this loader. Other images get loaded into the same loader component using the same actionscript as above but with different file names.

I’m having difficulties getting the progress bar to show the progress - when it gets to 100% disappear and then reset and reappear when another image is loaded into the same loader component when the action script is called again.

Please could someone help me with a way to set this up or point me in the right direction of a tutorial - I can only find tutorials that load a single image with a progress bar.

Much appreciated - thanks