0 Replies Latest reply on Jul 15, 2009 7:54 PM by sobelito1

    TextSnapshot and HTML/htmlloader?


      Has anyone had any success using the textSnapshot.getSelectedText() and the HTML (or htmlloader) control in AIR?


      I tried both of the lines below, but selected HTML text is not returned.


      var sTemp1 : String = oHTML.textSnapshot.getSelectedText();

      var sTemp2 : String = oHTML.htmlLoader.textSnapshot.getSelectedText();


      Am I using these incorrectly?

      Do the HTML/htmlloader controls not support such?


      I see others using the javascript and window.getSelection()




      This seems like kind of a hack to me...