getObjectsUnderPoint() will return all the descendants (children and grandchildren all the way) that are under the point as per the *stage* co-ordinate space. So you probably want to use localToGlobal() etc.
On 4/25/07, Matt Wicks <[EMAIL PROTECTED]> wrote: > Hi all, > > anyone know why this is happening ? > > I use getObjectUnderPoint on a display object but it seems to only > return one Shape - I read several tips which suggest 'walking' up teh > display list but this doesnt work .. > > GetObjectsUNderPoint returns an array containing the shape 'screen', > > its parent is a map containing lots of MovieClips and what I want > to do is detect which one is under the given point - ie. inside the > main map > > help appreciated! > > Matt > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > >

