Skip to main content
Participant
February 4, 2021
Answered

Turn off advanced layers via script?

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 is closed to new replies. Start a new post to keep the conversation going.
kglad
kgladCorrect answer
Community Expert
February 4, 2021

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)

Translate
bruce0D4CAuthor
Participant
February 11, 2021

thank you so much!

Translate
kglad
Community Expert
Community Expert
February 12, 2021

you're welcome 

Translate