use numChildren method to ge the number of children and create accordingly using a loop funtion if number of children is greater than zero if not then do nothing ..
On Feb 6, 9:53 am, sudhi <[email protected]> wrote: > Dear all, > > I have deeply nested components . The children component of the main > component are created only when the main component zooms in. Then the > second level children are created when the children of the main > component zooms in. > > So my question is how to check if an interior child exists or not. > > i tried > if (firstParent.secondParent.childA) > { > // code here} > > to check if childA exists.. > But it didn work. > > Please help with the above issue > > Thanks in advance :) > > Regards > Sudhi... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

