Stage to Map Coordinates

608
2
12-12-2011 12:44 PM
JamesOBrien
New Contributor
I'm trying to convert the stage coordinates of a custom component to map coordinates. What is the best way to achieve this?

Thanks
Tags (2)
0 Kudos
2 Replies
JamesOBrien
New Contributor
Nevermind, I found the answer in the API docs.

Map.toMapFromStage(stageX:Number, stageY:Number):MapPoint
0 Kudos
JeffAzevedo
New Contributor
Are you placing a Flash Component? I'm trying to overlay a swf, and any advice you have would be appreciated.
0 Kudos