yup, wherever you place the alternative content div, is where the flash will be to replace it - one note - if you need to bump the swf left, or right, or center, or any other css stuff to 'move' the swf, wrap your alternative content div in another div and work your css on it - never directly on the alternative content div.
jimbo *********** REPLY SEPARATOR *********** On 4/29/2009 at 11:30 AM web design wrote: got it! But how do you position these new ones? In the alternative content <div>? On Apr 29, 11:01 am, "Jimbo" <[email protected]> wrote: > In your example, everywhere you see "myContent" - in the second embed, change it to something else, like "myContent2" - then for the third embed, change it to "myContent3" - then all will be joy :~) > > Each Div ID name needs to be unique. > > jimbo > > *********** REPLY SEPARATOR *********** > > On 4/29/2009 at 10:57 AM web design wrote: > > I am using the latest swfobject generator, but can't find how to embed > multiple flash objects on page. Below is my code. And I want 2 more to > page. Now I have "movie01.swf" and want to add -- "movie02.swf" and > "movie03.swf". Where and how do I edit the generated code: > > <!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>SWFObject 2 dynamic publishing example page</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"> > swfobject.embedSWF("movie01.swf", "myContent", "300", "120", > "9.0.0", "expressInstall.swf"); > </script> > </head> > <body> > <div id="myContent"> > <h1>You do not have the proper flash player version.</h1> > <p>Click the logo to get the latest version <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></p> > </div> > </body> > </html> > > t --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
