1 Reply Latest reply on Jun 7, 2007 9:15 AM by peterent

    getting notified of parent's visibility

      Dear All,

      In Flex, is there a way for a child component to get notified of the visibility of its parent (and grand parents and so forth)? E.g. I have 2 Canvases A and B, where B is a child of A.

      If I do this: A.visible=false;

      Then both A and B disappear from the screen (which is the expected behavior)

      However, Flex only seems to notify A via events such as "show" or "hide". I've looked up quite a bit of documentation but couldn't figure out how to get similar notifications from the context of B as well.

      Any suggestions would be greatly appreciated. Thanks.