How can I call mp3 files from an external folder in Animate?
All the information I can find on using sound involves importing the file into the library or to the stage. But I want to keep the sound files in an external folder and have them play whenever a particular button is pressed. This reason for this is I may have 30+ buttons on a page, each of which will play a different audio file of a few seconds. I am not sure if I want that many sound files in my library.
In Flash it was an easy task. In AS2 it was something like
on (release) {
myfilesound = new Sound();
myfilesound.loadSound("conf/r.mp3",true);
}
I am working on an HTML5 Canvas. Obviously script isn't written on buttons anymore, but rather on frames. I am wondering if there is some script I can add to an Actions frame that will play an mp3 file located in an external folder.
Please anyone let me know if this is possible in Animate.
Thank you.
[Moved from the non-technical Lounge Forum to the specific Program forum... Mod]
[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]