I current have about 20 thumbnails, that when I click them they load external jpgs on the stage.(for a porfolio section) I currently have this working. I am wondering how to go about setting up a preloader for each jpg. I currently have a preloader that is in the first scene of this flash document, if possible I would like to reuse the one that I already have? any ideas?
Currently my code for each thumnail is:
holder_mc._width = 410;
holder_mc._height = 308;
holder_mc.loadMovie(“pics/pic01.jpg”);
thumbnail01.onRelease=function(){
holder_mc._width = 410;
holder_mc._height = 308;
holder_mc._alpha = 100;
holder_mc.loadMovie(“pics/pic01.jpg”);
}
thumbnail02.onRelease=function(){
holder_mc._width = 410;
holder_mc._height = 308;
holder_mc._alpha = 100;
holder_mc.loadMovie(“pics/pic02.jpg”);
}
thumbnail03.onRelease=function(){
holder_mc._width = 410;
holder_mc._height = 308;
holder_mc._alpha = 100;
holder_mc.loadMovie(“pics/pic03.jpg”);
}
thumbnail04.onRelease=function(){
holder_mc._width = 410;
holder_mc._height = 308;
holder_mc._alpha = 100;
holder_mc.loadMovie(“pics/pic04.jpg”);
}
where thumbnail and pic are actually names.
actual file