(PHP 4)
swf_openfile — Open a new Shockwave Flash file
$filename
, float $width
, float $height
, float $framerate
, float $r
, float $g
, float $b
)Opens a new file. This must be the first function you call, otherwise your script will not work.
filenameThe path to the SWF file. If you want to send your output to the screen, set this to php://stdout.
widthThe movie width
heightThe movie height
framerateThe frame rate.
rRed value for the background.
gGreen value for the background.
bBlue value for the background.
No value is returned.
| Version | Description |
|---|---|
| 4.0.1 | Support for php://stdout was added. |