24/10/2008, 12:56 PM
Hi guys and gals I need your help on some javascript. Basicly I have a website and I want to make it possible to change swf files in a div container when you click a button so for example on my site I had 2 videos, one of me explaining the purpose of the page and the second is a swf of my flash work, I have two buttons one for loading the explaining video and one with my flash work. I basicly would like to know how I can get the buttons to load them without having to refresh the webpage. Would it be something like on click change file in <div id= video> to work.swf if not displayed else display explaination.swf?