Please help!

i am writing script for a preloader and when i come to compile the script for testing i recive this error message:

The class or interface ‘Event’ could not be loaded

Its been drivin me crazy for the past couple of days and reli need to get iit sorted

if you could help i would be extreamly gr8ful