Forum Moderators: open

Message Too Old, No Replies

Loading flash after images and text

         

klou

1:56 pm on Aug 4, 2006 (gmt 0)

10+ Year Member



Hello.

I made a little flash movie for a website and i want it to load after the rest of the page. Unfortunately, it's loading before some images.

So i did a little search on the forum and found this [webmasterworld.com...] , but is locked.

I am trying to do exactly as the topic says ,but something is wrong because it's not working..

My code on my internal .css is :


.image {
display: none;
}

Then inside body tag i have this :
 <body onload="document.getElementById('image').style.display = 'block'; " bgcolor="#FFFFFF"> 

and the code of my flash is:


<div id="image" align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="281" height="28">
<param name="movie" value="contactb.swf">
<param name="quality" value="high">
<embed src="contactb.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="281" height="28"></embed>
</object>
</div>

What am i doing wrong?

Thanks in advance