Copy link to clipboard
Copied
So, just as the subject says, how do I convert a ton (like over 2,000) .pngs quickly and easily to graphic symbols?
I really dont want to have to drag each one to the stage, hit f8, and name it, for each one.
I understand that, back in the CS3 days (im using CS6), it would autonatically generate them when you imported them to the library, is there a setting that I can turn on to have this happen?
Thank you for your time,
Obsidn
Copy link to clipboard
Copied
File>Import>Import to Library
All images will be converted to graphic symbols.
Copy link to clipboard
Copied
Unfortunatly, it does not do that when I import them to the library.
Copy link to clipboard
Copied
This will give you an idea how to use jsfl to import a lot of images into your library
During the import you will have to use sth like this to convert your images to symbols and name them dynamically:
fl.getDocumentDOM().convertToSymbol('movie clip', '', 'center');
Copy link to clipboard
Copied
*sigh* I just wish I understood how to use javascript.
Copy link to clipboard
Copied
If you can use a batchprogram which will convert all your png`s to MovieClips -
There is a workaround where you got to the preferences dialog (CTRL+U) and select the PSD Importer with "create MovieClips" checked.
Then during import to stage of theses psds there will be created graphic symbols for each psd.
Or: Use a automation tool (macro recorder) like this to record your clicks and leyboard inputs and simply let it run 2000 times while drinking a coffee.
Caveat: I can`t imagine that Flash will be too happy about 2000 pngs in the library, meaning: be prepared for crashes.
Copy link to clipboard
Copied
You'll have Movie Clips, not Graphic Symbols, but maybe you can write or find a JSFL to convert them and then you can block select them, click the Properties button, and change the type from MovieClip to Graphc.
Copy link to clipboard
Copied
Oh thank god, That worked perfectly. You're a saint.
I'm gonna add, for those that come after me, if, when you are in the import screen, and the layers are not automatically checked as 'convert to movie clips' just select all of them using shift-click.
I'll say on behalf of all nub sprite animators, thank you.
Copy link to clipboard
Copied
YW
Copy link to clipboard
Copied
I actually used this thread as the inspiration for a blog post.
Copy link to clipboard
Copied
How is there not just, you know, an option to select all the elements and convert them ALL to symbols at once? A 10 step solution for something this simple is ridiculous, and Adobe really needs to get on top of solving issues like these.