# Need help loading swf one after other in the same div

**URL:** <https://forum.kirupa.com/t/need-help-loading-swf-one-after-other-in-the-same-div/309737>\
**Category:** web dev\
**Created:** [May 23, 2010, 6:02pm UTC](https://forum.kirupa.com/t/need-help-loading-swf-one-after-other-in-the-same-div/309737 "2010-05-23T18:02:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adBuryD](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@adBuryD](https://forum.kirupa.com/u/adBuryD)\
**Post date:** [May 23, 2010, 6:02pm UTC](https://forum.kirupa.com/t/need-help-loading-swf-one-after-other-in-the-same-div/309737/1 "2010-05-23T18:02:12Z")

</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

```auto

<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
