USAGE

HTML – SAMPLE CODE

<script type="text/javascript" src="swf2js.js"></ script>
<script type="text/javascript">
    swf2js.load('SWF PATH');
</ script>
<div id="content">
    <script type="text/javascript" src="swf2js.js"></ script>
    <script type="text/javascript">
        swf2js.load('SWF PATH', {tagId: "content"});
    </ script>
</ div>

Multiple Playback

<div id="content1"></ div>
<div id="content2"></ div>
<script type="text/javascript" src="swf2js.js"></ script>
<script type="text/javascript">
    swf2js.load('SWF PATH', {tagId: "content1"});
    swf2js.load('SWF PATH', {tagId: "content2"});
</ script>

 

広告