Copy link to clipboard
Copied
Hi!
I'm working on an animation (Adobe Animate 2024) with lots of objects in one layer and I need to convert them into separate symbols in order to create motion tweens etc. I can't figure out how to convert multiple objects into separate symbols as when I select them all and just hit "Conver to symbol" it creates a single symbol with all the objects grouped together, but I need them to remain separate. Feeling pretty stupid by now.. Any ideas?
Best wishes
Rando
1 Correct answer
Yes, distribute them on separate layers as recommended by @kglad ,
then run this script to convert them all into individual symbols:
(function(){
var doc = fl.getDocumentDOM(),
tml = doc.getTimeline(),
cf = tml.currentFrame, i, el;
doc.selectNone();
for( i = 0; i < tml.layers.length; i++ ){
el = tml.layers[i].frames[ cf ].elements[0];
el.selected = true;
// Here you can change the symbol type or the registration
doc.convertToSymbol( "graphic", el.guid, "center" );
doc.selectN
...
Copy link to clipboard
Copied
in the future, to find the best place to post your message, use the list here, https://community.adobe.com/
p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.
<"moved from using the community">
Copy link to clipboard
Copied
try right-clicking the frame containing the objects > distribute to layers.
Copy link to clipboard
Copied
Yes, distribute them on separate layers as recommended by @kglad ,
then run this script to convert them all into individual symbols:
(function(){
var doc = fl.getDocumentDOM(),
tml = doc.getTimeline(),
cf = tml.currentFrame, i, el;
doc.selectNone();
for( i = 0; i < tml.layers.length; i++ ){
el = tml.layers[i].frames[ cf ].elements[0];
el.selected = true;
// Here you can change the symbol type or the registration
doc.convertToSymbol( "graphic", el.guid, "center" );
doc.selectNone();
}
})();
Member of Flanimate Power Tools team - extensions for character animation
Copy link to clipboard
Copied
Great command!!!
____
2D vector animator since 2000 & PhD
Copy link to clipboard
Copied
Hey, thanks a lot for the help! 🙂

