PHP: swf_openfile - Manual

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

search for in the

swf_ortho2 swf_oncondition

Last updated: Fri, 26 Jan 2007

view this page in

# 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 User Contributed Notes
swf_openfile
There are no user contributed notes for this page.
swf_ortho2 swf_oncondition

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST