As the title merely suggests it, SWF2PNG (I apologize already for the numerous tools out there that have the same name…) is a tool that will convert all your DisplayObjects (including MovieClips and their frames) inside of a SWF file into a bunch of PNGs at multiple resolutions.
The two main options you need to understand:
- Import size (1x, 2x or 4x) : this is the resolution your assets are inside the SWF (you could have drawn them in HD = 2x or in Super HD = 4x)
- Export size (1x, 2x or 4x) : this is the resolution your assets will be rendered in when being exported to PNG (of course, only vector assets will be scaled nicely)
How this tool works
You simply need to drag and drop a SWF file into the droppable area and it will render all the children that SWF contains one by one. It won’t recursively render children of children. So only the children that are added to the main stage of that SWF.
Each DisplayObject has to have a name. It is used as a filename.
There is a Content.swf and its .fla as an example of a SWF asset file.
The source code and the AIR app are all present in the zip file.SWF 2 PNG Multi Resolution Converter