OK.. I finally got it all working - the only thing is that it seems to set the flash file down a bit on the page as if there is a paragraph return in the code at the top... and there is nothing... this code is placed in the post of the wordpress page.
here is the new code: <script type="text/javascript" src="http://www.xxx.com/js/ swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; var params = {}; params.quality = "high"; params.scale = "noscale"; params.wmode = "transparent"; var attributes = {}; swfobject.embedSWF("http://www.xxx.com/flash/contact-header.swf", "myAlternativeContent", "642", "286", "9.0.0", false, flashvars, params, attributes); </script> </head> <body> <div id="myAlternativeContent"> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/ get_flash_player.gif" alt="Get Adobe Flash player" /> </a> </div> On Apr 27, 3:56 pm, Vincent Polite <[email protected]> wrote: > http://www.bobbyvandersluis.com/swfobject/generator/index.htmlis the proper > link I believe? > > On Mon, Apr 27, 2009 at 12:54 PM, Vincent Polite < > > [email protected]> wrote: > > Well the tip I gave you re: the conditionals is just that. It allows you > > to selectively show/hide code. > > > One question: Where are you registering your flash object with SWFObject? > > I tend to use the dynamic publishing method instead of the static publishing > > method, so I usually don't have this much embedded code in my HTML to > > present the Flash movie. All that said, I haven't seen any indication that > > you are using SWFObject to make your life easier in this whole Flash > > presentation process... can you post the code in it's entirety? Another > > tack is to use the code generator on the SWFObject2 site. Google will help > > you track that down if need be. > > > Vincent > > > On Mon, Apr 27, 2009 at 12:39 PM, jderosa3 <[email protected]>wrote: > > >> One step closer... now firefox displays the alternate content, but not > >> the flash. IE, Safari and iPhone work fine. > > >> Why does firefox skip right to the alternate content? Thank you for > >> this tip though it at least got something on the page. > > >> On Apr 27, 2:36 pm, Vincent Polite <[email protected]> > >> wrote: > >> > If you're trying to do an IE conditional, the format is: > > >> > <!--[if IE]> HTML <![endif]--> > >> > Your code seems to have an additional <!-- in front of the endif which > >> is > >> > probably confusing your parser. The idea is that if you're in a browser > >> > that recognizes conditionals, then it will actually render/parse the > >> stuff > >> > in between the if and endif. However, if you're in a browser that > >> doesn't > >> > recognize conditionals, then the <!-- and closing --> will treat > >> everything > >> > in between as if it were commented out. > > >> > So in your case, you have extra --> after your if IE statement and > >> another > >> > extra <!-- in front of your <![endif]--> tags that are throwing things > >> off. > > >> > Hope this helps. > > >> > Vincent > > >> > On Mon, Apr 27, 2009 at 10:55 AM, jderosa3 <[email protected] > >> >wrote: > > >> > > FireFox 3 is displaying on the page "->" where the Flash should be... > >> > > It looked like a broken tag... but I don't think so - here is my code: > > >> > > <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > >> > > width="641" height="281" id="myFlashContent"> > >> > > <param name="movie" value=" > >> > >http://www.xxx.com/wp-content/uploads/ > >> > > about.swf" /> > >> > > <param name="loop" value="false" /> > >> > > <param name="quality" value="high" /> > >> > > <param name="scale" value="noscale" /> > >> > > <param name="wmode" value="transparent" > >> /> > >> > > <param name="allowfullscreen" > >> value="false" > >> > > /> > >> > > <!--[if !IE]>--> > >> > > <object > >> type="application/x-shockwave-flash" > >> > > data="http:// > >> > >www.xxx.com/wp-content/uploads/about.swf" width="641" height="281"> > >> > > <param name="loop" > >> value="false" /> > >> > > <param name="quality" > >> value="high" > >> > > /> > >> > > <param name="scale" > >> value="noscale" > >> > > /> > >> > > <param name="wmode" > >> > > value="transparent" /> > >> > > <param name="allowfullscreen" > >> > > value="false" /> > >> > > <!--<![endif]--> > >> > > <img src="http://www.xxx.com/images/about-header.jpg" alt="About Us" > >> / > > >> > > <!--[if !IE]>--> > >> > > </object> > >> > > <!--<![endif]--> > >> > > </object> > > >> > > This code works perfect in IE and also Safari, but not FireFox (3)... > >> > > any ideas? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
