I love you.
On Feb 26, 10:07 am, Sam Sherlock <[email protected]> wrote:
> the second one has a param missing for the target think it should be Menu
> where the first is myAlternativeContent.
>
> Also you may want to put all the JS in the head - not compulsary but looks
> cleaner n clearer
>
> eg the second should be like:
> swfobject.embedSWF("HImenu.
>
>
>
> > swf", "Menu", "920", "66", "9.0.0",
> > "expressInstall.swf", flashvars, params, attributes);
>
> 2009/2/26 Ryan <[email protected]>
>
>
>
> > For some reason when ever i try to add more than 1 swf to my page only
> > 1 of the swfs will show up. As you can tell im very new at all of
> > this. Here's my code. please help me out.
> > Thanks.
> > -Ryan
>
> > <div id="container">
> > <div id="Header"><div align="center">
> > <script type="text/javascript">
> > var flashvars = {};
> > var params = {};
> > params.wmode = "transparent";
> > var attributes = {};
> > swfobject.embedSWF("HIheader.swf",
> > "myAlternativeContent", "900",
> > "300", "9.0.0", "expressInstall.swf", flashvars, params,
> > attributes);
> > </script>
> > <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<http://www.adobe.com/images/shared/download_buttons/%0Aget_flash_play...>"
> > alt="Get Adobe Flash player" />
> > </a>
> > </div>
> > </div>
> > <div id="Menu">
> > <script type="text/javascript">
> > swfobject.embedSWF("HImenu.swf", "920", "66",
> > "9.0.0",
> > "expressInstall.swf", flashvars, params, attributes);
> > </script>
> > </div>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---