# I want an MC to stretch the width of the stage

**URL:** <https://forum.kirupa.com/t/i-want-an-mc-to-stretch-the-width-of-the-stage/259983>\
**Category:** flash\
**Created:** [May 11, 2008, 11:00am UTC](https://forum.kirupa.com/t/i-want-an-mc-to-stretch-the-width-of-the-stage/259983 "2008-05-11T11:00:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Line](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@Line](https://forum.kirupa.com/u/Line)\
**Post date:** [May 11, 2008, 11:00am UTC](https://forum.kirupa.com/t/i-want-an-mc-to-stretch-the-width-of-the-stage/259983/1 "2008-05-11T11:00:15Z")

</div>

I used this script:

greengrass.\_xscale = Stage.width;

But I can tell based on the gradient i applied to my fill of that greengrass MC that it’s almost double it’s size in width and I think it’s going past the stage’s width. Is there a script to make the greengrass the exact width of the stage and to not go beyond it?

Thanks ahead,  
-Line

---

<div class="post-metadata">

**Author:** ![Macsy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/macsy/32/3238_2.png) [@Macsy](https://forum.kirupa.com/u/Macsy)\
**Post date:** [May 11, 2008, 11:03am UTC](https://forum.kirupa.com/t/i-want-an-mc-to-stretch-the-width-of-the-stage/259983/2 "2008-05-11T11:03:09Z")

</div>

greengrass.\_width = Stage.width;

---

<div class="post-metadata">

**Author:** ![Line](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@Line](https://forum.kirupa.com/u/Line)\
**Post date:** [May 11, 2008, 11:11am UTC](https://forum.kirupa.com/t/i-want-an-mc-to-stretch-the-width-of-the-stage/259983/3 "2008-05-11T11:11:30Z")

</div>

I’m glad to be surrounded by geniuses that are awake the same time as me 🙂

Thanks Macsy! That did it!

-Line

---

<div class="post-metadata">

**Author:** ![Macsy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/macsy/32/3238_2.png) [@Macsy](https://forum.kirupa.com/u/Macsy)\
**Post date:** [May 11, 2008, 11:52am UTC](https://forum.kirupa.com/t/i-want-an-mc-to-stretch-the-width-of-the-stage/259983/4 "2008-05-11T11:52:22Z")

</div>

next time, strech your finger to f1-help panel… =)  
You can get a list of all attributes from movieclips, etc.
