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

**URL:** https://forum.kirupa.com/t/check-inputtext-text-automatic-when-i-press-enter-to-upload-text-in-it/327166
**Category:** Uncategorized
**Created:** [February 10, 2012, 8:37am UTC](https://forum.kirupa.com/t/check-inputtext-text-automatic-when-i-press-enter-to-upload-text-in-it/327166 "2012-02-10T08:37:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Gabiz](https://avatars.discourse-cdn.com/v4/letter/g/87869e/32.png) [@Gabiz](https://forum.kirupa.com/u/Gabiz)
#### Post date: [February 10, 2012, 8:37am UTC](https://forum.kirupa.com/t/check-inputtext-text-automatic-when-i-press-enter-to-upload-text-in-it/327166/1 "2012-02-10T08:37:38Z")

</div>

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?

```auto
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]);
    }

```
