# Controlling size of movie clip

**URL:** <https://forum.kirupa.com/t/controlling-size-of-movie-clip/64579>\
**Category:** Uncategorized\
**Created:** [September 17, 2004, 4:07pm UTC](https://forum.kirupa.com/t/controlling-size-of-movie-clip/64579 "2004-09-17T16:07:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![histwinsister](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/histwinsister/32/380_2.png) [@histwinsister](https://forum.kirupa.com/u/histwinsister)\
**Post date:** [September 17, 2004, 4:07pm UTC](https://forum.kirupa.com/t/controlling-size-of-movie-clip/64579/1 "2004-09-17T16:07:51Z")

</div>

i am loading an external swf of a video file into an empty movie clip. i want the user to be able to toggle between the initial size of the movie (320x240) and full screen (800x600) by clicking a button. what is the actionscript to control the size of a movie clip? can i do that?

thanks!  
-adam

---

<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:** [September 17, 2004, 5:20pm UTC](https://forum.kirupa.com/t/controlling-size-of-movie-clip/64579/2 "2004-09-17T17:20:42Z")

</div>

# if the external swf begins at a size of 8000x600 force \_xscale/\_yscale to 50 from 320x240 to 800x600 force \_xscale/\_yscale to 250

on release event:

on(release){  
mc.\_xscale = 250;  
mc.\_yscale = 250;  
trace(mc.\_width)  
trace(mc.\_height)

}
