diff --git a/src/soundjs/Sound.js b/src/soundjs/Sound.js index df82a56e..14ab8d41 100644 --- a/src/soundjs/Sound.js +++ b/src/soundjs/Sound.js @@ -936,7 +936,7 @@ this.createjs = this.createjs || {}; loadItem = createjs.LoadItem.create(loadItem); loadItem.path = basePath; - if (basePath != null && !(loadItem.src instanceof Object)) {loadItem.src = basePath + src;} + if (basePath != null && !(loadItem.src instanceof Object)) {loadItem.src = basePath + loadItem.src;} var loader = s._registerSound(loadItem); if(!loader) {return false;}