HTML 5 page preview offline

Community Beginner ,
Oct 20, 2018 Oct 20, 2018

Copy link to clipboard

Copied

Hi everyone,

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

It seems not to be working...

Thank you in advance!

Views

559

Likes

Translate

Translate

Report

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

correct answers 1 Correct answer

Adobe Community Professional , Oct 21, 2018 Oct 21, 2018
kglad  wroteyou'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.

Likes

Translate

Translate
Adobe Community Professional ,
Oct 20, 2018 Oct 20, 2018

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Oct 21, 2018 Oct 21, 2018

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

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
Explorer ,
May 13, 2021 May 13, 2021

Copy link to clipboard

Copied

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. 

 

DavidacrossAmerica_0-1620923311905.png

 

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

DavidacrossAmerica_1-1620923444589.png

What's wrong here?

 

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
May 13, 2021 May 13, 2021

Copy link to clipboard

Copied

upload your files to a server and test using the uploaded files.

Likes

Translate

Translate

Report

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
Explorer ,
May 13, 2021 May 13, 2021

Copy link to clipboard

Copied

I did and got it working. Thanks.

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
May 13, 2021 May 13, 2021

Copy link to clipboard

Copied

LATEST

you're welcome.

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Oct 21, 2018 Oct 21, 2018

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

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