# Change flash embed size with javascript or html?

**URL:** <https://forum.kirupa.com/t/change-flash-embed-size-with-javascript-or-html/325678>\
**Category:** flash\
**Created:** [October 29, 2011, 6:51pm UTC](https://forum.kirupa.com/t/change-flash-embed-size-with-javascript-or-html/325678 "2011-10-29T18:51:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![appletree](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@appletree](https://forum.kirupa.com/u/appletree)\
**Post date:** [October 29, 2011, 6:51pm UTC](https://forum.kirupa.com/t/change-flash-embed-size-with-javascript-or-html/325678/1 "2011-10-29T18:51:54Z")

</div>

Im trying to change the size of this video object from 416x374 to 640x500.

```auto
<object width="416" height="374" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"><param name="allowscriptaccess" value="always" /><param name="movie" value="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&videoId=us/2011/10/28/dnt-mom-learns-death-thru-facebook.wsyr" /><embed src="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&videoId=us/2011/10/28/dnt-mom-learns-death-thru-facebook.wsyr" type="application/x-shockwave-flash" allowscriptaccess="always" width="416" height="374"></embed></object>

```

When I change the numbers, I get is a black box around the video and the video stays the same size.

I tried adding these parameters and none worked: scale=“aspect”, scale=“exactfit”, scale=“default”.

From what I understand, this swf is being scaled inside flash using “StageScaleMode”.

Is there any way to override this and change the embed size?
