<html><div style='background-color:'><DIV>
<P>Thanks Chris , i sloved that problem by using java class which read the header of SWF file and get it's width and height.<BR><BR></P></DIV>
<DIV></DIV>&gt;From: "Chris Tifer" <CHRIST@SAEWEB.COM>
<DIV></DIV>&gt;Reply-To: "[JavaScript List]" <JAVASCRIPT@LATECH.EDU>
<DIV></DIV>&gt;To: "[JavaScript List]" <JAVASCRIPT@LATECH.EDU>
<DIV></DIV>&gt;Subject: Re: [Javascript] getting flash width and height 
<DIV></DIV>&gt;Date: Tue, 2 Sep 2003 08:45:12 -0400 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;That's why you would check the height and width properties at run-time. Have you tried to check them yet to see if they return what you want? 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Chris Tifer 
<DIV></DIV>&gt;http://emailajoke.com 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; ----- Original Message ----- 
<DIV></DIV>&gt; From: Tamer Mazen 
<DIV></DIV>&gt; To: javascript@LaTech.edu 
<DIV></DIV>&gt; Sent: Sunday, August 31, 2003 3:09 AM 
<DIV></DIV>&gt; Subject: RE: [Javascript] getting flash width and height 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; but in design time i dont know height/width of the flash . 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; &gt;From: "Muchacho, Laurent (TWIi London)" 
<DIV></DIV>&gt; &gt;Reply-To: "[JavaScript List]" 
<DIV></DIV>&gt; &gt;To: "'[JavaScript List]'" 
<DIV></DIV>&gt; &gt;Subject: RE: [Javascript] getting flash width and height 
<DIV></DIV>&gt; &gt;Date: Fri, 29 Aug 2003 15:29:25 +0100 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;Hi 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;One of the way to get the width and height of a flash 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;let says that your flash tag look something like this 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' 
<DIV></DIV>&gt; &gt;codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca 
<DIV></DIV>&gt; &gt;b#version=5,0,0,0' width='266' height='107' id=ShockwaveFlash1&gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;&gt;NAME='home' ALIGN='absmiddle' TYPE='application/x-shockwave-flash' 
<DIV></DIV>&gt; &gt;PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'&gt; 
<DIV></DIV>&gt; &gt;&gt; 
<DIV></DIV>&gt; &gt;then you can do this who will work in ie and ns6 &amp; 7 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;function flash_width_and_height(){ 
<DIV></DIV>&gt; &gt;var oFlashTag = document.getElementById('ShockwaveFlash1'); 
<DIV></DIV>&gt; &gt;var iWidth = oFlashTag.width 
<DIV></DIV>&gt; &gt;var iHeight = oFlashTag.height 
<DIV></DIV>&gt; &gt; alert('width = ' + iWidth + '\nheight = ' + iHeight); 
<DIV></DIV>&gt; &gt;} 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;you must call this once the page as loaded like in the body or as you like 
<DIV></DIV>&gt; &gt;BODY onload="flash_width_and_height()" 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;Laurent 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;-----Original Message----- 
<DIV></DIV>&gt; &gt;From: Tamer Mazen [mailto:tamer_mazen@hotmail.com] 
<DIV></DIV>&gt; &gt;Sent: 28 August 2003 21:34 
<DIV></DIV>&gt; &gt;To: javascript@LaTech.edu 
<DIV></DIV>&gt; &gt;Subject: [Javascript] getting flash width and height 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;Hi , 
<DIV></DIV>&gt; &gt;Can any one tell me how to get Flash width and height using javascriot 
<DIV></DIV>&gt; &gt;functions . 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;DISCLAIMER - The preceding e-mail message (including any attachments) 
<DIV></DIV>&gt; &gt;contains information that may be confidential, may be protected by the 
<DIV></DIV>&gt; &gt;attorney-client or other applicable privileges, or may constitute non-public 
<DIV></DIV>&gt; &gt;information. It is intended to be conveyed only to the designated 
<DIV></DIV>&gt; &gt;recipient(s) named above. If you are not an intended recipient of this 
<DIV></DIV>&gt; &gt;message, or have otherwise received it in error, please notify the sender by 
<DIV></DIV>&gt; &gt;replying to this message and then delete all copies of it from your computer 
<DIV></DIV>&gt; &gt;system. Any use, dissemination, distribution, or reproduction of this 
<DIV></DIV>&gt; &gt;message by unintended recipients is not authorized and may be unlawful. The 
<DIV></DIV>&gt; &gt;contents of this communication do not necessarily represent the views of 
<DIV></DIV>&gt; &gt;this company. 
<DIV></DIV>&gt; &gt;_______________________________________________ 
<DIV></DIV>&gt; &gt;Javascript mailing list 
<DIV></DIV>&gt; &gt;Javascript@LaTech.edu 
<DIV></DIV>&gt; &gt;https://lists.LaTech.edu/mailman/listinfo/javascript 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;------------------------------------------------------------------------------ 
<DIV></DIV>&gt; STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;------------------------------------------------------------------------------ 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; _______________________________________________ 
<DIV></DIV>&gt; Javascript mailing list 
<DIV></DIV>&gt; Javascript@LaTech.edu 
<DIV></DIV>&gt; https://lists.LaTech.edu/mailman/listinfo/javascript 
<DIV></DIV>&gt;_______________________________________________ 
<DIV></DIV>&gt;Javascript mailing list 
<DIV></DIV>&gt;Javascript@LaTech.edu 
<DIV></DIV>&gt;https://lists.LaTech.edu/mailman/listinfo/javascript 
<DIV></DIV></div><br clear=all><hr>Help STOP SPAM with <a href="http://g.msn.com/8HMMEN/2731??PS=">the new MSN 8 </a> and get 2 months FREE*</html>