Copy link to clipboard
Copied
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
Hi.
Try:
fl.getDocumentDOM().timelines[0].advancedLayersEnabled = false;
I hope it helps.
Regards,
JC
Copy link to clipboard
Copied
Hi.
Try:
fl.getDocumentDOM().timelines[0].advancedLayersEnabled = false;
I hope it helps.
Regards,
JC
Copy link to clipboard
Copied
I think, the proper method for enable/disable the camera is:
fl.getDocumentDOM().getTimeline().camera.cameraEnabled = true/false;