Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

6 replies

kglad
Community Expert
Community Expert
Sep 8, 2022 2:53 PM UTC

loop through all timelines, layers and keyframes selecting each element and then test for a shape and, if true, convert to bitmap:

 

var sel = fl.getDocumentDOM().selection[0];  // this is going to be the (possibly) time-consuming part 
if(sel.elementType == "shape")
fl.getDocumentDOM().convertSelectionToBitmap()
}

Translate
kqskcmAuthor
Known Participant
Sep 8, 2022 5:08 PM UTC

this jsfl Convert only one frame to bitmap

Translate
kglad
Community Expert
Community Expert
Sep 8, 2022 8:42 PM UTC

like i said, you have to loop through timelines, layers and keyframes to use that code.

Translate