Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Beginner ,
Jan 31, 2018 Jan 31, 2018

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

156
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 31, 2018 Jan 31, 2018
LATEST

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);

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines