Can you post a link to your non-working page? It is much easier to see what is going on then.
Aran On Mon, Jul 13, 2009 at 11:23 AM, Gwenh <[email protected]>wrote: > > I'm new to embedding flash. I'm trying to embed an slideshow on my > site. I uploaded the swf file, the swfobject.js and expressInstall to > my server under the same directory. When I used the code generator to > write the code this is what it gave me: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// > www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> > <head> > <title></title> > <meta http-equiv="Content-Type" content="text/html; > charset=iso-8859-1" /> > <script type="text/javascript" src="swfobject.js"></script> > <script type="text/javascript"> > var flashvars = {}; > var params = {}; > params.play = "true"; > params.loop = "true"; > params.menu = "false"; > params.quality = "best"; > params.scale = "noscale"; > params.wmode = "transparent"; > params.bgcolor = "FFFFFF"; > var attributes = {}; > attributes.id = "myContent"; > attributes.align = "middle"; > swfobject.embedSWF("Everyday_Women.swf", > "myContent", "495", "330", > "9.0.0", "expressInstall.swf", flashvars, params, attributes); > </script> > </head> > <body> > <div id="myContent"> > <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> > </body> > </html> > > I tested this locally in Dreamweaver and it doesn't work. Dreamweaver > generated this code with a modified swfobject that did work but I > still can't get the flash embedded on my site. This is the code > generated by Dreamweaver: > <html> > <head> > <body> > <center> > <object id="FlashID" classid="clsid:D27CDB6E- > AE6D-11cf-96B8-444553540000" width="495" height="330"> > <param name="movie" value="Everyday_Women.swf"> > <param name="quality" value="high"> > <param name="wmode" value="opaque"> > <param name="swfversion" value="8.0.35.0"> > <!-- This param tag prompts users with Flash Player 6.0 r65 and > higher to download the latest version of Flash Player. Delete it if > you don’t want users to see the prompt. --> > <param name="expressinstall" value="Scripts/expressInstall.swf"> > <!-- Next object tag is for non-IE browsers. So hide it from IE > using IECC. --> > <!--[if !IE]>--> > <object type="application/x-shockwave-flash" > data="Everyday_Women.swf" width="495" height="278"> > <!--<![endif]--> > <param name="quality" value="high"> > <param name="wmode" value="opaque"> > <param name="swfversion" value="8.0.35.0"> > <param name="expressinstall" value="Scripts/expressInstall.swf"> > <!-- The browser displays the following alternative content for > users with Flash Player 6.0 and older. --> > <div> > <h4>Content on this page requires a newer version of Adobe Flash > Player.</h4> > <p><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" width="112" > height="33" /></a></p> > </div> > <!--[if !IE]>--> > </object> > <!--<![endif]--> > </object></td></tr> > <tr height=15><td> > <script type="text/javascript"> > <!-- > swfobject.registerObject("FlashID"); > //--> > </script> > </body> > </html> > > If anyone can help it would be thoroughly appreciated. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
