Using onChanged with the TextInput component

High guys.

mytextfieldA.onChanged=function()
{
    if (mytextfieldA.length==3)
    {
        Selection.setFocus(mytextfieldB);
    }
} 

As you gather, the code makes it so that as soon as the user types 3 characters into the field the insertion point automatically jumps to another field.

This works with regular text fields but not with the Flash Pro TextInput component.

Three questions:

  1. How do I make it work? :-/
  2. Please make it work! :cantlook:
  3. Thank you for making it work :hugegrin: