How can i get the current cursor position in TextField?

Hi,

I want to get the current cursor position in text field while typing
So please help me.

Amit

look into the Selection class in flash - might search the forum here for that - “Selection”. It has a getCaratIndex() method. AS3 has more robust ways to deal with textFields on selection - but most things can be done in AS2, it just take a bit more work.

see this link: Adobe LiveDocs Selection

Hope this helps.