Highlighted

Layers not exporting to Javascript on Publish

New Here ,
Jun 30, 2019

Copy link to clipboard

Copied

I'm stuck on an issue regarding publishing to javascript.

I have an old animate app I created months ago. In this old app, when I publish, it exports my layers as javascript objects:

test.jpg

I simply don't understand why my old project exports the Layers "Tiles" and "Background" to JS.

But my new project does not! Why?

Adobe Community Professional
Correct answer by kglad | Adobe Community Professional

advanced layers must no longer convert layers to objects.

TOPICS
Discussions

Views

90

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

Layers not exporting to Javascript on Publish

New Here ,
Jun 30, 2019

Copy link to clipboard

Copied

I'm stuck on an issue regarding publishing to javascript.

I have an old animate app I created months ago. In this old app, when I publish, it exports my layers as javascript objects:

test.jpg

I simply don't understand why my old project exports the Layers "Tiles" and "Background" to JS.

But my new project does not! Why?

Adobe Community Professional
Correct answer by kglad | Adobe Community Professional

advanced layers must no longer convert layers to objects.

TOPICS
Discussions

Views

91

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
Jun 30, 2019 0
Adobe Community Professional ,
Jul 01, 2019

Copy link to clipboard

Copied

i don't see a problem in your screenshot.  what problem do you see when testing?

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
Reply
Loading...
Jul 01, 2019 0
New Here ,
Jul 01, 2019

Copy link to clipboard

Copied

The problem, as stated in the screenshot, is the new project is NOT exporting the layers as js objects, unlike the top example where it is.

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
Reply
Loading...
Jul 01, 2019 0
New Here ,
Jul 01, 2019

Copy link to clipboard

Copied

So, it gets even worse. As a test, I decided to re-publish my old app from months ago. It's checked in to a code repository, so I have high confidence nothing has changed.

However, when I published it again, it ALSO does not export the layers as objects. What the heck changed in Animate?

Why are layers not being exported as objects I can reference in code any longer? This totally broke my old projects.

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
Reply
Loading...
Jul 01, 2019 0
Adobe Community Professional ,
Jul 01, 2019

Copy link to clipboard

Copied

advanced layers must no longer convert layers to objects.

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
Reply
Loading...
Jul 01, 2019 0
Adobe Community Professional ,
Jul 01, 2019

Copy link to clipboard

Copied

It's strange that those layers wouldn't export as objects anymore, especially after you made sure that Advanced Layers was enabled.

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
Reply
Loading...
Jul 01, 2019 0
New Here ,
Jul 01, 2019

Copy link to clipboard

Copied

I would love to see some/any documentation on this.

Having learned many programming languages, I have to say...the docs for Adobe Animate/HTML 5 apps is some of the very worst and most incomplete I've ever seen. The CreateJS docs are good. But the Adobe docs are simply awful.

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
Reply
Loading...
Jul 01, 2019 0
kglad LATEST
Adobe Community Professional ,
Jul 01, 2019

Copy link to clipboard

Copied

i agree with that.

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
Reply
Loading...
Jul 01, 2019 0