Original ActionScript 3 version of KOJAC