A reimplementation of ActionScript 3.0 Events