The metrics is very useful, but deprecated in flash 8. :(
You can work with Selection Object, but to know the correct position of the CARET (|) you need to know the text size, spacing, indent, and others more.
All this things are possible but when you resize the text area and wordwrap happened you got problems.
Best´s
Luchyx
2005/12/8, fla coder <[EMAIL PROTECTED]>:
Hi thereI'm taking a long shot.Is there any way (without calculations and workarounds involving textExtent, etc) to obtain the X,Y position of the caret (the actual caret character) in a textField?Hoping there is something nasty and (un)documented...ThanksFla
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
l u c h y x
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
