<div>Hi to all,</div>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; any one help me to solve my problem,i attached my code</div>  <div>&nbsp;</div>  <div>&nbsp;<BR>&lt;script language="javascript"&gt;</div>  <div><BR>function a(ase) {<BR>&nbsp;<BR>&nbsp;my_span.filters[0].apply();</div>  <div>&nbsp;tmp_obj=null;</div>  <div>&nbsp;if (my_span.hasChildNodes()) var tmp_obj = document.getElementById("oI");<BR>&nbsp;<BR>&nbsp;if (ase==0) {<BR>&nbsp;&nbsp;oImga=null;<BR>&nbsp;&nbsp;oImga = document.createElement('img');&nbsp; // Create dynamically object tag<BR>&nbsp;&nbsp;oImga.setAttribute('id',"oI"); // Give id to it</div>  <div>&nbsp;&nbsp;oImga.src = "1163893952_WebLogo.gif";<BR>&nbsp;&nbsp;oImga.style.width="300";<BR>&nbsp;&nbsp;oImga.style.height="300";<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;my_span.appendChild(oImga);<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;if (tmp_obj!=null) my_span.removeChild(tmp_obj);<BR>&nbsp;&nbsp;<BR>&nbsp;} else {</div> 
 <div>&nbsp;&nbsp;oImga=null;</div>  <div>&nbsp;&nbsp;oImga = document.createElement('EMBED');&nbsp; // Create dynamically object tag</div>  <div>&nbsp;&nbsp;oImga.setAttribute('id',"oI"); // Give id to it</div>  <div>&nbsp;&nbsp;oImga.src = "1163901344_box_of_crayons_830.swf";</div>  <div>&nbsp;&nbsp;oImga.setAttribute('TYPE' , 'application/x-shockwave-flash');</div>  <div>&nbsp;&nbsp;&nbsp;oImga.style.width="300";</div>  <div>&nbsp;&nbsp;oImga.style.height="300";<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;my_span.appendChild(oImga);</div>  <div>&nbsp;&nbsp;if (tmp_obj!=null) my_span.removeChild(tmp_obj);<BR>&nbsp;}<BR>&nbsp;my_span.filters[0].play();<BR>}<BR>&lt;/script&gt;<BR></div>  <div>&lt;body&gt;</div>  <div><BR>&nbsp;&lt;div id=my_span style="FILTER: progid:DXImageTransform.Microsoft.Wheel(spokes=4),background-color:#FF6600; width:300; height:300"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&lt;/div&gt;&nbsp;<BR>&nbsp;<BR>&nbsp;&lt;input type="button" name="show
 pic" value="show pic" onClick="a(0)"&gt;<BR>&nbsp;&lt;input type="button" name="asd" value="show flash" onClick="a(1)"&gt;<BR>&nbsp;<BR>&nbsp;&lt;/body&gt;<BR></div>  <div>&nbsp;</div>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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&nbsp;flash &nbsp;will be replaced by the image with (wheel) transition ,but the previous flash&nbsp; background sound is still playing in the image.</div>  <div>&nbsp;</div>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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 &nbsp;flash&nbsp; and image file </div> 
 <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A.suresh </div><p>&#32;
        

        
                <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>