i’m constructing a gallery in flash using 3 swf files.
main.swf
thumbnails.swf
largeview.swf
main.swf loads both thumbnails.swf and largeview.swf into seperate movie clip containers, and i have variables being passed from thumbnail.swf to largeview.swf to tell it which jpg file to load.
the big problem i’m having at the moment is when the first defualt image loads, it loads fine, but when i start clicking on other thumbnails, the image in largeview.swf stays on that first default image, like it doesnt update with the new image that is clicked on, hopefully this makes sense lol
anyways heres the script inside the largeview.swf file that reads which image to load, hopefully someone can help me
mc_image.loadMovie(_root.file_name);
mc_boundry_box.onEnterFrame = function() {
//Calculates How Large to Resize
new_image_width = _root.image_width - mc_boundry_box._width;
new_image_height = _root.image_height - mc_boundry_box._height;
//Easing Motion Tween
mc_boundry_box._width += new_image_width/10;
mc_boundry_box._height += new_image_height/10;
testing = _root.file_name;
//Center The Loaded JPEG
mc_image._x = (500 - _root.image_width) / 2;
mc_image._y = (450 - _root.image_height) / 2;
}