Loading 2 .jpg with pop-up

Hello everyone,

I would like to have 2 .jpg dynamically loaded on my main timeline.

I have this code for one jpg.

==============================================

this.createEmptyMovieClip(“preloader”, 1000);
this.createEmptyMovieClip(“container”, 1001);
container.loadMovie(“myimage.jpg”);
this[“container”]._x = 10;
this[“container”]._y = 10;
this[“container”]._xscale = 10;
this[“container”]._yscale = 10;
container._visible = false;

preloader.onEnterFrame = function() {
var l = container.getBytesLoaded();
var t = container.getBytesTotal();
var getPercent = l/t;
loadText = Math.round(getPercent100)+"%";
loadBar._width = getPercent
100;
if (l>0 && l>=t) {
container._visible = 1;
delete this.onEnterFrame;
}
};

==============================================

How can I modify the code for 2 images? Can I use the same preloader?

How can I convert the images to buttons so that they can open a pop-up window? (a html page would open with the full length pic and some text).

Any ideas would be truly appreciated :ne:

neuhaus3000