Jump to content


flash of white before preloader


  • You cannot reply to this topic
14 replies to this topic

#1 getoffmyland

    Young Padawan

  • Members
  • Pip
  • 78 posts
  • Location:UK

Posted 16 April 2006 - 03:21 PM

I am using Flash for a nav bar at the top of a website and just before the preloader appears, theres a flash of white which really spoils the look as the rest of the site is dark grey.

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 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 16 April 2006 - 04:58 PM

do you have any screenshots or examples online? i don't really understand what do you mean with white flash.. :(

#3 getoffmyland

    Young Padawan

  • Members
  • Pip
  • 78 posts
  • Location:UK

Posted 16 April 2006 - 08:13 PM

yes i do, try here..

http://www.getoffmyl...paintball/index

look at the top right.

Matt

#4 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 16 April 2006 - 08:39 PM

oh ok, now I see the problem...
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 getoffmyland

    Young Padawan

  • Members
  • Pip
  • 78 posts
  • Location:UK

Posted 17 April 2006 - 08:17 AM

I cant seem to get the flash movie transparent, heres the code..

<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 getoffmyland

    Young Padawan

  • Members
  • Pip
  • 78 posts
  • Location:UK

Posted 17 April 2006 - 08:19 AM

Actually, whilst we are on the subject of Flash navigation..

Do you know how to embed a flash movie so that it becomes w3c compliant?

Thanks,
Matt

#7 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 17 April 2006 - 09:44 AM

Well there are some limitations, have a look at this tut.
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 Donna

    Retired P2L Queen!

  • P2L Staff
  • PipPipPipPip
  • 12,330 posts
  • Gender:Female
  • Location:B.C Canada

Posted 17 April 2006 - 10:27 AM

View Postgetoffmyland, on Apr 18 2006, 01:19 AM, said:

Actually, whilst we are on the subject of Flash navigation..

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 getoffmyland

    Young Padawan

  • Members
  • Pip
  • 78 posts
  • Location:UK

Posted 17 April 2006 - 01:48 PM

Thanks for the input. I have managed to get the flash nav transparent and working how i want it to.

Still playing around with making it standards compliant though.

Ill get there one day!

Matt

#10 ericrcan

    Young Padawan

  • Members
  • Pip
  • 103 posts

Posted 18 April 2006 - 11:15 AM

Here you go getoffmyland for the compliant flash. I also searched for this FOREVER a long time ago, and finally found it. But you cant have it beacuse im greedy...LOL..j/k man. Here it is:

<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 getoffmyland

    Young Padawan

  • Members
  • Pip
  • 78 posts
  • Location:UK

Posted 18 April 2006 - 06:57 PM

Thanks Zypher,

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 ericrcan

    Young Padawan

  • Members
  • Pip
  • 103 posts

Posted 18 April 2006 - 10:45 PM

Put it at "/>". What type of XHTML transitional markup are you using? It worked fine for me ;)

#13 getoffmyland

    Young Padawan

  • Members
  • Pip
  • 78 posts
  • Location:UK

Posted 19 April 2006 - 12:30 AM

Ill put it as "/>" and then show you what the validator says about it as a result.

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 getoffmyland

    Young Padawan

  • Members
  • Pip
  • 78 posts
  • Location:UK

Posted 19 April 2006 - 09:03 AM

Ok, i have closed all of the "param"s with '/>' and this is what the validator says now..

# 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 getoffmyland

    Young Padawan

  • Members
  • Pip
  • 78 posts
  • Location:UK

Posted 19 April 2006 - 09:24 AM

Ive sorted it!

Thanks all for your help.

Matt





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users