Simone.

If you search the other threads / Google, using wmopde=transparent opens you
up to a world of potential browser bugs. Use at your own risk...

Aran

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Simone Poggiali
Sent: Tuesday, 25 November 2008 9:54 AM
To: SWFObject
Subject: Re: BUG IE 6 a white backgroud


Thanks Aran, sure i will try your code and thanks again, but i was
able to solve the problems just adding a
params.wmode = "transparent";

the issue was only in IE
thanks again i will try your solution too and i will come back to you
thanks simone

On Nov 24, 11:06 pm, "Aran Rhee" <[EMAIL PROTECTED]> wrote:
> Simone.
>
> Keep in mind that SWFObject REPLACES the alternate content div. What you
> might be seeing is a moment in time when the alt content DIV has been
> removed and you are seeing the colour of the page before the Flash file
has
> been written. If you want to maintain BG color, perhaps try to have a
> wrapper div which has the BG color you desire, so that the color is always
> maintained:
>
> // inline style for demo purposes
> <div id="wrapper" style="background-color: #1c0f0e">
>         <div id="altcontent>
>                 Some alt content
>         </div>
> </div>
>
> Aran
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
>
> Behalf Of Simone Poggiali
> Sent: Tuesday, 25 November 2008 5:24 AM
> To: SWFObject
> Subject: BUG IE 6 a white backgroud
>
> Hello guys! im facing a problems using swfobject,
> i would like show up swf files in a specific div, this div has his
> background ground using css.
>
> The flash file has the same color as background as the div's
> background.
> The problem is:
> when I load the page on IE 6 you can notice a really short time (maybe
> 0,5 sec) of a white color before loading the swf, its seems to me ta
> IE need take the javascript and in that moment is not albe to show up
> another color
>
> here my code,
>
> <!--SWF controller-->
> <script type="text/javascript" src="lib/swfobject.js"></script>
> <script type="text/javascript">
>                         var flashvars = {};
>                         var params = {};
>                         params.play = "true";
>                         params.menu = "false";
>                         params.quality = "best";
>                         params.bgcolor = "#1c0f0e";
>                         var attributes = {};
>                         attributes.id = "swf_main_top_01";
>                         swfobject.embedSWF("swf/index_session_01_de.swf",
> "swf_main_top_01", "593", "258", "8.0.0", false, flashvars, params,
> attributes);
>                 </script>
> <!--END SWF controller-->
>
> would be great have your advice
> thanks again
> simone



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to