Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Language Found: English
Description
Description:
getObjectsUnderPoint doesnt seem to register any objects launched via the popup manager.
Steps:
1. Create an mxml application:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
mouseDown="showObjectsUnderPoint(mouseX,mouseY)"
creationComplete="initApp()">
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
import mx.containers.Panel;
private function initApp():void
private function handleClick(event:MouseEvent):void
{ showObjectsUnderPoint(mouseX,mouseY); } private function showObjectsUnderPoint(x:int,y:int):void{
var o:Array = this.getObjectsUnderPoint(new Point(x,y));
for(var i:int=0;i<o.length;i++)
]]
>
</mx:Script>
</mx:Application>
2.Debug the app
3.click on the Panel
actual results: trace statements show panel is not found:
found Test_ObjectsUnderPoint_3.null
false
found [object Shape]
false
expected results: Panel should be returned with found objects.
computer configuration: