On 11/25/06, Ben Marchbanks <[EMAIL PROTECTED]> wrote:
> You might try  the methods getRect / getBounds
> etc... in trying to capture size properties of a
> component first.

well i know the old/new image sizes so that part was easy. it *seems*
doing a scale transform is the trick:

var matrix:Matrix=new Matrix();
matrix.scale(dX,dY);
var newGraphics:Shape=oldGraphics;
newGraphics.transform.matrix=matrix;
b.addChild(newGraphics);

where dX,dY are the ratios between new & old image size. but (of
course)  what happens is that the old graphics gets moved to the new
image rather than a copy of it. nothing in the API jumps out at me as
a clone/copy for children, any suggestions?

thanks.

Reply via email to