`amdModuleId` still needs to be JavaScript escaped, though its not nearly as hard as it was before because the value is only going into a string. The [ESAPI implementation](https://code.google.com/p/owasp-esapi-java/source/browse/trunk/src/main/java/org/owasp/esapi/codecs/JavaScriptCodec.java) is probably a good reference if ActionScript doesn't have any built in escaping methods.