# Flash loading before html page

**URL:** <https://forum.kirupa.com/t/flash-loading-before-html-page/20641>\
**Category:** Uncategorized\
**Created:** [May 11, 2003, 6:24pm UTC](https://forum.kirupa.com/t/flash-loading-before-html-page/20641 "2003-05-11T18:24:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![exfusion](https://avatars.discourse-cdn.com/v4/letter/e/f475e1/32.png) [@exfusion](https://forum.kirupa.com/u/exfusion)\
**Post date:** [May 11, 2003, 6:24pm UTC](https://forum.kirupa.com/t/flash-loading-before-html-page/20641/1 "2003-05-11T18:24:45Z")

</div>

hi all, i have a small but rather annouing problem.  
i have this webpage, with a jpeg background(sliced with image ready). i have a fiew flash movies on this webpage that give all the effect i desire. the problem is , when the page loads, the flash movies load and play before the BG is fully loaded. , witch gives a very unpleasent and bad look.

is there anyway i can preload the bg ? or pause the flash movies untill the bg is fully loaded.

P.S: the page is asp, and i am using dreamweaver as an editor.

i appreciate any help from all of u.

exfusion

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 11, 2003, 6:42pm UTC](https://forum.kirupa.com/t/flash-loading-before-html-page/20641/2 "2003-05-11T18:42:02Z")

</div>

a simple way, is to add empty keyframes at the beginning of the Flash movie, in order to give the image ready sliced (waits until all of the image is d/l, plus the tables, etc.) time to load.

The other way is to clean up the HTML and JavaScript that Image Ready has provided…

Another way, is to use the preloader component (it loads the entire movie before playing)…

another way is to load a small graphic, then use a behavior (on load) to then play the movie…

Rev ![](http://www.aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 11, 2003, 7:53pm UTC](https://forum.kirupa.com/t/flash-loading-before-html-page/20641/3 "2003-05-11T19:53:36Z")

</div>

Depends if it’s your entrance page, the first one usre gets to see, or not.  
If no, start preloading the jpg on previous page (resize to 1x1 px or wwhatever) so they are cached and ready for the page you post about to use.  
Else, I’d go with sen’s advise, place one of the slices into the 1st frame of the swf’s to make 'em look like part of the rest, then play them when it’s ok (involves javascript).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2003, 8:31pm UTC](https://forum.kirupa.com/t/flash-loading-before-html-page/20641/4 "2003-05-23T20:31:01Z")

</div>

you could also use JavaScript to preload the images before you show the page 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 24, 2003, 4:00am UTC](https://forum.kirupa.com/t/flash-loading-before-html-page/20641/5 "2003-05-24T04:00:30Z")

</div>

I was gonna say make the flash movies extra long. But dude said it.
