[SWFObject] Flash loading before other content

Jeremy Nicoll jrnicoll at hotmail.com
Mon Aug 28 17:48:23 PDT 2006


    I have to load the flash after the rest of the content on my page 
due to an awful IE bug.  This is a JavaScript thing, not so much a Flash 
thing, but here's a stripped down version of how you do it.  This will 
wait until the page is entirely loaded (images and all), and then run 
the function that is listed in the "onload".


<html>
<head>
<script type="text/javascript">
  function on_load() {
     //Add  SWFObject loading stuff here.
  }
</script>
</head>
<body onload="on_load();">
  <!-- HTML content goes here -->
</body>
</html>

--
Jeremy Nicoll
www.SeeMySites.net
> Subject:
> [SWFObject] Flash loading before other content
> From:
> Cliff Boyd <evolutionedge at evolutionedge.com>
> Date:
> Sat, 26 Aug 2006 10:57:18 +0100
> To:
> swfobject at lists.deconcept.com
>
> To:
> swfobject at lists.deconcept.com
>
>
> Hi
>
> I'm in no way an advanced flash user and I'm new to swf object. I have 
> a particular behavior occurring and I wonder if anyone would know the 
> reason.
>
> I have a page (it's just in development at this stage) that contains a 
> relatively small flash movie. It loads and functions fine the first 
> time the page is loaded, but when I navigate to another site and  
> return to it there is a moment in which the flash appears before the 
> rest of the page's content. Sometimes the previous page's content is 
> still visible 'around' the flash then is replaced by my page's 
> content. This occurs to varying degrees in any browser on both mac and 
> windows.
>
> My question is: Is there a way (javascript?) to have the entire page's 
> content load and then once done the flash is loaded - or for the flash 
> to be loaded at the same time as the rest of the content?
>
> (I did some searching but no luck - I did find the FOUC issue but that 
> seems to only happen on IE on windows and its not really the same issue).
>
> Thank you for any input
>
> Cliff Boyd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060828/28e709f2/attachment-0005.htm>


More information about the Swfobject mailing list