<div>Hi to all,</div> <div> any one help me to solve my problem,i attached my code</div> <div> </div> <div> <BR><script language="javascript"></div> <div><BR>function a(ase) {<BR> <BR> my_span.filters[0].apply();</div> <div> tmp_obj=null;</div> <div> if (my_span.hasChildNodes()) var tmp_obj = document.getElementById("oI");<BR> <BR> if (ase==0) {<BR> oImga=null;<BR> oImga = document.createElement('img'); // Create dynamically object tag<BR> oImga.setAttribute('id',"oI"); // Give id to it</div> <div> oImga.src = "1163893952_WebLogo.gif";<BR> oImga.style.width="300";<BR> oImga.style.height="300";<BR> <BR> my_span.appendChild(oImga);<BR> <BR> if (tmp_obj!=null) my_span.removeChild(tmp_obj);<BR> <BR> } else {</div>
<div> oImga=null;</div> <div> oImga = document.createElement('EMBED'); // Create dynamically object tag</div> <div> oImga.setAttribute('id',"oI"); // Give id to it</div> <div> oImga.src = "1163901344_box_of_crayons_830.swf";</div> <div> oImga.setAttribute('TYPE' , 'application/x-shockwave-flash');</div> <div> oImga.style.width="300";</div> <div> oImga.style.height="300";<BR> <BR> <BR> my_span.appendChild(oImga);</div> <div> if (tmp_obj!=null) my_span.removeChild(tmp_obj);<BR> }<BR> my_span.filters[0].play();<BR>}<BR></script><BR></div> <div><body></div> <div><BR> <div id=my_span style="FILTER: progid:DXImageTransform.Microsoft.Wheel(spokes=4),background-color:#FF6600; width:300; height:300"><BR> <BR> </div> <BR> <BR> <input type="button" name="show
pic" value="show pic" onClick="a(0)"><BR> <input type="button" name="asd" value="show flash" onClick="a(1)"><BR> <BR> </body><BR></div> <div> </div> <div> i am having two buttons "show pic" and "show flash".when i click 'show flash' button ,the flash will play with the background sound and then when i click "show pic" button,the flash will be replaced by the image with (wheel) transition ,but the previous flash background sound is still playing in the image.</div> <div> </div> <div> i dont know where the problem araises,can any one help me to solve my problem,i am waiting for reply from u,if u want u can test the code by just replace flash and image file </div>
<div> A.suresh </div><p> 
        
        
                <hr size=1></hr>
Find out what India is talking about on - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers India</a> <BR>
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <a href="http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com">Get it NOW</a>