# Change dimentions of embedded flash file

**URL:** <https://forum.kirupa.com/t/change-dimentions-of-embedded-flash-file/273946>\
**Category:** Uncategorized\
**Created:** [October 22, 2008, 10:27pm UTC](https://forum.kirupa.com/t/change-dimentions-of-embedded-flash-file/273946 "2008-10-22T22:27:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![azjayne](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@azjayne](https://forum.kirupa.com/u/azjayne)\
**Post date:** [October 22, 2008, 10:27pm UTC](https://forum.kirupa.com/t/change-dimentions-of-embedded-flash-file/273946/1 "2008-10-22T22:27:30Z")

</div>

A quick question. I need to embed a 600x388 .swf into a div that is only 584 wide. To do this correctly, should the original flash file stage be resized to fit or can I scale the width/height attributes as shown in the code below without any adverse affects? I have tested a change in the code only and the file displays/functions correctly when put on the server, but I want to make sure this quick fix doesn’t pose any possible pitfalls. Thanks!

\<script type=“text/javascript”\>  
AC\_FL\_RunContent( ‘codebase’,’[[COLOR=#0000ff]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0’,‘width’,‘584’,‘height’,‘380’,‘src’,‘map-file’,‘quality’,‘high’,‘pluginspage’,‘http://www.adobe.com/shockwave/download/download.cgi?P1\_Prod\_Version=ShockwaveFlash’,‘movie’,‘map-file’[/COLOR]](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','584','height','380','src','map-file','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','map-file') ); //end AC code  
\</script\>\<noscript\>\<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase="[[COLOR=#0000ff]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"[/COLOR]](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0) width=“584” height=“380”\>  
\<param name=“movie” value=“map-file.swf” /\>  
\<param name=“quality” value=“high” /\>  
\<embed src=“map-file.swf” quality=“high” pluginspage="[[COLOR=#0000ff]http://www.adobe.com/shockwave/download/download.cgi?P1\_Prod\_Version=ShockwaveFlash"[/COLOR]](http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash) type=“application/x-shockwave-flash” width=“584” height=“380”\>\</embed\>  
\</object\>\</noscript\>
