Question
jsfl to be fixed
Use jsfl to adjust all movie clips to graphic elements
// Loop through all the library items
for (var i = 0; i < fl.getDocumentDOM().library.items.length; i++) {
var item = fl.getDocumentDOM().library.items[i];
// Check if the item is a movie clip
if (item.itemType === "movie clip") {
// Convert movie clip to a graphic element
fl.getDocumentDOM().convertToSymbol(item.name, "graphic");
}
}
// Refresh the library to reflect changes
fl.getDocumentDOM().library.editItem();