as3corelib
as3corelib copied to clipboard
Base64Encoder DOES NOT WORK WITH FLASH PROFESSIONAL OR ANIMATE CC
Adobe document for Actionscript 3.0 points to your set of classes to execute encrypted database. http://help.adobe.com/en_US/as3/dev/WS8AFC5E35-DC79-4082-9AD4-DE1A2B41DAAF.html
Your EncryptionKeyGenerator.as class uses SHA256.as class that points to import of non existent mx.utils in flash professional. "import mx.utils.Base64Encoder;" This is a Flex 3 set of utilities vs. Flash.
**Here is the compiler error:
\FLASH TESTING\DATABASE ACCESS and PASSWORD\com\adobe\crypto\SHA256.as, Line 120, Column 16 1046: Type was not found or was not a compile-time constant: Base64Encoder.
\FLASH TESTING\DATABASE ACCESS and PASSWORD\com\adobe\crypto\SHA256.as, Line 120, Column 36 1180: Call to a possibly undefined method Base64Encoder.
\FLASH TESTING\DATABASE ACCESS and PASSWORD\com\adobe\crypto\SHA256.as, Line 37, Column 17 1172: Definition mx.utils:Base64Encoder could not be found. **