lz-string port for actionscript 3