Loading an swf into an external window and other scripting queries

how you all doing? beginner here…
i have a page with some photo thumbnails, each have been given an instance name.
if i want to load them into an external window, what code should i use?
the layout is 6 pics on one page and each should load in its larger size in another window.preferably once one is loaded and another thumbnail is clicked, the old one could disappear. i’ve already made individual swf’s of the large size pics.
any help would be greatly appreciated!

also, i’ve always wondered…but on most sites that have preloaders, how does the preloader always show up b/w each sections. say i have my preloader in keyframe 1, with the script written…and each section on say keyframes 10, 15 and 20 resply. is there a script that one needs to put down [like a gotoAndPlay(1)] to play the preloader each time a section button is clicked and the page is loading?