AS2-style Key class for ActionScript