Putting a CreateJS lib reference in my adobe animate template pointing to a disk location

Community Beginner ,
Dec 04, 2020

Copy link to clipboard

Copied

Hey guys,

 

I've been using adobe animate for a project I'm working on. It's a webpage that for example shows temperature values and other things from a facility. This webpage has to be able to run on a machine not connected to the web. For this I've had to download the CreateJS library and save it somewhere on my harddisk. Until now I've been changing the reference in my HTML file manually but I wish to do this with a template. 

 

I've tried adding the reference into my template but this will just add mine and keep the one adobe animate puts in. 

jarnek85287640_0-1607099640691.png

Is there a way to tell adobe animate to instead of using the web reference to input my reference in the second <script src=""> if so this would lower the chance of error on my part in forgetting to change this everytime I publish a page.

 

I hope someone has an answer!

 

 

 

TOPICS
Publish package

Views

75

Likes

Translate

Translate

Report

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

1 Correct Answer

Adobe Community Professional , Dec 04, 2020
JoãoCésar Adobe Community Professional , Dec 04, 2020
Hi.   Go to File > Publish Settings... (Ctrl/Cmd + Shift + F12) > JavaScript/HTML > HTML/JS and uncheck Hosted Libraries.   Please let us know if this is the answer you're looking for.   Regards, JC

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional ,
Dec 04, 2020

Copy link to clipboard

Copied

Hi.

 

Go to File > Publish Settings... (Ctrl/Cmd + Shift + F12) > JavaScript/HTML > HTML/JS and uncheck Hosted Libraries.

image.png

 

Please let us know if this is the answer you're looking for.

 

Regards,

JC

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Dec 04, 2020

Copy link to clipboard

Copied

Thank you for the quick response, did not know the solution was right there in front of me the whole time.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Dec 04, 2020

Copy link to clipboard

Copied

You're welcome!

 

And no problem. The important thing is that it helped you.

 

Regards,

JC

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
ClayUUID LATEST
Adobe Community Professional ,
Dec 04, 2020

Copy link to clipboard

Copied

Hosted libraries really should not be the default. The CreateJS library is so relatively small, this option is pretty much only useful for people using Animate to develop ads.

Likes

Translate

Translate

Report

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