@Aaron - Have a look at the test suite files for good examples of what you are trying to do:
http://code.google.com/p/swfobject/wiki/test_suite <http://code.google.com/p/swfobject/wiki/test_suite>Specifically: Full browser Flash test page including min-width, min-height and scrollbars<http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_dynamic_fullbrowserflash_adv.html> BTW - What Vicent said about SWFObject removing the styles on the alt content replacement div is correct. Cheers, Aran On Wed, Feb 17, 2010 at 10:34 AM, Vincent Polite < [email protected]> wrote: > This may be outdated knowledge, and I was under the impression this was > addressed in the FAQ. > > The div that SWFObject references is replaced, so styles and other things > that are associated with that DOM element go *poof*. So in order to > maintain your styling, you may want to define a container Div that doesn't > get destroyed when SWFObject.embed does its thing. It may be this is all > that's necessary to address your min-height issue. Sadly, I am still > working off of Chinese New Year and am probably not completely coherent due > to sleep deprivation, so take my advice with a grain of salt. > > Vincent > > On Tue, Feb 16, 2010 at 3:20 PM, Aaron Beall <[email protected]> wrote: > >> I'm trying to create a simple Flash presentation which is fullscreen >> but has a minimum size. I did so by creating a bit of CSS which >> defines width/height to 100% and a min-height for the flashContent >> block. I noticed in IE7 that the min-height seemed to be ignored. >> After some tinkering I found that the min-height behavior only >> vanishes after embedSWF is performed, before then the min-height >> works. What does embedSWF change in the markup that might cause this >> conflict? The source can be found here: >> >> http://dev.kodisinteractive.com/Helios >> >> Note that this min-height + embedSWF failure only happens in IE7, it >> seems to work in IE8 and all version of FireFox I tried. >> >> -- >> 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]<swfobject%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/swfobject?hl=en. >> >> > -- > 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]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > -- 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.
