Added get_type() to Event.js so cross-compiled code will work: In ActionScript, event.type is cross-compiled to event.get_type().