Is there any way to get the top most UI element in a s开发者_如何学JAVApecific x,y location?
var objects:Array = stage.getObjectsUnderPoint(new Point(x, y));
Where objects[0]
will be the top most object. (I think)
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObjectContainer.html#getObjectsUnderPoint()
精彩评论