all groups > flash (macromedia) > october 2004 >
You're in the

flash (macromedia)

group:

White flash before animation plays


White flash before animation plays disturbingthepeace
10/31/2004 10:51:11 PM
flash (macromedia):
Everything was fine as far as this issue goes. i.e. THe page would loud and
there was not any white box. I made some changes to the page itself (added a
gif) and a link, to the page the .swf is located on. THen I began getting a
white flash before my movie loaded. I removed the .gif thinking that might of
been the problem, but white flash the size of my stage shows first.
www.lifepaper.com
Re: White flash before animation plays urami_
11/1/2004 10:09:51 AM

[quoted text, click to view]

The problem lay in the code of the html document.

What happens there is that the html does not know what color to give the to
space define by object / embed tags so it gives white as it is the default color of flash player.
The information on the color are store on first frame of the movie so once the movie start loading
the background color is set ON.
But , we can force it to have background color before the content load by simply placing a color
tags in both , the object and the embed tags.

<PARAM NAME=bgcolor VALUE=#00000>
and
<EMBED bgcolor=#00000

Best to use the File - Publish Setting feature in flash.
If publish from there , flash automatically while generating the html with
all the tags , will place the color of authoring fla as default color of the tags.

Anyway , the current one looks like :

<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="550" height="400" title="November">

<param name="movie" value="Novemberblue2004.swf">
<param name="quality" value="high">
<embed src="Novemberblue2004.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
width="550" height="400"></embed>
</object>

and should look like :

<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="550" HEIGHT="400" id="November" ALIGN="">
<PARAM NAME=movie VALUE="Novemberblue2004.swf">
<PARAM NAME=loop VALUE=false>
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#000066>
<EMBED src="Novemberblue2004.swf" loop=false menu=false quality=high bgcolor=#000066
WIDTH="550" HEIGHT="400" NAME="November" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>


--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
Re: White flash before animation plays disturbingthepeace
11/1/2004 5:23:08 PM
Re: White flash before animation plays $tinkworx
11/28/2004 6:46:53 PM
doh.

still getting a white flash in firefox. anyone else noticed this problem, and
know a fix?

and internet explorer doesnt like those object tags at all. it does fine with
the embed tags tho (i thought it was supposed to prefer the vice-versa?)
Re: White flash before animation plays $tinkworx
11/28/2004 8:13:51 PM
ahh, fixed the firefox problem!
Re: White flash before animation plays phatkow
11/28/2004 9:56:04 PM
Originally posted by: $tinkworx
ahh, fixed the firefox problem!<BR>at least in my case i had to add
wmode=transparent to the embed tag (even tho the .swf i'm loading is not
transparent)

Be careful - if you dont need transparency, avoid it. this may cause severe
performance problems during playback - i have seen it happen on fairly "light"
movies with WMODE. did you clen yer cache before testing with Firefox? you
running Firefox 1.0?
Re: White flash before animation plays $tinkworx
11/28/2004 10:03:08 PM
hi, yes firefox 1.0, and yes cleaned my cache before every check..

so far have only tested it to load some pretty simple flash pages (but masking
is working fine..)

if there is a preferable method to get rid of the "white flash" in firefox,
i'd sure like to hear it....as i said, the bgcolor tag for object and embed
aint doing it..
AddThis Social Bookmark Button