Shan’s Simple Examples: Scale all children in Flex
I’ve decided since I attempt to help people in #flex (on EFNet) and #coldfusion / #cfflex (on DALNet) on a daily basis, that I’ll pick one simple question and try to whip up an example for everyone to see.
Today, someone asked how to scale all children of a container. The basic answer is to just loop over all the children, and set their scaleX and scaleY properties.

hi, i’ve been wondering about this so thankyou.
is there no equivalent in Flex to in Flash where you would scale a movieclip it’s children would then scale? (same with alpha, point, rotate etc)
if this isn’t possible could you explain why, is a canvas not translated to a movie clip? or is it translated to just x,y reference for the objects inside it?
regards, Rich
Comment by Rich — January 12, 2009 @ 12:00 am