Skip to main content
Known Participant
September 27, 2022
Question

How to use jsfl to lock all layers within a symbol

  • September 27, 2022
  • 1 reply
  • 229 views

How to use jsfl to lock all layers within a symbol

This topic has been closed for replies.

1 reply

Vladin M. Mitov
Inspiring
September 27, 2022

Hi,

Basically, you can lock all layers in particular timeline with this JSFL function:

timeline.setLayerProperty( "locked", true, "all" );

But you need to define which symbol you interested in?
- selected on the stage
- selected in the library
- or you need to find the symbol by its name or some of the names of its instances and so on.

 

 

- Vlad: UX and graphic design, Flash user since 1998Member of Flanimate Power Tools team - extensions for character animation