Skip to main content
Known Participant
Oct 4, 2022 7:08 AM UTC
Question

Can someone fix this jsfl bug?

an.getDocumentDOM().enterEditMode('inPlace');                                                          

var layerIndex = fl.getDocumentDOM().getTimeline().findLayerIndex("layer_3");

an.getDocumentDOM().getTimeline().setSelectedLayers(layerIndex[0], true); 

an.getDocumentDOM().setElementProperty('firstFrame', 5-1);                                          

an.getDocumentDOM().exitEditMode();  
This topic is closed to new replies. Start a new post to keep the conversation going.

12 replies

kglad
Community Expert
Community Expert
Oct 4, 2022 12:24 PM UTC

how can you enter edit mode with nothing selected?  that should throw an error.

 

or do you select something manually before running the jsfl?

 

and what is

an.getDocumentDOM().setElementProperty('firstFrame', 5-1);  

 

 

Translate
kqskcmAuthor
Known Participant
Oct 4, 2022 5:27 PM UTC

before running jsfl,Only the entire symbol on the stage can be selected

Translate