<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Not that I actually know anything about this mind 
you, but if you embed the flash object inside an &lt;OBJECT&gt; declaration, 
can't you tie the height/width to PARAMETER specifiers that you can query from 
outside?&nbsp; Theoretically, the properties of the Flash object propagate at 
load time...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-- Dave Lovering</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=tamer_mazen@hotmail.com href="mailto:tamer_mazen@hotmail.com">Tamer 
  Mazen</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu 
  href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, August 31, 2003 12:09 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Javascript] getting flash 
  width and height</DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV>
  <P>but in design time i dont know height/width of the flash 
.<BR><BR></P></DIV>
  <DIV></DIV>&gt;From: "Muchacho, Laurent (TWIi London)" <LMUCHACHO@TWII.NET>
  <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: Fri, 29 Aug 2003 15:29:25 +0100 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;Hi 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;One of the way to get the width and height of a flash 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;let says that your flash tag look something like this 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' 
  <DIV></DIV>&gt;codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca 

  <DIV></DIV>&gt;b#version=5,0,0,0' width='266' height='107' 
  id=ShockwaveFlash1&gt; 
  <DIV></DIV>&gt;<PARAM NAME="movie" VALUE="1.swf"> 
  <DIV></DIV>&gt;<PARAM NAME="quality" VALUE="high"> 
  <DIV></DIV>&gt;<PARAM NAME="bgcolor" VALUE="#000000"> 
  <DIV></DIV>&gt;<EMBED src=1.swf width=266 height=107 quality="high" 
  bgcolor="#000000" < DIV>&gt;NAME='home' ALIGN='absmiddle' 
  TYPE='application/x-shockwave-flash' 
  <DIV></DIV>&gt;PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer'&gt;</EMBED> 

  <DIV></DIV>&gt;</OBJECT < DIV>&gt; 
  <DIV></DIV>&gt;then you can do this who will work in ie and ns6 &amp; 7 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;function flash_width_and_height(){ 
  <DIV></DIV>&gt;var oFlashTag = document.getElementById('ShockwaveFlash1'); 
  <DIV></DIV>&gt;var iWidth = oFlashTag.width 
  <DIV></DIV>&gt;var iHeight = oFlashTag.height 
  <DIV></DIV>&gt; alert('width = ' + iWidth + '\nheight = ' + iHeight); 
  <DIV></DIV>&gt;} 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;you must call this once the page as loaded like in the body or 
  as you like 
  <DIV></DIV>&gt;BODY onload="flash_width_and_height()" 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;Laurent 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;-----Original Message----- 
  <DIV></DIV>&gt;From: Tamer Mazen [mailto:tamer_mazen@hotmail.com] 
  <DIV></DIV>&gt;Sent: 28 August 2003 21:34 
  <DIV></DIV>&gt;To: javascript@LaTech.edu 
  <DIV></DIV>&gt;Subject: [Javascript] getting flash width and height 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;Hi , 
  <DIV></DIV>&gt;Can any one tell me how to get Flash width and height using 
  javascriot 
  <DIV></DIV>&gt;functions . 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt; 
  <DIV></DIV>&gt;DISCLAIMER - The preceding e-mail message (including any 
  attachments) 
  <DIV></DIV>&gt;contains information that may be confidential, may be protected 
  by the 
  <DIV></DIV>&gt;attorney-client or other applicable privileges, or may 
  constitute non-public 
  <DIV></DIV>&gt;information. It is intended to be conveyed only to the 
  designated 
  <DIV></DIV>&gt;recipient(s) named above. If you are not an intended recipient 
  of this 
  <DIV></DIV>&gt;message, or have otherwise received it in error, please notify 
  the sender by 
  <DIV></DIV>&gt;replying to this message and then delete all copies of it from 
  your computer 
  <DIV></DIV>&gt;system. Any use, dissemination, distribution, or reproduction 
  of this 
  <DIV></DIV>&gt;message by unintended recipients is not authorized and may be 
  unlawful. The 
  <DIV></DIV>&gt;contents of this communication do not necessarily represent the 
  views of 
  <DIV></DIV>&gt;this company. 
  <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>
  STOP MORE SPAM with <A href="http://g.msn.com/8HMBEN/2728??PS=">the new MSN 
  8</A> and get 2 months FREE* 
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Javascript mailing 
  list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR></BLOCKQUOTE></BODY></HTML>