Skip to main content
aldor10080202
Participating Frequently
October 20, 2018
Answered

HTML 5 page preview offline

  • October 20, 2018
  • 2 replies
  • 1239 views

Hi everyone,

do you know if I can preview a html5 (+ JavaScript) while offline?

It seems not to be working...

Thank you in advance!

This topic has been closed for replies.
Correct answer ClayUUID

kglad  wrote

you'll need to download the createjs library, https://code.createjs.com/createjs-2015.11.26.min.js and change the path in your html file.

Or, instead of downloading a file from somewhere and manually mucking about in the generated code, he could just uncheck hosted libraries in the publish settings.

2 replies

Joseph Labrecque
Community Expert
Community Expert
October 21, 2018

You could also be having issues with the browser security settings if not serving via a local server. When previewed from Animate itself - not that a local web server is utilized.

kglad
Community Expert
Community Expert
October 20, 2018

you'll need to download the createjs library, https://code.createjs.com/createjs-2015.11.26.min.js​ and change the path in your html file.

ClayUUIDCorrect answer
Legend
October 21, 2018

kglad  wrote

you'll need to download the createjs library, https://code.createjs.com/createjs-2015.11.26.min.js and change the path in your html file.

Or, instead of downloading a file from somewhere and manually mucking about in the generated code, he could just uncheck hosted libraries in the publish settings.

Inspiring
May 13, 2021

I created a project specifically to use offline. I have unchecked the hosted library option, but the project does not appear to be using the js code. Here is the console error. 

 

 

And here is where the code is referenced in the HTML file. 

What's wrong here?