I'm using flash cs3 and AS3:

CODE
input_txt.addEventListener(ComponentEvent.ENTER,enter_text);

I get an error: 1120: Access of undefined property ComponentEvent.
I try to import the appropriate events...
CODE
import fl.events.ComponentEvent;

I get another error: 1172: Definition fl.events:ComponentEvent could not be found.

All I've found through google is that it may be something to do with path settings. But, I'm using standard Flash CS3 (Trial), and haven't done anything to it at all.

Really, really frustrating, any ideas?