0 Replies Latest reply on Oct 28, 2008 7:07 AM by BenParis

    Different behaviour air apps running in flex builder or standalone

    BenParis
      Hello,

      <mx:HTML location=" http://www.google.com" id="myBrowser">

      I try to get the mouse selected text in my browser with the following javascript bridge :
      myBrowser.htmlLoader.window.getSelection().toString()

      That work fine when my apps is running throw the flex builder IDE.

      But when it running as a standalone on the same computer, I get an empty string.

      Do you know why ?

      Thanks
      Ben