简体   繁体   English

将Flash批量转换为HTML5 canvas项目并发布,jsfl

[英]Batch convert Flash to HTML5 canvas project and publish, jsfl

I want to batch convert Flash projects to CreateJS projects and publish them. 我想将Flash项目批量转换为CreateJS项目并发布它们。

I've converted some Flash projects to HTML5 canvas projects, but I have a lot to convert and it is tedious. 我已经将一些Flash项目转换为HTML5 canvas项目,但是要转换的东西很多,这很繁琐。 When publishing, the MP3s generated are invalid and don't play. 发布时,生成的MP3无效且无法播放。 The WAV files in question play fine in the IDE. 有问题的WAV文件可以在IDE中正常运行。 So additionally, I will have to export sounds separately 因此,另外,我将不得不分别导出声音

How would I write the jsfl to batch run the built-in html5 conversion jsfl script (accessible in the "Commands" menu) and to batch publish? 如何编写jsfl以批处理运行内置的html5转换jsfl脚本(可在“命令”菜单中访问)并批量发布?

I'm not sure how to use this: Can we export from flash to createjs from the command line? 我不确定如何使用它: 我们可以从命令行将Flash导出到createjs吗?

I've slightly modified the sound export script to recursively create folders: Is it possible to use jsfl to export sound files from flash library? 我对声音导出脚本进行了一些修改,以递归方式创建文件夹: 是否可以使用jsfl从Flash库中导出声音文件?

我写了一个jsfl脚本来批量转换,发布和提取声音: https ://gist.github.com/jhiswin/58928a237f8a7ebd2f69

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM