开发者_如何学PythonExport Image\". Is it possible to write an actionscript that would export all movie cli" />
开发者

Is it possible to export all movie clips as images from actionscript?

开发者 https://www.devze.com 2023-01-11 18:56 出处:网络
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 cli

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号