# Resize movie

**URL:** <https://forum.kirupa.com/t/resize-movie/203570>\
**Category:** flash\
**Created:** [October 12, 2006, 2:54am UTC](https://forum.kirupa.com/t/resize-movie/203570 "2006-10-12T02:54:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jillymo](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jillymo](https://forum.kirupa.com/u/jillymo)\
**Post date:** [October 12, 2006, 2:54am UTC](https://forum.kirupa.com/t/resize-movie/203570/1 "2006-10-12T02:54:59Z")

</div>

When using the fix for the gray box issue, my movie won’t resize. It just shows through in the size specified (and I do have allowscale set to true)

I am using this method: [http://www.kirupa.com/developer/flash8/flash\_fix.htm](http://www.kirupa.com/developer/flash8/flash_fix.htm)  
of loading my flash file onto the html page, but it does not resize like it will when using object tags to embed.

Does anyone know if this can be corrected?

This is my code, the movie is only showing in the 800 x 600 area, but it is cut off because it was made at 1024 x 768…

```auto
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" language="JavaScript1.2" src="flashobject.js"></script>
<title>CBS: Who We Are</title>
</head>

<body>
<div id="firstflash" style="position:center; width:800; height:600; z-index:1; left:0; top:0; overflow: hidden; border: 0px none;">
<!-- <div id="firstflash">-->
This text gets replaced by the swf file if the user has Flash installed.
</div>
<script type="text/javascript">
 var fo = new FlashObject("http://www.cbservices.org/cbs/whoweare/CBSwhoweare.swf", "firstflash", "800", "600", "8", "#003366");
   fo.addParam("quality", "best");
   fo.addParam("scale", "noscale"); 
   fo.write("firstflash");
</script>
</body>
</html>

```
