This version was compiled from haXe source (that contained an optimisation to remove type casting where possible) into as3 code, and then compiled with mxmlc.exe. Some additional changes were made to specify the “virtual” and “override” keywords where required. A further optimisation was made by pasting the original as3 type casting code in to replace the hx-generated hx casting code.