1 Reply Latest reply on Aug 11, 2009 2:09 AM by DHL83

    Mouse cursor dissapears in The Pan|Zoom component

    DHL83

      When using the Pan|Zoom component found at http://www.adobe.com/devnet/flex/samples/fig_panzoom/ inside a mx:Window in my AIR application, the custom mouse cursors (draghandOpen, draghandClosed) are not shown. The mouse cursor just dissapears when rolling over the ImageViewer.

       

      From the Pan|Zoom code:

       

                      case "mouseOver":
                         
                          // cursors
                          if (_client.viewRect.containsRect(_reciever))
                          {
                              CursorManager.removeAllCursors(); 
                          } else
                          {                   
                              CursorManager.removeAllCursors(); 
                              cursorID = CursorManager.setCursor(_iconHandOpen);                       
                          }

       

      This works fine when running the source at http://www.adobe.com/devnet/flex/samples/fig_panzoom/ as an AIR application. Why won't it work in a mx:window?