flash of white before preloader
#1
Posted 16 April 2006 - 03:21 PM
Ive gotten rid of it accidentally before but cant remember what i did.
Does anyone know how to get rid of the white flash??
Thanks,
Matt
#2
Posted 16 April 2006 - 04:58 PM
#3
Posted 16 April 2006 - 08:13 PM
#4
Posted 16 April 2006 - 08:39 PM
try this out:
1- where the flash navigation resides, fill the background of that div or table or whatever it is with the normal header (red, scanlines)
2- remove the background of your flash file so you just have your buttons
3- place your flash file where it should be, and add this code to your html:
OBJECT TAG
<param name="wmode" value="transparent">EMBED TAG
wmode="transparent"
This will make your flash movie transparent.. and then the "white flash" shouldn't happen
#5
Posted 17 April 2006 - 08:17 AM
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="507" height="73" title="flash navigation"> <param name="wmode" value="transparent"> <param name="movie" value="../flash_nav.swf" /> <param name="quality" value="high" /> <embed src="../flash_nav.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="507" height="73" wmode="transparent"></embed> </object>
Thanks for your help funkysoul.
Matt
#6
Posted 17 April 2006 - 08:19 AM
Do you know how to embed a flash movie so that it becomes w3c compliant?
Thanks,
Matt
#7
Posted 17 April 2006 - 09:44 AM
http://www.kirupa.co...ransparency.htm
W3C Compliant? I'm pretty sure that when you publish a SWF incl. the HTML, that it's compliant.. I've never looked at it, so I may be wrong
Edited by funkysoul, 17 April 2006 - 09:49 AM.
#8
Posted 17 April 2006 - 10:27 AM
getoffmyland, on Apr 18 2006, 01:19 AM, said:
Do you know how to embed a flash movie so that it becomes w3c compliant?
Thanks,
Matt
Have a read through these:
http://www.alistapar...les/flashsatay/
http://www.w3schools...lash_inhtml.asp
http://blog.deconcept.com/2004/10/14/web-s...tect-and-embed/
You need to do this as well as you have a box around your swf.
http://www.pixel2lif...showtopic=20933
#9
Posted 17 April 2006 - 01:48 PM
Still playing around with making it standards compliant though.
Ill get there one day!
Matt
#10
Posted 18 April 2006 - 11:15 AM
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="300" height="120"> <param name="movie" value="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#FFFFFF"> <!--[if !IE]> <--> <object data="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf" width="300" height="120" type="application/x-shockwave-flash"> <param name="quality" value="high"> <param name="bgcolor" value="#FFFFFF"> <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer"> FAIL (the browser should render some flash content, not this). </object> <!--> <![endif]--> </object>
*just replace with your info
And this is the website validated:
http://validator.w3.org/check?uri=http%3A%...lash%2F001.html
And the original website:
http://damowmow.com/.../flash/001.html
Edited by zYpher, 18 April 2006 - 11:21 AM.
#11
Posted 18 April 2006 - 06:57 PM
Im 6 errors away from validated code from the scipt you gave me.
5 of those 6 errors say this..
# Error Line 62 column 46: end tag for "param" omitted, but OMITTAG NO was specified. <param name="movie" value="flash_nav.swf"> You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". ✉
Ive tried closing the tag with /> but then i get 8 errors all complaining about that way of closing tags.
Have you ever had this? Know how to fix it?
Everywhere i look i see people doing it the way i do it and it works for them. What am i not doing?
Thanks,
Matt
#12
Posted 18 April 2006 - 10:45 PM
#13
Posted 19 April 2006 - 12:30 AM
Im using this type of xhtml..
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Is that what you were after? Im new to the whole validation thing.
Matt
#14
Posted 19 April 2006 - 09:03 AM
# Error Line 64 column 47: document type does not allow element "param" here; missing one of "object", "applet" start-tag. <param name="movie" value="flash_nav.swf" /> The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element. One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
This is Trasitional XHTML.
The 'param name' tags are part of a Flash object.
Matt
#15
Posted 19 April 2006 - 09:24 AM
Thanks all for your help.
Matt
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
