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
-~----------~----~----~----~------~----~------~--~---

Reply via email to