📄 readme
字号:
LICENSE--------This software is copyright 2001 E-Publishing Group Inc. Permission is grantedto use the code and/or make changes to the code provided that the originalcopyright and author attribution is included in each file. The license does not make any warranty of liability, merchantability, orfitness for any specific purpose.Please contact the author <jshore@e-shuppan.com> if you have any questionsabout the license or the software.BUILDING--------Build the java library and the native library, running make in the java directory (the current directory) and "native" directory respectively.The java build will produce a jswf.jar file which can be included in yourclasspath. The native directory creates a libjswf.so file. This can beplaced anywhere (I typically put it in the same installation directory asmy jar files).USING IT--------To compile or run against this library should do the following (csh): setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:<directory-with-.so-files> java or javac -classpath <old-path>:<jar dir>/jswf.jarMake sure you also include libming.so in the directory with your libjswf.so.Alternatively, add the ming library to your LD_LIBRARY_PATH.NOTES-----The Java class heirarchy and methods closely mirror the PHP and pythoninterfaces. I've added some additional convenience functions and newfunctionality.Also, have separated the implementation from the interface definition. Thismakes browsing the API easier and also allows for other implementations.Methods that result SWF objects will return SWF interfaces rather than the explicit objects. For example: SWFMovie movie = new SWFMovie(); ... SWFDisplayItemI item = movie.add (shape); item.moveTo (23,30);The add method returns SWFDisplayItemI rather than SWFDisplayItem. No bigdeal. Just be aware that interfaces (identified with an "I" suffix) areused most of the time.EXTENDED API------------If you are interested in more advanced functionality, we have a not-yet publicly available high-level API built on top of this. Currently includesthe following: - supports wide variety of image formats (ming only supports jpeg and dbl) - timeline & animation classes - text and object align to arbitrary paths (and path animation) - movie (mpeg, qt, avi, etc) to flash (in progress) - othersPlease contact me if you would like more information about this.CONTACT-------Jonathan Shore <jshore@e-shuppan.com>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -