Click to See Complete Forum and Search --> : Flash Stretching (Mozilla)


mikepurvis
07-12-2005, 10:45 AM
I've got a flash movie that's basically an entire site, and I'm looking to have it expand to fill the entire viewport.

I realise there's the Flash Satay, but this is just a quickie site. The following code causes it to be full-sized in IE, but not Mozilla:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"

codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,

0,0" width="100%" height="100%" id="index" align="top">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="high" />

<param name="wmode" value="opaque" />
<param name="bgcolor" value="#00cccc" />
<embed src="index.swf" loop="false" menu="false" quality="high" bgcolor="#00cccc"

wmode="opaque" width="100%" height="100%" name="index" align="top"

allowScriptAccess="sameDomain" type="application/x-shockwave-flash"

pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
Changing width="100%" height="100%" to style="width:100%; height:100%;" seems to have no effect.

Thanks for any suggestions

BeachSide
07-15-2005, 05:51 AM
You can put

fscommand("fullscreen","true");

in the first frame