Salman Virk
Salman Virk

Reputation: 12307

In flex, how to get global coordinate position of a component?

In flex, how to get global coordinate position of a component?

Upvotes: 1

Views: 3208

Answers (1)

Matti Lyra
Matti Lyra

Reputation: 13088

Use the localToGlobal(point :Point) method of a DisplayObject.

http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObject.html#localToGlobal()

Upvotes: 3

Related Questions