Http://sourceforge.net/projects/ming/
Http://www.ibm.com/developerworks/cn/opensource/os-php-flash/index.html? S_tact = 105agx52 & s_cmp = techcsdn # author
========================================================== ========================
Http://www.roading.net/blog/post_205.htmlto find information
In the past, the development project also created a huge header for how users can customize the SWF generation.
Ming (http://ming.sourceforge.net/) and swftools (http://www.swftools.org/) are both open source projects, are written in C. can be used to generate SWF files, including adding images, sounds, videos, and other materials to the SWF file. You can also add code to the file and use filters.
The difference is:
Ming: it is more convenient to use and more information (I can see). The as support is better, that is, it is too slow to update.
Swftools: more comprehensive tools (see the following for more than 10 tools.
Ming (you can use PHP, Perl, and python to generate the SWF file. PhP5 comes with it when it is installed. PhP5 uses the complete function description in help ):
SF: http://ming.sourceforge.net/
Update information:
Http://www.libming.net/moin.cgi/%e6%9c%80%e6%96%b0%e6%94%b9%e5%8a%a8
Latest Version 0.4beta4:
Http://sourceforge.net/project/showfiles.php? Group_id = 18365 & package_id = 187304
Latest Version:
Http://www.libming.net/moin.cgi/Releases
List of sites developed using Ming:
Http://www.libming.net/moin.cgi/Websites_using_Ming
A large number of Ming PHP instances and source code (after reading these code, you will know how easy it is to generate a SWF, but you 'd better understand the meaning of each code ):
Http://www.gazbming.com/
Swftools:
Recent 0.8.1: http://www.swftools.org/download.html
Document (too little content): http://www.swftools.org/documentation.html
Tools and introduction:
* Listen 2swf 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 limit 2swf SWFs in some sort of browsing-SWF.
* Swfstrings scans SWFs for text data.
* Swfdump prints out various informations about SWFs.
* Listen 2swf takes one or more JPEG pictures and generates a SwF slideshow.
* Png2swf like ipv2swf, 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. supported des support for bitmaps, buttons, shapes, text, fonts, sound etc. it also has support for ActionScript using the Ming actioncompiler.
Methods and introduction of using mtasc to compile as to generate SWF online in PHP/jsp
I don't like this method because it uses shell.
Mtascis a command line compiler that compiles .assource files into .swf files.
PHP can be called when shell is allowed.
Http://hossy.net/sssc/
This is the author's address.
In fact, there is no difficulty, because the work is completed by mtasc. PHP cannot be completed independently.
In addition to setting up the mtasc shell in PHP, you can also use Java to build the mtasc shell.
Http://www.scotthyndman.ca /? P = 73
Does mtasc not need to be used now ??