2 Replies Latest reply on Jan 13, 2013 11:32 PM by Alexander Baranovski

    How to get actual position of the extension on the screen

    Alexander Baranovski Level 1

      This code works correctly only after I resize extension window:

       

      var result:SyncRequestResult = CSXSInterface.getInstance().getWindowGeometry();
      var winGeom:WindowGeometry = new WindowGeometry();

      if((SyncRequestResult.COMPLETE == result.status) && result.data)

      {

                  winGeom = result.data as WindowGeometry;

      }

       

      Any ideas?

       

       

       

      P.S. : I add event listeners(for moving, resizing extension window) in the application complete method and in the debug App stopped only at the resizing handler.

       

       

      Best regards,
      Alex