PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

swf_ortho2> <swf_oncondition
Last updated: Fri, 02 Jan 2009

view this page in

swf_openfile

(PHP 4)

swf_openfileOpen a new Shockwave Flash file

Description

void swf_openfile ( string $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.

Parameters

filename

The path to the SWF file. If you want to send your output to the screen, set this to php://stdout.

width

The movie width

height

The movie height

framerate

The frame rate.

r

Red value for the background.

g

Green value for the background.

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



add a note add a note User Contributed Notes
swf_openfile
There are no user contributed notes for this page.

swf_ortho2> <swf_oncondition
Last updated: Fri, 02 Jan 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites