Implement as3 parts of Event, ErrorEvent, TextEvent and ProgressEvent