Hello there, I am trying to target mp3s dynamically but am having a syntax problem. If someone could point out how i can do this I would be very grateful. The name of the mp3 is held in the fileStr variable and the mp3s are in a folder called “mp3”.
Here’s my current code:
mySound.loadSound(["mp3/"+fileStr+".mp3"], true);
Thanks