I was hoping someone could help me out with this targeting issue (at least I think it’s targeting…).
I’ve got two swf’s - main (which holds a display_mc for the displaying image) and
thumbs. Below is the code I’m using for my thumbs - I just can’t seem to get it to load the image when you click on a thumbnail. display_mc isn’t nested, and the thumbs are loaded via the loader component and into a thumbs_mc on the main swf.
bdy1_btn.contentPath = "thumbs/body1.jpg";
bdy2_btn.contentPath = "thumbs/body2.jpg";
bdy3_btn.contentPath = "thumbs/body3.jpg";
bdy4_btn.contentPath = "thumbs/body4.jpg";
bdy5_btn.contentPath = "thumbs/body5.jpg";
bdy6_btn.contentPath = "thumbs/body6.jpg";
//This is where I think my problem lies
function portfolioLoader (image) {
_root.display_mc.contentPath = image;
}
bdy1_btn.onRelease = function (){
portfolioLoader("images/body1.jpg");
}
bdy2_btn.onRelease = function (){
portfolioLoader("images/body2.jpg");
}
bdy3_btn.onRelease = function (){
portfolioLoader("images/body3.jpg");
}
bdy4_btn.onRelease = function (){
portfolioLoader("images/body4.jpg");
}
bdy5_btn.onRelease = function (){
portfolioLoader("images/body5.jpg");
}
bdy6_btn.onRelease = function (){
portfolioLoader("images/body6.jpg");
}