Skip to main content
Known Participant
February 26, 2023
Answered

Camera cannot be turned off in symbol

  • February 26, 2023
  • 2 replies
  • 505 views

fl.getDocumentDOM().getTimeline().advancedLayersEnabled = false;

Using the above code, you can turn off the camera in the scene

How to turn off the camera while editing symbols

This topic has been closed for replies.
Correct answer JoãoCésar17023019

Hi.

 

Try:

fl.getDocumentDOM().timelines[0].advancedLayersEnabled = false;

 

I hope it helps.

 

Regards,

JC

2 replies

Vladin M. Mitov
Inspiring
February 26, 2023

I think, the proper method for enable/disable the camera is:

fl.getDocumentDOM().getTimeline().camera.cameraEnabled = true/false;



- Vlad: UX and graphic design, Flash user since 1998Member of Flanimate Power Tools team - extensions for character animation
JoãoCésar17023019
Community Expert
JoãoCésar17023019Community ExpertCorrect answer
Community Expert
February 26, 2023

Hi.

 

Try:

fl.getDocumentDOM().timelines[0].advancedLayersEnabled = false;

 

I hope it helps.

 

Regards,

JC