用程序生成swf(flash)文件: ming 和 swftools

本文对比了两个开源项目ming和swftools,它们都可用于生成包含图片、声音和视频等元素的SWF文件。ming易于使用且拥有较好的AS支持,但更新缓慢;swftools工具更全面,包括PDF转SWF、SWF合并等功能,但相关资源较少。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ming(http://ming.sourceforge.net/)和swftools(http://www.swftools.org/)都是开源的项目,都是用c编写的.都可以用来生成swf文件,包括在swf文件内增加图片,声音,视频等素材,也可以在文件内增加代码,使用滤镜.
区别是:
ming:使用起来更方便,资料更多(我所看到的),as支持更好,就是更新太慢.
swftools:工具更齐全(有十多种工具,见下文).但是资料不多.

ming(可以使用php,perl,python生成swf文件,php5安装的时候自带,php5帮助里面用完整的函数说明):
sf: http://ming.sourceforge.net/
更新信息:
http://www.libming.net/moin.cgi/%e6%9c%80%e6%96%b0%e6%94%b9%e5%8a%a8
最近版0.4beta4:
http://sourceforge.net/project/showfiles.php?group_id=18365&package_id=187304
最新版本信息:
http://www.libming.net/moin.cgi/Releases
使用ming开发的站点列表:
http://www.libming.net/moin.cgi/Websites_using_Ming
大量的ming的php实例和源码(看了这些代码你就知道生成一个swf是多么简单,但是你最好明白每句代码的含义):
http://www.gazbming.com/



swftools:
最近版本0.8.1:http://www.swftools.org/download.html
文档(内容太少了):http://www.swftools.org/documentation.html
工具和介绍:
* PDF2SWF A PDF to SWF Converter. Generates one frame per page. Enables you to have fully formatted text, including tables, formulas etc. inside your Flash Movie. It's based on the xpdf PDF parser from Derek B. Noonburg.
* SWFCombine A tool for inserting SWFs into Wrapper SWFs. (Templates) E.g. for including the pdf2swf SWFs in some sort of Browsing-SWF.
* SWFStrings Scans SWFs for text data.
* SWFDump Prints out various informations about SWFs.
* JPEG2SWF Takes one or more JPEG pictures and generates a SWF slideshow.
* PNG2SWF Like JPEG2SWF, only for PNGs.
* GIF2SWF Converts GIFs to SWF. Also able to handle animated gifs.
* WAV2SWF Converts WAV audio files to SWFs, using the L.A.M.E. MP3 encoder library.
* AVI2SWF Converts AVI animation files to SWF. It supports Flash MX H.263 compression. Some examples can be found at examples.html.
* Font2SWF Converts font files (TTF, Type1) to SWF.
* SWFBBox Allows to readjust SWF bounding boxes.
* SWFC A tool for creating SWF files from simple script files.
* SWFExtract Allows to extract Movieclips, Sounds, Images etc. from SWF files.
* RFXSWF Library A fully featured library which can be used for standalone SWF generation. Includes support for Bitmaps, Buttons, Shapes, Text, Fonts, Sound etc. It also has support for ActionScript using the Ming ActionCompiler.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值