Get coordinates in parent, but not in stage.

Posted by Bart van Heukelom on Stack Overflow See other posts from Stack Overflow or by Bart van Heukelom
Published on 2010-05-12T08:39:36Z Indexed on 2010/05/12 8:44 UTC
Read the original article Hit count: 268

I know about Flash's localToGlobal and globalToLocal methods to transform coordinates from the local system to the global system, but is there a way to achieve the intermediate? To transform coordinates from an arbitrary system to any other arbitrary system?

I have a clickable object inside a Sprite, and the Sprite is a child of the stage. I want to retrieve the clicked point in the Sprite.

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3