views:

189

answers:

0

My original question was "Is there a javascript function to swap a still image(jpg) to a movie(swf)? If there is is there a disjointed swap image path?"

Jack's answer worked but did not have a disjointed rollover. His function imgToSWF works great but it isn't what is needed. What I need is to have multiple thumbnail images(jpgs) that when clicked will swap out the original image(jpg) located in a separate box that is visible with a swf file. This is basically a disjointed swap image replacement like in a navbar. Included is the link to a working file without the swf which I simplified down to 2 thumbnails and the lrg image box for reference:

http://simmonsdesignandphotography.com/atest/animgtoswf.html

At this link you will see box a and b which are small thumbnails that when clicked load an image into box c (the large image) and for "some" the swf image in a box called swfO.

The answer to Jack's last comment is "Yes".

What I would like to do is swap the large image in box c with a swf movie.....but I do not want the swf on the page the swf before it is loaded.....it is shown because "some's" comment wanted to know where it was". My thanks to both of you for responding!