0 Replies Latest reply on Sep 5, 2012 1:33 AM by Leo De.

    Restore focus of main window after panel was clicked?

    Leo De.

      I build an extension using Flash Builder and Extension Builder 2.

      When the user clicks a button on my extensions panel, the main window loses focus & you can't enter any text into textfields.


      I tried to give the focus back using


      CSXSInterface.getInstance().requestStateChange(com.adobe.csxs.events.S tateChangeEvent.WINDOW_LOSE_FOCUS, null);

      app.activeDocument = app.activeDocument;

      app.activeWindow = app.activeWindow;



      but nothing worked!  Any hints?