Skip to main content
Participant
February 4, 2021
Answered

Turn off advanced layers via script?

  • February 4, 2021
  • 3 replies
  • 678 views

I'm needing to ensure and turn off advanced layers on some fla files, but will need to do this through some sort of automation. I can see lots of examples on how to use advanced layers in code but nothing for checking if they are enabled/disabled or how to turn them off/on for a fla file.

This topic has been closed for replies.
Correct answer kglad

you can use jsfl:

 

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

 

Working with the JavaScript API (adobe.io)

3 replies

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
February 4, 2021

you can use jsfl:

 

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

 

Working with the JavaScript API (adobe.io)

bruce0D4CAuthor
Participant
February 11, 2021

thank you so much!

kglad
Community Expert
Community Expert
February 12, 2021

you're welcome