I am using ActiveSWF toolkit to produce dynamic Flash movies from XML. I like it, because only I need to produce new dynamic movie is new XML. PHP code is the same. Additionally, it has quite good documentation. See http://www.activeswf.com
![]() |
|
||||||||||
|
CLIX. Shockwave Flash FunctionsВведениеPHP offers the ability to create Shockwave Flash files via Paul Haeberli's libswf module.
ТребованияYou need the libswf library to compile PHP with support for this extension. You can download libswf at ftp://ftp.sgi.com/sgi/graphics/grafica/flash/. Установка
Once you have libswf all you need to do is to configure Настройка во время выполненияДанное расширение не определяет никакие директивы конфигурации в php.ini. Типы ресурсовДанное расширение не определяет никакие типы ресурсов. Предопределенные константыПеречисленные ниже константы определены данным расширением и могут быть доступны только в том случае, если PHP был собран с поддержкой этого расширения или же в том случае, если данное расширение подгружается во время выполнения.
ПримерыOnce you've successfully installed PHP with Shockwave Flash support you can then go about creating Shockwave files from PHP. You would be surprised at what you can do, take the following code:
Shockwave Flash Functions
vivid at bwteam dot org
15-Nov-2004 05:52
I am using ActiveSWF toolkit to produce dynamic Flash movies from XML. I like it, because only I need to produce new dynamic movie is new XML. PHP code is the same. Additionally, it has quite good documentation. See http://www.activeswf.com
Mark Dijkman The Netherlands
13-Jan-2004 03:16
Let's not forget to mention there IS another alternative to Swf-lib and Ming. It's called FreeMovie and is created by Jacek Artymiak from O'Reilly. This piece of art is made out of PHP-files only wich makes it suitable for many platforms. The project is also available via SourceForge as freemovie-php.
manuel DOT leiner AT gmx DOT de
28-Jul-2002 04:20
Just to mention for users of SuSE 8.0. libswf is included with the distro with no fonts. Therefore you must "patch" libswf support. As I didn't find the solution here before and I found a solution I am posting this fix:
daemorhedron
06-Mar-2002 10:50
For those having problems with libswf fonts you can add a system wide variable to point to the fonts dir in your shell.
seek at byte-net dot ro
26-Jan-2001 05:06
Hot to make it right.
isu at tozsdeforum dot hu
16-Jan-2001 08:11
This works also! Write into the script:
mike at nux dot co dot uk
20-Dec-2000 07:22
I am using a Generator alternative Turbine - http://www.blue-pac.com - much cheaper than generator with a new version comming soon with builtin php support.
tbma at usa dot net
28-Oct-2000 07:32
Quick patch for php 4.0.2 to enable sound.
ghisha at inwind dot it
05-Sep-2000 08:02
Writing on directory is not required. You can generate a run-time movie .. by replacing swf_openfile("<filename>", .... ) with swf_openfile("php://stdout", ....) and add before that an
adobernig at netway dot at
11-Jul-2000 09:09
There are 2 prerequisites that must be met to run the test program:
kawa at gui dot uva dot es
05-Jul-2000 06:23
Fonts must be in the directory named "fonts". Lets see... if your code is in /www/swf.php4, you sould make a directory /www/fonts. If you use the example above, copy the files dist/fonts/Mod.f and dist/fonts/Mod.l of the source distribution to into /www/fonts/ to use the font Mod. I think you can use also SET_SWF_FONTS or similar
|