I want to add an event listener that listens for whenever the text field goes blank (IE all text is deleted). Thank you :)
+3
A:
txtField.addEventListener(Event.CHANGE,onChange);
function onChange(e:Event)
{
if(e.currentTarget.length==0)
{
trace("empty")
}
}
Allan
2010-07-14 23:15:45
Thank you very much :)
Patrick Gates
2010-07-14 23:20:09