tags:

views:

9

answers:

0

Hi, I have a problem with mask image scaling. How to scale mask image without scaling the masked image in a container of actionscript custom component using object handles. I am using this code to stop resizing the child image(masked image).

var current: Matrix =image.parent.transform.matrix;

current.invert();

current.tx=current.ty=0;

image.transform.matrix=current.clone();

If I use this code the child image is scaled to bigger size than its container size.The child image should not be changed while to scale. Plz help in this regard.

With thanks,

Srinivas

related questions