Need help loading swf one after other in the same div

Hi, I am not a web developer, but i do have some exp in this area but i still cannot got a lot of the javascript working with a lot of trial & error methods:(

Thats jus summing up myself. SO here is my query. Is it possible using ajax for a DIV in an HTML to load an SWF like a slide show . i Mean something like this


<div id="loadHere"> 
<script>

function changeswf(){
     //what should be the script here
}

<object>.....<embed>....</embed></object>

</script>
</div>
<input type="button" onClick=javascript:changeSwf(); value="nextswf">

Would be great help if someone privide some help .Thanx