I have a rectangle which is masking an image below .
On click of a button i want to change the x scale and y scale of the rectangle  with elastic effect  to any xscale or yscale
i define to a button. it should look as if the transition is done with  motion tween / shape tween
i hope u got what i want to do?
try this
eg on click of  button A the width of the object is 423 and height is 198
On click of  button B the width of the object should be 261 and height is 423
Regards
Rahil