You will have to use localToGlobal, but first things first...

You are correct, selectedItem returns an Object, not a DisplayObject,
however I am pretty sure you can do

list.getChildAt(list.selectedIndex) to get the display object, and then go
from there.

- Taka

On Mon, Jan 4, 2010 at 12:44 PM, Paul Andrews <[email protected]> wrote:

> Cor wrote:
>
>> Not sure, but have you looked into : localToGlobal?
>>
>>
> Yes, I did, but no luck. I will check again.
>
> Paul
>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Paul
>> Andrews
>> Sent: maandag 4 januari 2010 21:17
>> To: Flash Coders List
>> Subject: [Flashcoders] (x,y) position of selectedItem in a list - AS3
>>
>> AS3:
>>
>> Is it possible to find the (x,y) position on the stage of a selectedItem
>> in a list?
>>
>> The selectedItem property returns an Object and I don't think it's
>> DisplayObject.
>>
>> Any suggestions?
>>
>> Paul
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com Version: 9.0.725 / Virus Database:
>> 270.14.124/2599 - Release Date: 01/04/10
>> 09:24:00
>>
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
>>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to