The mx.controls.TextInput component has the .textField property that I mentioned in my second email.
Are you using spark.components.TextInput instead? In which case I don't know, I'm afraid - haven't delved that deep into Spark yet. Sorry! Ian On Mon, Aug 31, 2009 at 9:29 PM, Baz<li...@thinkloop.com> wrote: > > > Hey Thanks Ian, > > I was just looking at that actually but TextInput doesn't seem to have it > (Flex 4). I read that you can use: > > import mx.core.mx_internal; > use namespace mx_internal; > > to access TextField and then getCharBoundaries() but that doesn't seem to > work in Flex 4. > > Any ideas? > > Thanks, > Baz > > > > On Mon, Aug 31, 2009 at 1:19 PM, Ian Thomas <i...@eirias.net> wrote: >> >> >> >> Take a look at flash.text.TextField.getCharBoundaries() (and other >> TextField methods). >> >> HTH, >> Ian >> >> On Mon, Aug 31, 2009 at 8:53 PM, Baz<li...@thinkloop.com> wrote: >> > >> > >> > Anyone know how to get the X/Y coordinates of a specific >> > character/letter in >> > a text field or text input? >> > >> > Thanks! >> > >> > > >