Highlighted

New Animate files only work on Old Animate program

Explorer ,
Mar 04, 2019

Copy link to clipboard

Copied

Hi.  I recently updated Animate to the 2019 version.  Now, when I create a new HTML5 Canvas project and export an .html file, some of the features don't work.

However, if I open an older Animate file, delete all the content from the library and all the layers and then copy-paste all the content and layers from the new Animate file to the old one and generate an .html file, that file works.

An example of code not working is the following used to call an instance from the library to a placeholder on the stage (and also to advance the MovieClip one keyframe):

this.greenMC.b_gr.addEventListener("click", loadMCsh_o.bind(this));

function loadMCsh_o()

{

this.greenMC.gotoAndStop(1);

var sh_o = new lib.MCsh_o();

this.places.addChild(sh_o);

}

The two attached images show the messages I got when I opened the new file on the older version of Animate and after I clicked save.

open.jpgsave.jpg

Any suggestions regarding how I can get my new version of Animate to create new files that export html files that will read code that directs a button or movie clip to call an instance from the library to the stage?

Is this a common problem?

Thank you very much!

Adobe Community Professional
Correct answer by ClayUUID | Adobe Community Professional

DISABLE ADVANCED LAYERS.

Then go to the feature request link and enthusiastically suggest that they should not be enabled by default.

Views

128

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

New Animate files only work on Old Animate program

Explorer ,
Mar 04, 2019

Copy link to clipboard

Copied

Hi.  I recently updated Animate to the 2019 version.  Now, when I create a new HTML5 Canvas project and export an .html file, some of the features don't work.

However, if I open an older Animate file, delete all the content from the library and all the layers and then copy-paste all the content and layers from the new Animate file to the old one and generate an .html file, that file works.

An example of code not working is the following used to call an instance from the library to a placeholder on the stage (and also to advance the MovieClip one keyframe):

this.greenMC.b_gr.addEventListener("click", loadMCsh_o.bind(this));

function loadMCsh_o()

{

this.greenMC.gotoAndStop(1);

var sh_o = new lib.MCsh_o();

this.places.addChild(sh_o);

}

The two attached images show the messages I got when I opened the new file on the older version of Animate and after I clicked save.

open.jpgsave.jpg

Any suggestions regarding how I can get my new version of Animate to create new files that export html files that will read code that directs a button or movie clip to call an instance from the library to the stage?

Is this a common problem?

Thank you very much!

Adobe Community Professional
Correct answer by ClayUUID | Adobe Community Professional

DISABLE ADVANCED LAYERS.

Then go to the feature request link and enthusiastically suggest that they should not be enabled by default.

Views

129

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
Mar 04, 2019 0
Adobe Community Professional ,
Mar 04, 2019

Copy link to clipboard

Copied

DISABLE ADVANCED LAYERS.

Then go to the feature request link and enthusiastically suggest that they should not be enabled by default.

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...
Mar 04, 2019 2
Explorer ,
Mar 04, 2019

Copy link to clipboard

Copied

Wow quick reply!  I won't be able to try that until later this afternoon, but thanks in advance!  And I'll be sure to add with great enthusiasm that suggestion.

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...
Mar 04, 2019 0
eslmaxx LATEST
Explorer ,
Mar 04, 2019

Copy link to clipboard

Copied

Yes, that worked!  You rule!  Thank you

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...
Mar 04, 2019 0