# HELP PLEASE! (Quick Question)

**URL:** <https://forum.kirupa.com/t/help-please-quick-question/226650>\
**Category:** Uncategorized\
**Created:** [May 22, 2007, 9:46pm UTC](https://forum.kirupa.com/t/help-please-quick-question/226650 "2007-05-22T21:46:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyandi\_man](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@cyandi\_man](https://forum.kirupa.com/u/cyandi_man)\
**Post date:** [May 22, 2007, 9:46pm UTC](https://forum.kirupa.com/t/help-please-quick-question/226650/1 "2007-05-22T21:46:52Z")

</div>

The following code creates a movieclip and places a rectangular frame within.  
It also dynamically creates a texfield for every instance of the rectangle  
and is supposed to place the text info in each instance which is being pulled  
from an xml sheet.

The issue at hand is that my textboxes are not showing up? can someone  
please point out what else is needed in this snippet of the code i have  
written?

BTW - i traced the songtitle data that is within the xml sheet and it traces  
correctly - therefore the issue must lay within the creation of the movieclip  
with the textbox instances. Please HELP! THANKS!

```auto
 

function loadThumbnails():Void {
// Load the EmptyMC instance into the ScrollPane so that
// the ScrollPane’s content property will be defined.

cspThumbnails.contentPath = "EmptyMCSymbol";
// For each slide in the array...

for(var i:Number = 0; i < aSlides.length; i++) {
// ...create a nested MovieClip instance to hold the
// loaded JPEG. Then, create an instance nested within
// that MovieClip object into which you can load the
// textbox itself.
cspThumbnails.content.createEmptyMovieClip("mcHolder" +i, 
cspThumbnails.content.getNextHighestDepth());
cspThumbnails.content["mcHolder"+i].createEmptyMovieClip("backingHolder",2);
cspThumbnails.content["mcHolder" 
+i].backingHolder.loadMovie("thumbbacking2.swf"); 
cspThumbnails.content["mcHolder" +i].createEmptyMovieClip("mcJPEG", 3);
cspThumbnails.content["mcHolder" +i].mcJPEG.createTextField("songname_txt"+i, 
this.getNextHighestDepth(), 0, 16, 200, 20);
cspThumbnails.content["mcHolder" 
+i].mcJPEG.content["songname_txt"+i].htmlText = (aSlides*.song);
cspThumbnails.content["mcHolder" +i].mcJPEG._alpha=100;
cspThumbnails.content["mcHolder" +i].mcJPEG._x=1;
cspThumbnails.content["mcHolder" +i].mcJPEG._y=2;
trace(aSlides*.song);
// Place the thumbnails so that they are not
// overlapping.
cspThumbnails.content["mcHolder" + i]._y = i * 60 + 10;
// Set a property on the MovieClip that holds the
// index of the array that it represents, then
// define an onRelease() event handler method so that
// when the user clicks on the image the
// loadFullImage() function is called with that index.
cspThumbnails.content["mcHolder" + i].index = i;

```
