I want an MC to stretch the width of the stage

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

greengrass._width = Stage.width;

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

Thanks Macsy! That did it!

-Line

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