carlosrovira commented on issue #674: How to use standard Web APIs such as Web Speech API? URL: https://github.com/apache/royale-asjs/issues/674#issuecomment-573433785 Hi @vinidiktov, you have some ways to do that. 1. Creating an AS3 externs class. This is more near to the rest of your AS3 code, since you can expose methods available in JS and call it through "dot" access. 2. Using bracket access by linking the js library in your `index.html` template, and just use the api from js `window`object as you show in the description. That's the most simple way, but you loose the AS3 power. Both options are described in detail in this blog example: https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
