<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Resizing swfObjects without reloading</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hey all,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I've been trying to resize a swfObject like from a getURL javascript call inside my flash application like so:</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">function newHeight(h)</FONT>

<BR><FONT SIZE=2 FACE="Arial">{</FONT>

<BR><FONT SIZE=2 FACE="Arial">    so.setAttribute("height", h);</FONT>

<BR><FONT SIZE=2 FACE="Arial">    so.write("flashContent");</FONT>

<BR><FONT SIZE=2 FACE="Arial">}</FONT>

<BR><FONT SIZE=2 FACE="Arial">//--></FONT>
</P>
<BR>

<P>        <FONT SIZE=2 FACE="Arial"><div id="flashcontent"></FONT>

<BR>                <FONT SIZE=2 FACE="Arial"><strong>You need to upgrade your Flash Player</strong></FONT>

<BR>                <FONT SIZE=2 FACE="Arial">This is replaced by the Flash content. </FONT>

<BR>                <FONT SIZE=2 FACE="Arial">Place your alternate content here and users without the Flash plugin or with </FONT>

<BR>                <FONT SIZE=2 FACE="Arial">Javascript turned off will see this. Content here allows you to leave out <code>noscript</code> </FONT>

<BR>                <FONT SIZE=2 FACE="Arial">tags. Include a link to <a href="swfobject.html?detectflash=false">bypass the detection</a> if you wish.</FONT></P>

<P>        <FONT SIZE=2 FACE="Arial"></div></FONT>
</P>

<P>        <FONT SIZE=2 FACE="Arial"><script type="text/javascript"></FONT>

<BR>                <FONT SIZE=2 FACE="Arial">// <![CDATA[</FONT>

<BR>                

<BR>                <FONT SIZE=2 FACE="Arial">var so = new SWFObject("myflash.swf", "myflash", "300", "300", "8", "#FF6600");</FONT>

<BR>                <FONT SIZE=2 FACE="Arial">so.write("flashcontent");</FONT>

<BR>                

<BR>                

<BR>                

<BR>                <FONT SIZE=2 FACE="Arial">// ]]></FONT>

<BR>        <FONT SIZE=2 FACE="Arial"></script></FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">The problem is that I would like to be able to resize the object without having to reload the swf.  I looked at the .js source, and it doesn't look like any methods were designed for this purpose.  Does anyone know of an effective way of resizing the flash object without this reload?  </FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">~O~</FONT>

<BR><FONT SIZE=2 FACE="Arial">owenhay@amazon.com</FONT>
</P>

</BODY>
</HTML>