Reply LinkBack Thread Tools Search this Thread
Old 03-01-2008, 10:22   #1 (permalink)
martynrlee
Registered User
 
Join Date: Jan 2008
Posts: 17
Loading all jpg/gif images before swf begins loading

Hi Guys,

Just found this forum, this is my first post and wondering if anyone can help me with something I am struggling with...

I have a swf file embeded in a html/css page containing a few images and am looking for a method to pause the loading of the swf until all the jpg/gif images on the rest of the page have loaded?

At the moment only some of the images load first, then the swf file preloads, then the swf file plays and the remainder of the images load. It is ok if the end user has a fast connection, but if not.... it looks a little unprofessional.

All help most appreciated...

Martyn.
  Reply With Quote
Old 28-01-2008, 12:53   #2 (permalink)
estazor
Registered User
 
estazor's Avatar
 
Join Date: Jan 2007
Posts: 74
Well one way you could do it is on your initial preload for the swf also do the images. So in the background you would first load the swf, once it's loaded don't actually do anything. Next load the images and once those are all loaded then you actually play the swf.

To the user visually all they'll see is a loading bar that is telling them the swf is loading. That's the first thing I can think of to do for what you described.
  Reply With Quote
Old 28-01-2008, 16:10   #3 (permalink)
martynrlee
Registered User
 
Join Date: Jan 2008
Posts: 17
Thanks for your response, I found another method to acheive what I was looking for by halting the flash from loading using the body onload function and putting the swf inside a javascript function.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8