# Loading large .swf after .html

**URL:** <https://forum.kirupa.com/t/loading-large-swf-after-html/176309>\
**Category:** flash\
**Created:** [January 22, 2006, 8:25pm UTC](https://forum.kirupa.com/t/loading-large-swf-after-html/176309 "2006-01-22T20:25:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nburlington](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nburlington/32/1365_2.png) [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Post date:** [January 22, 2006, 8:25pm UTC](https://forum.kirupa.com/t/loading-large-swf-after-html/176309/1 "2006-01-22T20:25:19Z")

</div>

I have a large .swf that is holding up the loading of the rest of my page. I found this javascript that is supposed to swap a smaller .swf for the larger one after the rest of the page has loaded. It doesn’t seem to work though. Here is the script.

```auto
<script type="text/javascript">

function playMovie(){
window.document.start.LoadMovie(0, "home-page-anim.swf");
}

</script>

```

and then on the body tag

```auto
<body onload="playMovie()">

```

Does anyone know another alternative?
