Re: [flexcoders] matrix help

2009-06-20 Thread Aaron Hardy
It seems like you should just be able to do this: var scaleFactor:Number = .1; image1.scaleX *= (1 + scaleFactor); image1.scaleY *= (1 + scaleFactor); image2.scaleX *= (1 - scaleFactor); image2.scaleY *= (1 - scaleFactor); That should affect your matrices as necessary. If you're scale factor

[flexcoders] matrix help

2009-06-18 Thread grimmwerks
Ok I must be having a brain fart here. Imagine two opposing rectangles; as one scales UP the other scales DOWN - ie as one scales up 10% the other scales DOWN 10%. How's the best way of doing that using matrices? I seriously must be missing something simple...

Re: [flexcoders] matrix help

2009-06-18 Thread grimmwerks
Argh. Still can't get it - like if I have something coming in from 1 to 4 (ie 1.1, 1.2, 1.3 etc) - I can make the one image scale UP fine but can't figure out how the other image scales down the same percentage... On Jun 18, 2009, at 3:38 PM, grimmwerks wrote: Ok I must be having a