Is it possible to export all movie clips as images from actionscript?
You can manually save some particular movie clip on a stage as an image by running "Export > 开发者_如何学PythonExport Image". Is it possible to write an actionscript that would export all movie clips on a stage to images automatically? Or at least is there a way to automate this in any way?
I'd recommend using the as3corelib which comes with a JPGEncoder and a PNGEncoder, and checking out this answer for information on how to use it.
A JSFL script could help here. It allows you to automate/script most things you can do manually in the Flash IDE.
I ended up using this library: Flash to PNG Export, works pretty good.
精彩评论