Question : Get the position of a MovieClip with respect to the stage

If I have a MovieClip called square_mc and that Movieclip has a child called circle_mc and that MovieClip has a child called ball_mc how could I get the x and y cordinates of ball_mc with respect to the stage? do I always have to write: "square_mc.cirecle_mc.ball_mc.x+circle_mc.x+square_mc.x" is there a shorter way of doing this?

Answer : Get the position of a MovieClip with respect to the stage

Random Solutions  
 
programming4us programming4us