PHP: SWFMovie->save() - Manual

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, 26 Jan 2007

view this page in

# SWFMovie->save()

(no version information, might be only in CVS)

SWFMovie->save() -- Saves the SWF movie in a file

## Описание

class SWFMovie {
int save ( string filename [, int compression] )
}

Внимание
Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.

Saves the SWF movie to the specified `filename`.

## Список параметров

`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 the number of bytes written or `FALSE` on error.

## Смотрите также

SWFMovie->output()
SWFMovie->saveToFile()

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);`
add a note
SWFMovie->saveToFile() SWFMovie->remove()

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