Copy link to clipboard
Copied
Hi,
I'm having issues when using a JPG file inside a nested movie clip.
Here are some context:
Details about issue:
Troubleshooting I have done:
Any idea why this is happening, and how I can fix it? Thanks in advance!
Cheers
Copy link to clipboard
Copied
The problem is usually that you are publishing a spritesheet, and for local playback that can have security issues. Either upload your test to a server somewhere, or go into publish settings and turn off the spritesheet options. Doing that will then create image files instead of a spritesheet, and those don't have the same security issues. For your final publish, that will be uploaded to a server, you could switch back to using spritesheets.
In publish settings, JavaScript/HTML, look for the Export Image assets section, and change the Export as: to be Image Assets.
Copy link to clipboard
Copied
Thanks for the reply.
So I changed the publish settings of images to Image Assets, and I'm able to see the content in the browser when I open the HTML file locally. But I'm still getting erros related to security issue in the browser (see attached screenshot).
Does this mean that the issue is only related to opening the HTML file locally, and that there is no real functional issue with the content? (Again, when I test the movie within Animate, it works as it should)
Copy link to clipboard
Copied
The published version should work ok if it's on a server.
You could try going into Publish Settings/HTML/JS, and uncheck the Hosted Libraries box. That will then make local versions of the CreateJS libraries, that may not have security issues.
Other than that, I'm not sure what would be causing the remain errors.
Copy link to clipboard
Copied
I tried publishing without Hosted Libraries and the content won't even be visible in the browser.
Will test it on an actual server when it's published online and go from there.
Thanks for the tips.