swf_openfile

(PHP 4, PECL)

swf_openfile -- Open a new Shockwave Flash file

Description

void swf_openfile ( string filename, float width, float height, float framerate, float r, float g, float b )

The swf_openfile() function opens a new file named filename with a width of width and a height of height a frame rate of framerate and background with a red color of r a green color of g and a blue color of b.

The swf_openfile() must be the first function you call, otherwise your script will cause a segfault. If you want to send your output to the screen make the filename: "php://stdout" (support for this is in 4.0.1 and up).


add a note add a note User Contributed Notes
dgw at q-logic dot org
25-Oct-2000 11:21
Im running PHP 4.0.3pl1 as an Apache module and it works great (SuSE 6.4).
manu_killer at poczta dot onet dot pl
20-Jul-2000 04:10
Maybe "php://stdout" doesn't exists when you use PHP as an Apache module ?
In case of using it with standalone PHP it may work.