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

Camera cannot be turned off in symbol

Contributor ,
Feb 26, 2023 Feb 26, 2023

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

TOPICS
ActionScript , Code , Error , Exchange extensions

Views

315

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Feb 26, 2023 Feb 26, 2023

Hi.

 

Try:

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

 

I hope it helps.

 

Regards,

JC

Votes

Translate

Translate
Community Expert ,
Feb 26, 2023 Feb 26, 2023

Copy link to clipboard

Copied

Hi.

 

Try:

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

 

I hope it helps.

 

Regards,

JC

Votes

Translate

Translate

Report

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
Engaged ,
Feb 26, 2023 Feb 26, 2023

Copy link to clipboard

Copied

LATEST

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 1998
Member of Flanimate Power Tools team - extensions for character animation

Votes

Translate

Translate

Report

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