I have a HBox with id as 'container' in that i have multiple boxes
I have given a name to each Box
I want to get the child by name and I want to add the color to that child
var disp:DisplayObject = container.getChildByName(boxname);
here getChildByName() returns DisplayObject
please tell me how to add the color to that child which is now in 'disp'
var disp:Box = container.getChildByName(boxname) as Box;
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
Flex / AIR Development, Training, and Support Services