# Active search

**URL:** https://forum.kirupa.com/t/active-search/194406
**Category:** flash
**Created:** [July 23, 2006, 12:43am UTC](https://forum.kirupa.com/t/active-search/194406 "2006-07-23T00:43:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mattrox](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@mattrox](https://forum.kirupa.com/u/mattrox)
#### Post date: [July 23, 2006, 12:43am UTC](https://forum.kirupa.com/t/active-search/194406/1 "2006-07-23T00:43:51Z")

</div>

I am in the process of creating an active search that reads out of an xml file. But I am having a problem with my textFields showing up over another mc. Even though they are a layer above and they have higher depths. I have included the fla and xml files. It is mx2004 format because for some reason it saves the fla as a smaller file size :h: .

Thanks

Here is the code:

```auto

incre = 18;
tIncre = 0;
// create lines
for(i=0;i<(total-1);i++)
{
dataa.dLine.duplicateMovieClip("dLine"+i, i);
dataa["dLine"+i]._y = incre;
incre += 18;
if(i%2 == 0)
{
dataa["dLine"+i]._alpha = 0;
}
}
//create text fields
for(i=0;i<total;i++)
{
dataa.dText.createTextField("dNamee"+i,dataa.dText.getNextHighestDepth(),5,0+tIncre,200,18);
 
dataa.dText["dNamee"+i].text = dName*;
tIncre+=18;
}

```
