Skip to main content
Participant
August 5, 2021
Question

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

  • August 5, 2021
  • 2 replies
  • 167 views

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!

This topic has been closed for replies.

2 replies

Sibin0D4DAuthor
Participant
August 9, 2021

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

Legend
August 9, 2021

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.

JoãoCésar17023019
Community Expert
Community Expert
August 5, 2021

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