Can anyone explain to me how to convert and combine this bit of code into an array that will function as buttons and load the images?
// - - - <Load ThumbNails> - - - \\
this.MC_thmb0.onRelease = function() {_level0.myMCL.loadClip("Images/Img0.png", imgContainer);};
this.MC_thmb1.onRelease = function() {_level0.myMCL.loadClip("Images/Img1.png", imgContainer);};
this.MC_thmb2.onRelease = function() {_level0.myMCL.loadClip("Images/Img2.png", imgContainer);};
this.MC_thmb3.onRelease = function() {_level0.myMCL.loadClip("Images/Img3.png", imgContainer);};
this.MC_thmb4.onRelease = function() {_level0.myMCL.loadClip("Images/Img4.png", imgContainer);};
function loadThmb() {
_level0.myMCL.loadClip("Thumbs/Thmb0.jpg", this.MC_thmb0.thmbPic);
_level0.myMCL.loadClip("Thumbs/Thmb1.jpg", this.MC_thmb1.thmbPic);
_level0.myMCL.loadClip("Thumbs/Thmb2.jpg", this.MC_thmb2.thmbPic);
_level0.myMCL.loadClip("Thumbs/Thmb3.jpg", this.MC_thmb3.thmbPic);
_level0.myMCL.loadClip("Thumbs/Thmb4.jpg", this.MC_thmb4.thmbPic);
};
loadThmb()