Forum Moderators: open

Message Too Old, No Replies

How to make SWF load last in PAGE?

         

poonpan

3:20 am on Nov 26, 2003 (gmt 0)

10+ Year Member



Hi,

I have a page containing flash elements. The problem is that the rest of the page will not load until the whole of the flash movie has loaded. I want the navigation etc. to load before this flash element.

A couple of people have suggested putting a preloader in the flash - this doesn't make any difference!

There are javascripts which control image loading order.
Can I do the same with flash?

Thank You.

IanKelley

6:58 am on Nov 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



None of the major browsers wait for flash before displaying the page.

You might try redoing the table layout so that more of your content is in a separate table from the flash... but even inside tables I don't think I've ever seen a browser that didn't let flash do it's own thing.

winstun

4:38 pm on Nov 26, 2003 (gmt 0)

10+ Year Member



Have you tried adding a preloader to the beginning of your Flash movie? I think this way the Flash player is doing something while it's continuing to load the rest of the file so it "tricks" the browser to continue loading the rest of the page.

As far as selective download order, I don't think that's possible other than something similar to an image preloader in JavaScript.

Hope this helps.

Regards,
winstun

DrDoc

4:40 pm on Nov 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

lorax

5:18 pm on Nov 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



HTML pages are read from top to bottom. IF you used absolute positioning divs and place the div containing the Flash movie at the bottom of the code it would be read last. I haven't tested this but theoretically it should load last.

BTW - Welcome to WebmasterWorld!

Stretch

6:00 pm on Nov 26, 2003 (gmt 0)

10+ Year Member



poonpan

Welcome to Webmasterworld. I asked this a while back and another member here - garann - came up with a solution that uses a hidden div thats displayed once the page has completed loading. This is the thread:

[webmasterworld.com...]

I summarise how it works on page 2.

Stretch

poonpan

2:55 am on Dec 2, 2003 (gmt 0)

10+ Year Member



Ooh...

Thanks for your reply. I will try this on tomorrow:)

Poonpan