0 Replies Latest reply on Aug 31, 2008 12:21 AM by ab1301

    How can you get selection info from air html component?

    ab1301 Level 1
      In Air, I want to be able to have an html component that displays an htmltext string. When a button in pressed in the air app, I want to add highlight tags to the htmltext string around the text that has been selected by the user in the html component.

      The problem is, I have no idea how to get info about what text is selected in the html component. The way to get such info for other text display components is shown in http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_05.html#446003 but that doesn't seem to work with html components.

      Can anyone point me to anything that shows how to get info from the htmlcomponent regarding the selected text?