When running this code in pure Flash, a runtime failure occurs because com.adobe.crypto.SHA1 uses some library that's only available in Flex. Since the project already includes hurlant, which has a SHA1, I use that instead.
Thanks to elct9620 for his idea in https://github.com/Worlize/AS3WebSocket/issues/15
When running this code in pure Flash, a runtime failure occurs because com.adobe.crypto.SHA1 uses some library that's only available in Flex. Since the project already includes hurlant, which has a SHA1, I use that instead. Thanks to elct9620 for his idea in https://github.com/Worlize/AS3WebSocket/issues/15