0 Replies Latest reply on Sep 1, 2009 2:21 AM by michi82

    See wich HTML text is selected

    michi82

      hi i work since one week with flex and i have a problem

       

      is it posible to see wich text is selected on a html side ?

       

      like this example

       

      <?xml version="1.0" encoding="utf-8"?>
      <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
      <mx:HBox width="564">
      <mx:Label text="myURL:" fontSize="16"/>
      <mx:TextInput id="myText"/>
      <mx:Button label="Go There" fontSize="16" click="myBrowser.location=myText.text" />
      </mx:HBox>
      <mx:HTML id="myBrowser" width="100%" height="100%" location="www.google.de"/> 
      </mx:WindowedApplication>
      

       

      in a textarea i can use selectindexbegin and selectindexend and see what the user have select

      but in html this function doesn't exist

       

      greets

      michael