PDA

View Full Version : flash loading before html page



exfusion
May 11th, 2003, 02:24 PM
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

reverendflash
May 11th, 2003, 02:42 PM
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...

Revhttp://www.aulman.com/rev.gif

eyezberg
May 11th, 2003, 03:53 PM
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).

Maximilian
May 23rd, 2003, 04:31 PM
you could also use JavaScript to preload the images before you show the page ;-)

Sykull
May 24th, 2003, 12:00 AM
I was gonna say make the flash movies extra long. But dude said it.