Skip to main content
Known Participant
Feb 26, 2023 11:48 AM UTC
Answered

Camera cannot be turned off in symbol

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 is closed to new replies. Start a new post to keep the conversation going.
JoãoCésar17023019
JoãoCésar17023019Correct answer
Community Expert
Feb 26, 2023 12:01 PM UTC

Hi.

 

Try:

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

 

I hope it helps.

 

Regards,

JC

2 replies

Vladin M. Mitov
Inspiring
Feb 26, 2023 12:50 PM UTC

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

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



Translate
- 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
Feb 26, 2023 12:01 PM UTC

Hi.

 

Try:

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

 

I hope it helps.

 

Regards,

JC

Translate