I understand—this is some tricky stuff to get around some of Axure’s shortcomings. I’ve had to play around with it quite a bit to get stuff to work.
It adds text-to-speech to your website/prototype. To enable it, just add this:
To use it, open this hyperlink:
Responsive_Voice v3.rp (90.8 KB)
Look at the HTML generators in this file. There are "HTML 1", "HTML JS (default)" and "HTML JS 2". The "HTML" generator is the basic built-in one you get in every .rp file. "HTML JS" has code in the User Scalable field, which includes the reference to the responsivevoice.js script. If you preview or publish with this generator, and turn your speakers/headphones on, the prototype should work correctly and speak things out loud. If you publish with the plain "HTML" generator, the pages will load and work, but no voice will come out (unless the js is still cached in your browser.)
Hope all this helps you out!
If you get this working, you could try declaring all your external js for all pages, then only making the calls you need for a specific page. Might have to rename some of your functions so they are all different, but seems doable.