I have some code that is accurately getting the blinking cursor position (ex: 2, 3, 4) using GetCaretIndex.
Right below that, I'm assigning that value to a global variable: iTestLocation. If I trace iTestLocation here, it is correct.
Later, in another function where I want to delete a character to the right of the cursor location, I reference iTestLocation and no matter what, it's always = -1. I'm using Flash 8. Can anyone please help with this??
Right below that, I'm assigning that value to a global variable: iTestLocation. If I trace iTestLocation here, it is correct.
Later, in another function where I want to delete a character to the right of the cursor location, I reference iTestLocation and no matter what, it's always = -1. I'm using Flash 8. Can anyone please help with this??