swfobject play/pause/stop
Good day. Code: <object id="ItemEditAnimationObject" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="580" height="370"> <param name="movie" value="./6.swf"> <!--[if !IE]>--> <object id="ItemEditAnimationObject" type="application/x-shockwave-flash" data="./6.swf" width="580" height="370"> </object> <!--<![endif]--> </object> <div id="PlayPause" class="Play"></div> <div id="Stop"></div> Js: function OnePlay(){ swfobject.getObjectById('Object').Play(); } function OnePause(){ swfobject.getObjectById('Object').Pause(); } function OneStop(){ swfobject.getObjectById('Object').Stop(); }