PHP Velho Oeste 2024

SWFMovie::save

(PHP 5 < 5.3.0, PECL ming SVN)

SWFMovie::saveSaves the SWF movie in a file

Описание

SWFMovie::save ( string $filename [, int $compression = -1 ] ) : int
Внимание

Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях 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.

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

add a note add a note

User Contributed Notes 1 note

up
0
jerryscript at aol dot com
20 years ago
Ming 0.3 (current CVS) allows you to set the compression level 0-9 when saving to file.  Use 9 for MX style compression.

<?php $myMovie->save($str_filename,9); ?>
To Top