CreateJS/PreloadJS

event.result.src not found when queue.on 'fileload', Ver 0.6.2

Opened this issue · 2 comments

the code worked in Ver 0.6.0 but not Ver 0.6.2

var queue = new createjs.LoadQueue();
queue.installPlugin(createjs.Sound);
queue.loadManifest([
    {id: "bgImg", src:"img/bg.jpg"},
    {id: "bgAudio", src:"img/bgaudio.mp3"},
    {id: "p11", src:"img/p1-1.png"},
    {id: "p12", src:"img/p1-2.png"},
    {id: "p13", src:"img/p1-3.png"},
    {id: "p14", src:"img/p1-4.png"},
    {id: "p15", src:"img/p1-5.png"},
    {id: "p16", src:"img/p1-6.png"},
    {id: "p1t", src:"img/p1-t.png"},
    {id: "p21", src:"img/p2-1.png"},
    {id: "p22", src:"img/p2-2.png"}
]);
queue.on('fileload', function (event) {
    var fileItem = event.item;
    var fileResult = event.result;

    if (fileItem.type=="image") {
        $('.'+fileItem.id).css('background-image','url('+fileResult.src+')');
    }else if(fileItem.type=="sound"){
        $('#'+fileItem.id).attr('src',fileItem.src);
    }
}, this);

error :
GET blob:http://localhost/eb8bccf5-0c8f-4a8b-98f6-e6cf40aa22bc 404 (Not Found)
GET blob:http://localhost/68cef707-a8a6-4f4e-9889-bce2b8f93704 404 (Not Found)
...

same problem in my case (version 1.0.0)

also a problem with 1.0.0