Groups | Blog | Home
all groups > flash actionscript > may 2005 >

flash actionscript : white flash when movie loads


David Stiller
5/2/2005 12:00:00 AM
[quoted text, click to view]

Darn! Do you have a URL I can look at? Maybe I'll see something.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

Jacqueline
5/2/2005 9:57:28 PM
Hello all,
I understand that you can get rid of the white flash when your movie loads
by making sure the object embed tags have the background color same as the
page... is there any way to set an image as the background... I have a
gradient (an image) that acts as a background in my movie and within the
html document that contains the flash movie I have a 1 pixel wide background
that repeats.. once the movie is loaded it looks great, but before load i
get the white flash.

any thoughts?

--
Jacqueline Jansen
Lead Designer/Developer
blurredistinction, LLC
www.blurredistinction.com

Jacqueline
5/2/2005 10:30:31 PM
David,
Thanks for the super prompt response. Unfortunately I couldn't get this to
work... but I'll keep trying

:)


[quoted text, click to view]

David Stiller
5/2/2005 11:16:14 PM
Jacqueline,

[quoted text, click to view]

I haven't ever tried it with an object or embed tag, but it's worth a
shot. I would try CSS on both tags. Create a class selector in your CSS
(or in a style tag inside the head, if you don't have an external style
sheet) like this:

<head>
<title>...</title>
<style>
.flashBackground { background-image: url(mybackground.gif); }
</style>
</head>

<body>
<!-- etc., etc. -->
<object class="flashBackground" ... >
<embed class="flashBackground" ... >

There's a CSS phenomenon known as the FOUC, in case by some stretch this
turns out not to be the SWF at fault:

http://www.bluerobot.com/web/css/fouc.asp


Good luck with it, :)

David
stiller (at) quip (dot) net
"Luck is the residue of good design."

AddThis Social Bookmark Button