Highlighted

html5 issues from Animate CC 2019

New Here ,
Mar 01, 2020

Copy link to clipboard

Copied

Hi,

 

Im trying to find a way to fix an issue I am having when exporting a file from the 2019 version of Animate. The same file exports without issue from Animate 2018, but would like to update the version we use in the office.

 

We are loading the js file using createjs. There is a timeline slider in html/js that we get the position from (int frame number). Then we use exportRoot.gotoAndPlay(position). The code then calls stage.update(). However the stage/movieclip doesnt skip to the new position, instead continues from the initial position.

 

2019 version also get the following console warnings for each frame, but i dont think it is relevant: Depreceated property or method Container.getNumChildren

 

 

 

TOPICS
Code, Product issue

Views

63

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

html5 issues from Animate CC 2019

New Here ,
Mar 01, 2020

Copy link to clipboard

Copied

Hi,

 

Im trying to find a way to fix an issue I am having when exporting a file from the 2019 version of Animate. The same file exports without issue from Animate 2018, but would like to update the version we use in the office.

 

We are loading the js file using createjs. There is a timeline slider in html/js that we get the position from (int frame number). Then we use exportRoot.gotoAndPlay(position). The code then calls stage.update(). However the stage/movieclip doesnt skip to the new position, instead continues from the initial position.

 

2019 version also get the following console warnings for each frame, but i dont think it is relevant: Depreceated property or method Container.getNumChildren

 

 

 

TOPICS
Code, Product issue

Views

64

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 01, 2020 0
ClayUUID LATEST
Adobe Community Professional ,
Mar 02, 2020

Copy link to clipboard

Copied

I don't know how you have your project structured, but a possibly relevant difference is that under CreateJS 1.0.0, even single-frame movieclips loop, instead of just playing once and stopping, like all previous version of Flash/Animate. To get the old behavior they must be manually stopped.

 

Instead of the method getNumChildren(), you now just access the property numChildren.

 

 

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 02, 2020 0