I'm trying to capture the ENTER event of a TextInput like so:
a_txt.addEventListener(fl.events.ComponentEvent.ENTER, aEnter);
function aEnter(ComponentEvent):void
{
//...
}
There's probably something in these docs
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/TextInput.html#event:enter
which I don't quite understand because I'm getting this compile error:
1120: Access of undefined property fl.
What am I doing wrong?