SWF_OPENFILE(3) 1 SWF_OPENFILE(3)
swf_openfile - Open a new Shockwave Flash file
SYNOPSIS
void swf_openfile (string $filename, float $width, float $height, float $framerate, float $r, float $g, float $b)
DESCRIPTION
Opens a new file. This must be the first function you call, otherwise your script will not work.
PARAMETERS
o $filename
- The path to the SWF file. If you want to send your output to the screen, set this to php://stdout.
o $width
- The movie width
o $height
- The movie height
o $framerate
- The frame rate.
o $r
- Red value for the background.
o $g
- Green value for the background.
o $b
- Blue value for the background.
RETURN VALUES
No value is returned.
CHANGELOG
+--------+--------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+--------------------------------------+
| 4.0.1 | |
| | |
| | Support for php://stdout was added. |
| | |
+--------+--------------------------------------+
SEE ALSO
swf_closefile(3).
PHP Documentation Group SWF_OPENFILE(3)