# AS2 to AS3 - "\_level"

**URL:** https://forum.kirupa.com/t/as2-to-as3--level/278928
**Category:** flash
**Created:** [January 7, 2009, 5:52pm UTC](https://forum.kirupa.com/t/as2-to-as3--level/278928 "2009-01-07T17:52:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dr77](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@dr77](https://forum.kirupa.com/u/dr77)
#### Post date: [January 7, 2009, 5:52pm UTC](https://forum.kirupa.com/t/as2-to-as3--level/278928/1 "2009-01-07T17:52:28Z")

</div>

Hello,

I am trying to convert some of my AS2 files to AS3. I am completely new to AS3 and it is proving to be more difficult than I thought.

In an AS2 file, I had a very simple loop which removed all text from a series of text boxes (named n1 to n32):

```auto
while (i<33) {
        _level0["n"+i].text = "";
i++;
}

```

I have found out that ‘\_level’ is not supported in AS3.

Can anyone tell me how the code should be written in AS3?

Thanks for any help,

David
