Skip to main content
Participant
November 28, 2023
Answered

How to convert multiple objects into SEPARATE symbols?

  • November 28, 2023
  • 5 replies
  • 1456 views

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

 

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer Vladin M. Mitov

    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();	
    	}
    })();



     

    5 replies

    Vladin M. Mitov
    Vladin M. MitovCorrect answer
    Inspiring
    November 28, 2023

    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();	
    	}
    })();



     

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

    Great command!!!

    ____2D vector animator since 2000 &amp; PhD
    kglad
    Community Expert
    Community Expert
    November 28, 2023

    try right-clicking the frame containing the objects > distribute to layers.

    kglad
    Community Expert
    Community Expert
    November 28, 2023

    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">