I'm using Flex, but I think this question applies to anyone who is well-versed in Actionscript, which means you could be using Flash or Flex.
Let's say ContainerA has a child which is also a container, which we'll call ContainerB. Now ContainerB has a child which is not a container, which we'll call Child. So ContainerA contains ContainerB, which in turn contains Child.
If I get Child's x,y coordinates, I will get its position within ContainerB. But what if I want its position within ContainerA instead? How do i get that?
Any help on this would be immensely appreciated. Thanks.