TLF text, eventlistener and line breaks

Hi,

I just started using TLF text and it’s interesting. I have this issue however.
I made an swf to demonstrate the problem and you can try it here:
http://megaswf.com/serve/1131617

But this is the problem:
I have an input textfield (type input) and output textfield (dynamic not selectable) and eventlisteners on the input fields. It seems like the TLF does not register the enter-key. Try it for yourself via the link above.

My code is:

txtInputClassic.addEventListener(KeyboardEvent.KEY_UP, fncUpdateClassic);
txtInputTLF.addEventListener(KeyboardEvent.KEY_UP, fncUpdateTLF);

function fncUpdateClassic(e:Event):void
{
    txtOutputClassic.text = txtInputClassic.text;
}

function fncUpdateTLF(e:Event):void
{
    txtOutputTLF.text = txtInputTLF.text;    
}

Thanks for reading :slight_smile: