Resize a box on the fly

hi everyone

This might be a simple question but i’m finding hard to do this.

What i want to do is , draw a rectangle in flash using the rectangle tool, then i’d like to be able to resize it on the fly , how can i do that?