I lied, the X and Y position is returning god knows what, all i know
is its wrong.  
//compare the next highlighted component with the button found in arr
if(buttonArray[arr] == focusManager.getNextFocusManagerComponent())
{       
        //start to convert to global X and Y                    
       var pt:Point= new Point(buttonArray[arr].x,buttonArray[arr].y);  
       var maskPoint:Point = new Point(testCanvas.x,testCanvas.y);
       maskPoint = testCanvas.localToGlobal(maskPoint);
       trace("local mask" + maskPoint);
                                
       pt = buttonArray[arr].contentToLocal(pt);
       trace("content tolocal for "+  buttonArray[arr].label +
        "="+ pt);
}

weird

                                
>


Reply via email to