# Resize mc

**URL:** <https://forum.kirupa.com/t/resize-mc/306416>\
**Category:** Uncategorized\
**Created:** [March 15, 2010, 5:41am UTC](https://forum.kirupa.com/t/resize-mc/306416 "2010-03-15T05:41:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![laur1](https://avatars.discourse-cdn.com/v4/letter/l/b77776/32.png) [@laur1](https://forum.kirupa.com/u/laur1)\
**Post date:** [March 15, 2010, 5:41am UTC](https://forum.kirupa.com/t/resize-mc/306416/1 "2010-03-15T05:41:58Z")

</div>

Hello everyone

How can I make a button to have 2 function  
ONE

> clip.maximize.onRelease = function() {  
> clip.\_width = Stage.width;  
> clip.\_height = Stage.height;  
> trace("Stage width: “+Stage.width+” - This width: "+this.\_width);  
> trace("Stage height: “+Stage.height+” - This height: "+this.\_height);  
> };

TWO

> clip.maximize.onRelease = function() {  
> clip.\_width = 500;  
> clip.\_height = 400;  
> };

Thank you in advance
