<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">does firefox support document.all?<DIV><BR class="khtml-block-placeholder"></DIV><DIV>you don't need to sniff for a browser since both the object and embed tag will have the same id...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>just use:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BLOCKQUOTE type="cite">document.getElementById('movieID').style.height = sizeY;</BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>and get rid of the if() all together.<DIV><BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Jun 27, 2006, at 10:24 AM, Psychoinca wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV><FONT face="Arial" size="2">But why does this function not works for the embed tag: </FONT></DIV> <DIV><FONT face="Arial" size="2"></FONT> </DIV> <DIV>function setHeight(sizeY) { <BR>   if(document.all && !document.getElementById) { </DIV> <DIV><FONT face="Arial" size="2">        //this should work for firefox---:(ß</FONT><BR>      document.all['movieID'].style.pixelHeight = sizeY;     <BR>   }else{ </DIV> <DIV>        //this works for ie<BR>      document.getElementById('movieID').style.height = sizeY;    <BR>   } <BR>   //window.scrollTo(0,0); <BR>} <BR></DIV> <DIV><FONT face="Arial" size="2">the function is called from flash</FONT></DIV> <DIV><FONT face="Arial" size="2"></FONT> </DIV> <DIV><FONT face="Arial" size="2">i don´t know how to solve this problem</FONT></DIV> <DIV><FONT face="Arial" size="2"></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="geoff@deconcept.com" href="mailto:geoff@deconcept.com">Geoff   Stearns</A> </DIV>  <DIV style="FONT: 10pt arial"><B>To:</B> <A title="swfobject@lists.deconcept.com" href="mailto:swfobject@lists.deconcept.com">swfobject@lists.deconcept.com</A>   </DIV>  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, June 27, 2006 4:04 PM</DIV>  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [SWFObject] resize the   flashcontent div?</DIV>  <DIV><BR></DIV>the name and the id is the second parameter you pass to the   SWFObject constructor... so if your code is:  <DIV><BR class="khtml-block-placeholder"></DIV>  <DIV>var so = new SWFObject("mymovie.swf", "foobar", ....);</DIV>  <DIV><BR class="khtml-block-placeholder"></DIV>  <DIV><BR class="khtml-block-placeholder"></DIV>  <DIV>you would use 'foobar' to find the object or embed tag.</DIV>  <DIV><BR class="khtml-block-placeholder"></DIV>  <DIV>swfobject either writes an object or an embed tag depending on the   browser - if it's an object tag, 'foobar' is set as the id of the object. if   it's an embed tag, it sets 'foobar' as the id *and* the name attribute.</DIV>  <DIV><BR class="khtml-block-placeholder"></DIV>  <DIV><BR class="khtml-block-placeholder"></DIV>  <DIV><BR>  <DIV>  <DIV>On Jun 27, 2006, at 5:32 AM, Psychoinca wrote:</DIV><BR class="Apple-interchange-newline">  <BLOCKQUOTE type="cite"><O:SMARTTAGTYPE namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"></O:SMARTTAGTYPE><O:SMARTTAGTYPE namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"></O:SMARTTAGTYPE><O:SMARTTAGTYPE namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"></O:SMARTTAGTYPE>    <DIV><FONT face="Arial" size="2">Thanks for the Link, but it doesn´t help. Maybe     someone knows how i can identify the name attribute from the embed     tag</FONT></DIV>    <DIV> </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="martin@cumuli.net" href="mailto:martin@cumuli.net">Martin Eiler |       Cumuli</A> </DIV>      <DIV style="FONT: 10pt arial"><B>To:</B> <A title="swfobject@lists.deconcept.com" href="mailto:swfobject@lists.deconcept.com">swfobject@lists.deconcept.com</A>       </DIV>      <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, June 27, 2006 10:12       AM</DIV>      <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [SWFObject] resize the       flashcontent div?</DIV>      <DIV><BR></DIV>      <DIV class="Section1"><P class="MsoNormal"><FONT face="Arial" color="navy" size="2"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Please check this       link. <A href="http://www.mustardlab.com/developer/flash/objectresize/">http://www.mustardlab.com/developer/flash/objectresize/</A><O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" color="navy" size="2"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" color="navy" size="2"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT face="Arial" color="navy" size="2"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><O:P></O:P></SPAN></FONT></P>      <DIV>      <DIV class="MsoNormal" style="TEXT-ALIGN: center" align="center"><FONT face="Times New Roman" size="3"><SPAN lang="DA" style="FONT-SIZE: 12pt">      <HR tabindex="-1" align="center" width="100%" size="2">      </SPAN></FONT></DIV><P class="MsoNormal"><B><FONT face="Tahoma" size="2"><SPAN lang="DA" style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Fra:</SPAN></FONT></B><FONT face="Tahoma" size="2"><SPAN lang="DA" style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <A href="mailto:swfobject-bounces@lists.deconcept.com">swfobject-bounces@lists.deconcept.com</A>       [<A href="mailto:swfobject-bounces@lists.deconcept.com">mailto:swfobject-bounces@lists.deconcept.com</A>]       <B><SPAN style="FONT-WEIGHT: bold">På vegne af       </SPAN></B>Psychoinca<BR><B><SPAN style="FONT-WEIGHT: bold">Sendt:</SPAN></B> 27. juni 2006       09:27<BR><B><SPAN style="FONT-WEIGHT: bold">Til:</SPAN></B>       <ST1:PERSONNAME w:st="on"><A href="mailto:swfobject@lists.deconcept.com">swfobject@lists.deconcept.com</A></ST1:PERSONNAME><BR><B><SPAN style="FONT-WEIGHT: bold">Emne:</SPAN></B> Re: [SWFObject] resize the       flashcontent div?</SPAN></FONT><SPAN lang="DA"><O:P></O:P></SPAN></P></DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P>      <DIV><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">this is what works for ie:       </SPAN></FONT><O:P></O:P></P></DIV>      <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>      <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><script type="text/javascript"       src="swfobject.js"></script> <BR><BR><script       language="javascript" type="text/javascript"> <BR><BR>function       setHeight(sizeY) { <BR>   if(document.all &&       !document.getElementById) { <BR>            document.all['movieID'].style.pixelHeight = sizeY;           <BR>   }else{ <BR>            document.getElementById('movieID').style.height = sizeY;          <BR>   } <BR>   //window.scrollTo(0,0); <BR>}       <BR><BR></script> <BR><BR><style type="text/css">       <BR><BR>html,body{ <BR>   margin:0px; <BR>   height:       100%; <BR>   width: 100%; <BR>   background-color:       #FFFFFF; <BR>   } <BR>    <BR>.textformat{ <BR>         font-family:Arial Narrow,Arial, Helvetica, sans-serif; <BR>         font-size:16px; <BR>   font:bold; <BR>         color:#666666; <BR>   width:520px; <BR>         position:relative; <BR>   left:20%; <BR>         top:20%; <BR>   } <BR></style> <BR><BR></head>       <BR><BR><body> <BR><BR>       <BR><div       id="flashcontent"> <BR>  This text is replaced by the Flash movie.       <BR></div> <BR><BR><script type="text/javascript"> <BR>         var so = new SWFObject("movie.swf", "movieID", "100%", "100%", "8",       "#FFFFFF"); <BR>   so.addParam("quality", "high"); <BR>         so.addParam("salign", "LT"); <BR>   so.addParam("scale",       "noscale"); <BR>   so.write("flashcontent");       <BR></script><O:P></O:P></SPAN></FONT></P></DIV>      <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>      <DIV><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">how can i modify the fnction       to use it with firefox?  </SPAN></FONT><O:P></O:P></P></DIV>      <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>      <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>      <BLOCKQUOTE style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">        <DIV><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message -----         <O:P></O:P></SPAN></FONT></P></DIV>        <DIV style="font-color: black"><P class="MsoNormal" style="BACKGROUND: #e4e4e4"><B><FONT face="Arial" size="2"><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A title="geoff@deconcept.com" href="mailto:geoff@deconcept.com">Geoff         Stearns</A> <O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><B><FONT face="Arial" size="2"><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A title="swfobject@lists.deconcept.com" href="mailto:swfobject@lists.deconcept.com">swfobject@lists.deconcept.com</A>         <O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><B><FONT face="Arial" size="2"><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">         Monday, June 26, 2006 5:03 PM<O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><B><FONT face="Arial" size="2"><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Re:         [SWFObject] resize the flashcontent         div?<O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt">should be fine, but you'll probably want to set         the height of your swfobject to 100% so it will stretch when you resize         the div. <O:P></O:P></SPAN></FONT></P>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P>        <DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt">On Jun 26, 2006, at 6:12 AM, Psychoinca         wrote:<O:P></O:P></SPAN></FONT></P></DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><BR><BR><O:P></O:P></SPAN></FONT></P>        <DIV><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is there a possibility to         change the height of the "flashcontent"-div from within flash. I need it         for a Portalsite. the content expands and i can use the browsers         scrollbars.</SPAN></FONT><O:P></O:P></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I need a javascript funktion         which adjust the height of the div.</SPAN></FONT><O:P></O:P></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Before the ie update it was         possible, with the swfobject i got a         mistake</SPAN></FONT><O:P></O:P></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Please help         me</SPAN></FONT><O:P></O:P></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Greetings from         <ST1:COUNTRY-REGION w:st="on"><ST1:PLACE w:st="on">Germany</ST1:PLACE></ST1:COUNTRY-REGION></SPAN></FONT><O:P></O:P></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Arial" size="2"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Carsten</SPAN></FONT><O:P></O:P></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt">_______________________________________________<O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt">SWFObject mailing         list<O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A><O:P></O:P></SPAN></FONT></P></DIV>        <DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A><O:P></O:P></SPAN></FONT></P></DIV></DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P></DIV>        <DIV class="MsoNormal" style="TEXT-ALIGN: center" align="center"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt">        <HR align="center" width="100%" size="2">        </SPAN></FONT></DIV><P class="MsoNormal"><FONT face="Times New Roman" size="3"><SPAN style="FONT-SIZE: 12pt">_______________________________________________<BR>SWFObject         mailing list<BR><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A><BR><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A><O:P></O:P></SPAN></FONT></P></BLOCKQUOTE></DIV>      <DIV><BR class="khtml-block-placeholder"></DIV>      <HR>       <DIV><BR class="khtml-block-placeholder"></DIV>_______________________________________________<BR>SWFObject       mailing list<BR><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A><BR><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A><BR></BLOCKQUOTE>    <DIV style="MARGIN: 0px">_______________________________________________</DIV>    <DIV style="MARGIN: 0px">SWFObject mailing list</DIV>    <DIV style="MARGIN: 0px"><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A></DIV>    <DIV style="MARGIN: 0px"><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A></DIV></BLOCKQUOTE></DIV><BR></DIV><DIV>  <BR class="khtml-block-placeholder"></DIV><HR><DIV><BR class="khtml-block-placeholder"></DIV>_______________________________________________<BR>SWFObject mailing   list<BR><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A><BR>http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com<BR></BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">SWFObject mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>