# Use actionscript to edit flash movie size

**URL:** <https://forum.kirupa.com/t/use-actionscript-to-edit-flash-movie-size/2789>\
**Category:** Uncategorized\
**Created:** [April 12, 2002, 10:56am UTC](https://forum.kirupa.com/t/use-actionscript-to-edit-flash-movie-size/2789 "2002-04-12T10:56:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 12, 2002, 10:56am UTC](https://forum.kirupa.com/t/use-actionscript-to-edit-flash-movie-size/2789/1 "2002-04-12T10:56:18Z")

</div>

Hello,\r\rI really need to use actionscript to edit my movie size.\ri have a movie with the dimensions X=30 Y=30.\r\rnow i can use \_xscale and \_ysacale to edit the but when i load the swf file in a HTML page with for example a width=500\rand height=200. the movie is scaled as a square. because it’s initial size is 30x30.\r\rhow can i use actionscript / javascript to edit the size of the movie?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 12, 2002, 3:33pm UTC](https://forum.kirupa.com/t/use-actionscript-to-edit-flash-movie-size/2789/2 "2002-04-12T15:33:02Z")

</div>

if you place it’s center in the upper left corner you can just put this in it’s timeline:\r\_x = 0;\r\_y = 0;\r\_width = 500;\r\_height = 200;\r\r:) \rjeremy
