Skip to main content
Participating Frequently
January 31, 2018
Question

When using a custom template. Importing images do not show in publish.(html5/canvas)

  • January 31, 2018
  • 1 reply
  • 175 views

Hi all. I'm having an issue that images that are imported are not showing up in publish nor they loading at all (checked chrome dev tools) when I use a custom template, however in publish settings when I set back to "use default" template images are loaded up fine. I tried checking/unchecking "overwrite HTM file on publish" and still can't get it work. Em I missing something or is this a bug?

Thanks in advance

    This topic has been closed for replies.

    1 reply

    randyFuseAuthor
    Participating Frequently
    January 31, 2018

    Figured it out. I didn't have the following code which loads the manifest.

    var loader = new createjs.LoadQueue(false);

        loader.addEventListener("fileload", function(evt){handleFileLoad(evt,comp)});

        loader.addEventListener("complete", function(evt){handleComplete(evt,comp)});

        loader.loadManifest(lib.properties.manifest);