# Dynamic Text not Displaying

**URL:** https://forum.kirupa.com/t/dynamic-text-not-displaying/308083
**Category:** flash
**Created:** [April 16, 2010, 11:27pm UTC](https://forum.kirupa.com/t/dynamic-text-not-displaying/308083 "2010-04-16T23:27:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mgarsteck](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@mgarsteck](https://forum.kirupa.com/u/mgarsteck)
#### Post date: [April 16, 2010, 11:27pm UTC](https://forum.kirupa.com/t/dynamic-text-not-displaying/308083/1 "2010-04-16T23:27:38Z")

</div>

Can anyone tell me why it wouldnt be displaying the text. The child is added and I can tell because I mouse over and the cursor changes, however, there is no text. The trace shows the sizes. however, its just not showing up…

```auto
function cartInit():void {
    
    
    for (var i:int = 0; i < cartXML.Ratio[ratNum].Print.@Size.length(); i++) {
        
        carTotal2 = cartXML.Ratio[ratNum].Print.@Size*;
        var size:size1 = new size1();
        size.y = (size.y + 20) * i;
        
        holder.addChild(size);
        size.text = carTotal2;
        trace(size.text);
        
    }
    
}

```
