Actually, also look at FAQ #11 on that same FAQ link. More directly talks about what I was suggesting.
--Kyle -------------------------------------------------- From: "Getify Solutions" <[EMAIL PROTECTED]> Sent: Thursday, October 16, 2008 2:10 PM To: <[email protected]> Subject: Re: SWFObject 2.0 Float Bug. Please, help me out! > One suggestion is, if you are applying your CSS with a float, to make sure > you also force the object to be "display:block", similar to the second > example in question #10 of the FAQ: > http://code.google.com/p/swfobject/wiki/faq > > Basically, you need to make sure there's a CSS style something like this: > > object { display:block; float:left; } > > Because sometimes browsers don't default the OBJECT to being a block-level > element. > > I'm kinda guessing here, but I think that could possibly cause problems > with your other CSS and displays. > > ------------------------- > Also, since you mentioned a switch from 1.5 to 2.x, one "gotcha" is that > 2.x now actually REPLACES the target element from a div/span/whatever to > an object. This could be causing issues where your CSS is no longer > properly applied to the new flash element. > > Just some things to check, not sure if it's on track to a solution for you > or not. > > > --Kyle > > > > > -------------------------------------------------- > From: "shapper" <[EMAIL PROTECTED]> > Sent: Thursday, October 16, 2008 2:03 PM > To: "SWFObject" <[email protected]> > Subject: SWFObject 2.0 Float Bug. Please, help me out! > >> >> Hello, >> >> I was adding a flash movie using SWF Object 1.5. The container div was >> floating left. >> >> Now I am using SWF Object 2.0 and the flash movie does not show ... or >> better: >> >> The alternative content shows, hides fast and nothing shows ... this >> happens only time to time. >> I check the code using Firebug and the Flash movie is there! >> >> I tried everything I could think of using: >> http://www.swffix.org/swfobject/generator/ >> >> However, I am not able to solve this. >> >> Could someone, please, help me out? >> >> This is my code: >> >> var flashvars = {}; >> var params = {}; >> params.play = "true"; >> params.loop = "false"; >> params.menu = "false"; >> params.quality = "high"; >> params.scale = "showall"; >> params.wmode = "opaque"; >> params.bgcolor = "#1E1E1E"; >> params.seamlesstabbing = "true"; >> params.allowfullscreen = "false"; >> params.allowscriptaccess = "sameDomain"; >> params.allownetworking = "none"; >> params.base = "../../Assets/Flash/"; >> var attributes = {}; >> attributes.name = "Media"; >> attributes.styleclass = "Media"; >> attributes.align = "middle"; >> swfobject.embedSWF("Intro.swf", "Media", "100%", "100%", "9.0.0", >> false, flashvars, params, attributes); >> >> Thanks, >> Miguel >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
