I am working on a company intranet and have been moving flash files
that previously coded with AC_Run Active Content.js to swfobject.js (v
2.0). So far everything looks great except for one file that has
multiple flash content. No matter what I do, only the first file
shows up. I want the first file to load immediately and the others
have button to press to play (and my javascript skills are [obviously]
rudimentary.
Here's the code:
<script src="
http://hpi.kp.org/docs/app/js/swfobject.js" type="text/
javascript"></script>
<script type="text/javascript">swfobject.embedSWF("
http://hpi.kp.org/
docs/ca/leadership_news/wadeovergaard/_media/watchthis_08_1217/
Wade.swf", "flashcontent", "422", "350", "9.0.0", "/docs/app/js/
expressInstall.swf", {}, {base:"
http://hpi.kp.org/docs/ca/
leadership_news/wadeovergaard/_media/watchthis_08_1217/"}, {});
swfobject.embedSWF("SouthBayChamps.swf", "player2", "320", "360",
"9.0.0", "/docs/app/js/expressInstall.swf", {}, {base:"."}, {});
swfobject.embedSWF("EnrollmentSpecialist.swf", "player3", "320",
"360", "9.0.0", "/docs/app/js/expressInstall.swf", {}, {base:"."},
{});
swfobject.embedSWF("ValleyService.swf", "player4", "320", "360",
"9.0.0", "/docs/app/js/expressInstall.swf", {}, {base:"."}, {});
swfobject.embedSWF("SanDiegoSA.swf", "player5", "320", "360", "9.0.0",
"/docs/app/js/expressInstall.swf", {}, {base:"."}, {});
swfobject.embedSWF("EastBaySA.swf", "player6", "320", "360", "9.0.0",
"/docs/app/js/expressInstall.swf", {}, {base:"."}, {});</script>
and then further down in the body, each of the divs look like this:
<div id="flashcontent">
<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"
border="0" /></a></p></div>
It works for all my pages (probably over 50) that have a single
embedded flash file, but figuring out how to do multiple flash files
is beyond me
Please help this novice.
Thanks
Claudia