Check InputText.text automatic when I press Enter to upload text in it

Hi there.
Flash is my hobby and I want to create a minigame in Flash Lite, but I have a problem :

I want to attach a couple of MCs (japananese symbols) on the Stage, each have attached in an array a specific string. I done it .
On the Stage I have an InputText where I want to write my answer for this MCs and then when I press Enter to upload my text in InputText, I want to check automatic if my answer is correct or incorrect.

How can I do this job?

for (i=0;i<l.length;i++)
        for(j=0;j<5;j++){
            if(l*[j]!=""){
                trace(l*[j]);
                loader.holder.attachMovie(l*[j],l*[j],0);
                loader.holder._x=loader.holder._y=13;
            }
            trace(l*[j]);
    }