Displaying multiple flash files using swfobject v2

(need to covert multiple flash files with swfobject 1.5 syntax to v2.0

Page 1 of 1

0 Replies - 1534 Views - Last Post: 12 August 2009 - 12:19 PM

#1 claudiamorgan  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 12-August 09

Displaying multiple flash files using swfobject v2

Posted 12 August 2009 - 12:19 PM

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]

I can get the first flash file to work but cannot load the others, I have been told that the other files use swfobject 1.5 syntax which does not work with v 2.0. I have it running on a public test site:

The first flash file is using v2 on the page but the subsequent ones are using v1.5 because they will not work when I point to the swfobject v2 file. Obviously I need to get those last five flash files to work in v2.

Here is the code (the five are each a slight variant of this code):

<script type="text/javascript" src="../js/swfobject.js"></script>
<div id="player2">nothing here</div>
<script type="text/javascript">
var so = new SWFObject('embed/player.swf','mpl','320','260','9');

what do I need to do to get them all to work in v2?



Is This A Good Question/Topic? 0
  • +

Page 1 of 1