I want to turn on/off specfic scenes in exported canvas animation code

New Here ,
Aug 05, 2021 Aug 05, 2021

Copy link to clipboard

Copied

Hi,

 

I am trying to disable particular scene in canvas animation code. I am not sure how we can approach this?

 

I tried by commenting particular symol and it gives me black frames for that scene.

 

Can somone help on this?

 

Thanks!

TOPICS
How to

Views

32

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 ,
Aug 05, 2021 Aug 05, 2021

Copy link to clipboard

Copied

Hi.

 

There are no scenes in HTML5 Canvas documents.

 

Can you show us an example of what you want to achieve (screenshot, video)?

 

Regards,

JC

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
New Here ,
Aug 09, 2021 Aug 09, 2021

Copy link to clipboard

Copied

Thanks for the reply.

 

Here, the scenes I meant is set of frames.

 

For ex: I want to disable particular set of frames for a specific conditions. Also, I need provision to enable these frames if the conditions are not met.

 

Regards,

Sibin

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 ,
Aug 09, 2021 Aug 09, 2021

Copy link to clipboard

Copied

LATEST

You can't selectively hide/show frames in Animate. That's not how it works. If you don't want to see a frame, you just go to a different frame.

 

Now, if you're calling layers "frames" for some reason, you can put what you want to hide in named movieclips, then use code to set their visibility.

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