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

search for in the

SWFMovie->saveToFile> <SWFMovie->remove
Last updated: Fri, 05 Sep 2008

view this page in

SWFMovie->save

(No version information available, might be only in CVS)

SWFMovie->saveSaves the SWF movie in a file

Description

int save ( string $filename [, int $compression ] )
Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

Saves the SWF movie to the specified filename .

Parameters

filename

The path to the saved SWF document.

compression

The compression level can be a value between 0 and 9, defining the SWF compression similar to gzip compression.

This parameter is only available as of Flash MX (6).

Return Values

Return the number of bytes written or FALSE on error.



add a note add a note User Contributed Notes
SWFMovie->save
jerryscript at aol dot com
04-Jan-2004 06:43
Ming 0.3 (current CVS) allows you to set the compression level 0-9 when saving to file.  Use 9 for MX style compression.

$myMovie->save($str_filename,9);

SWFMovie->saveToFile> <SWFMovie->remove
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites