# Controlling what loads first - HTML or Flash

**URL:** <https://forum.kirupa.com/t/controlling-what-loads-first-html-or-flash/196177>\
**Category:** flash\
**Created:** [August 6, 2006, 11:30am UTC](https://forum.kirupa.com/t/controlling-what-loads-first-html-or-flash/196177 "2006-08-06T11:30:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashDeano](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@FlashDeano](https://forum.kirupa.com/u/FlashDeano)\
**Post date:** [August 6, 2006, 11:30am UTC](https://forum.kirupa.com/t/controlling-what-loads-first-html-or-flash/196177/1 "2006-08-06T11:30:57Z")

</div>

This is probably a dumb question and I think a Javascript thing but here goes.

I have a logo (swf) on my site that is 178K and hence loads after the rest of the HTML page.

Want I need to achieve is to load the swf movie and as soon as it starts to play, load the html page content.

I am assuming I need to start looking into javascript window.onload but wondered if there is any other ways of doing this using Flash.
