Well, first of all, that code doesn't appear to be
Java code. Is it some other language? (You mentioned that your course was about Flash...) If it is, then it wouldn't be all that surprising if a Java compiler got all tangled up trying to deal with it.