After you have included the Flash SWF file to your HTML page,
you can open the HTML page with your HTML editor and edit
the HTML code.
Look for the code that embeds the Flash Movie. It should
look similar to this:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="480" height="125">
<param name="movie" value="flashmovie.swf"
/>
<param name="quality" value="high"
/>
<embed src="flashmovie.swf" quality="high"
type="application/x-shockwave-flash" width="480"
height="125" pluginspage="http://www.macromedia.com/go/getflashplayer"
/>
</object>
To make the Flash auto zoom and auto fit into its container,
you should change the code as following. The changes are shown
in red.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="100% " height="100% ">
<param name="movie" value="flashmovie.swf"
/>
<param name="quality" value="high"
/>
<PARAM NAME="SCALE" VALUE="exactfit">
<embed src="flashmovie.swf" quality="high"
type="application/x-shockwave-flash" width="100% "
height="100% " SCALE="exactfit"
pluginspage="http://www.macromedia.com/go/getflashplayer"
/>
</object>
Click the button below to view the example. You may adjust
the size of the popup window, the Flash will auto zoom and
auot fit into the web browser.
To make the Flash auto zoom and auto fit into its container
without distortion, that's, keep the aspect ratio, you should
change the code as following. The changes are shown in red.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="100% " height="100% ">
<param name="movie" value="flashmovie.swf"
/>
<param name="quality" value="high"
/>
<PARAM NAME="SCALE" VALUE="default">
<embed src="flashmovie.swf" quality="high"
type="application/x-shockwave-flash" width="100% "
height="100% " SCALE="default"
pluginspage="http://www.macromedia.com/go/getflashplayer"
/>
</object>
Click the button below to view the example. You may adjust
the size of the popup window, the Flash will auto zoom and
auot fit into the web browser.