# How to set bring level of dynamic text to top layer

**URL:** <https://forum.kirupa.com/t/how-to-set-bring-level-of-dynamic-text-to-top-layer/330430>\
**Category:** flash\
**Created:** [January 20, 2013, 6:30pm UTC](https://forum.kirupa.com/t/how-to-set-bring-level-of-dynamic-text-to-top-layer/330430 "2013-01-20T18:30:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CadMonkey](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@CadMonkey](https://forum.kirupa.com/u/CadMonkey)\
**Post date:** [January 20, 2013, 6:30pm UTC](https://forum.kirupa.com/t/how-to-set-bring-level-of-dynamic-text-to-top-layer/330430/1 "2013-01-20T18:30:14Z")

</div>

Hi  
I hope someone can help me, as I’m not a coder. I am trying to modify a random image gallery template in AS2. Basically the gallery is just the image with some scrolling thumbs on the right side. I moved a text field which was below the image onto the bottom of the image, and am trying to add a semi-transparent black band (black\_band) so the text can be read more clearly. A section of the code is below:

```auto
function callRanImage(myNumber) {    
myURL = myImages[myNumber].attributes.full_url;
myTitle = myImages[myNumber].attributes.title;
**_root.createEmptyMovieClip("fullImage_mc",0);**
fullImage_mc._x = _root.full_x;
fullImage_mc._y = _root.full_y;
var fullClipLoader = new MovieClipLoader();
var fullPreloader = new Object();
fullClipLoader.addListener(fullPreloader);
fullPreloader.onLoadStart = function(target) {
target.createTextField**("ran_txt",target.getNextHighestDepth(),0,480,350,20);**
target.ran_txt.textColor = 0xFFFFFF
};
fullPreloader.onLoadComplete = function(target) {
new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
target.ran_txt.text = myTitle;
};
fullClipLoader.loadClip("images/Concept_full_images/"+myURL,fullImage_mc);
pause();
}
**_root.createEmptyMovieClip("black_band_mc",1);**
black_band_mc.attachMovie ("black_band","black_band", 0)
black_band_mc._x = 0;
black_band_mc._y = 480;

```

Seems the level the text is on I cannot manipulate separately from the image level, which loads into fullimage\_mc using loadClip. I have tried changing (“ran\_txt”,target.getNextHighestDepth(),0,480,350,20); to (“ran\_txt”,\_level4,0,480,350,20); or (“ran\_txt”,1001,0,480,350,20); stuff like that, but specifying a level doesn’t seem to work for me…Black\_band either shows above the image and text field, or is invisible below it…I want it to be above the image but below the text field…but have no idea how to get this effect…

any help appreciated…😛

Thanks guys
