Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Aug 05, 2021 Aug 05, 2021

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
139
Translate
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
Community Expert ,
Aug 05, 2021 Aug 05, 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

Translate
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

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

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

Translate
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