Text Input Component - onChanged. How?

Hi everyone,

I’m trying to shift the focus from on TextInput component to another when you enter more than 3 characters in the first field. For arguements sake lets call them “TextOne” and “TextTwo”.

The way I used to do it was by placing an input text field on the stage and setting up the script.

TextOne.onChanged = function() {
if(TextOne.length > 3) {

Works like a charm. Then come Flash MX2004 Components. Now, even though the components have the same instance names nothing happens.

Why do they have to mess with a good thing? And is there a way around this?

Thanks for any help.