0 Replies Latest reply on Jul 24, 2007 12:13 PM by FlashForumName

    text position compared to htmlText pos

    FlashForumName
      Hello all, I've hit a bit of a snag with a text editor tool I am developing. I have created a picture insertion tool which works just fine until the user tries to upload more than 1 picture. The problem is, that I do not have any good ideas how to derive the location from the textfield when it is non-html text in regards to it's position in the html text.

      For example, lets say the text field consists of:

      aabbccdd

      This is with the text having the htmlText option so there are other things actually there such as color, bold, etc. When the user clicks on a position to insert a picture, say right before the first b, I know in the text field that that is the 2nd position but is there any way to tell what that position is with the html included?

      Thanks in advance.