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....
}
}