<div>Hi to all ,</div> <div> Any one help me to solve this problem.i want to display the flash(.swf file) using <object> tag dynamically.Right now the flash image is not getting diplayed but i able to see the background of the swf file.</div> <div> </div> <div> here is my code.</div> <div> </div> <div>myspan=document.getElementById('my_span');</div> <div>oImga = document.createElement('OBJECT'); // Create dynamically object tag<BR>oImga.setAttribute('TYPE' , "application/x-shockwave-flash");<BR>oImga.setAttribute('WIDTH' , "600");<BR>oImga.setAttribute('HEIGHT' , "600");<BR>oImga.setAttribute('id',"oI"); // Give id to it<BR>prm=document.createElement('PARAM'); // Create dynamically object tag<BR>prm.setAttribute('NAME' , "MOVIE");<BR>prm.setAttribute('VALUE' , "2.swf"); //source file<BR>oImga.appendChild(prm);<BR>myspan.appendChild(oImga);</div>
<div> </div> <div> </div> <div>//display area to display flash file</div> <div><div id="my_span" style="position:absolute;width:600;height:600;z-index:2;visibility:visible;"></div> <div> </div> <div> thanxs for reply</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>