Quantcast
Channel: Adobe Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 238792

Add dynamic text to loader

$
0
0

Hello,

I'm trying to get dynamic text to parent to a loader. I don't get any errors, but once I add the code(commented out below) the text that is rendered through the renderText function stops showing up. Any ideas?

 

//input Text

line1Label.text = "Line 1";

inputTextOne.text = "Custom Text: Line 1";

stage.focus = inputTextOne;

inputTextOne.addEventListener(TextEvent.TEXT_INPUT, renderText);

 

var hasText: Boolean;

function renderText (evt:TextEvent): void

{

 

inputTextRender01.text = inputTextOne.text;

hasText = true;

 

    if(hasText == true)

    {

        //.BGContain.addChild(inputTextRender01); //trying to add the text to the loader BGContain....

    }

}


Viewing all articles
Browse latest Browse all 238792

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>