|
I set the 'text' property of a TextArea to
"Line1\nLine2" in ActionScript so that it displayed the two lines Line1 Line2 and I put your code into a 'click' handler
for the TextArea. When I click at the beginning of either
line (in front of either "L") I get a good boundary rectangle. When I click at the end of either line
(after the "1" or "2") I get null because there is no
visible character after the caret. This seems exactly what I would expect. - Gordon From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf
Of Branko var caretIndex:int = textArea.getTextFie -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |

