4 Replies Latest reply on Oct 29, 2010 10:30 AM by Flex harUI

    how to get component's height (set in %) on it's parent creationComplete event

    Ibarim Level 1

      Hi,

       

       

      I got a component with height=100% property. This component has a child with height=80% property. I need to get the height value of the child on parent's creation complete event. Problem is that child's height is set to some default value when this event dispatches. Proper height value is set later (I'm not sure when).

       

      I tried to use child.validateNow() and parent.validateNow() but with no result. Any suggestions?

       

      I need to add that this child is inside tabNavigator at the 2nd tab. It should not have any impact though becouse tabNavigator has creationPolicy set to "all".