PHP: SWFMovie->output() - Manual

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

search for in the

SWFMovie->remove() SWFMovie->nextFrame()

Last updated: Sat, 27 Jan 2007

view this page in

# SWFMovie->output()

(no version information, might be only in CVS)

SWFMovie->output() -- Dumps your lovingly prepared movie out

## Описание

class SWFMovie {
int output ( [int compression] )
}

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

Dumps the SWFMovie.

Don't forget to send the `Content-Type` HTTP header file before using this function, in order to display the movie in a browser.

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

`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.

## Примеры

Пример 1. Displaying your $movie in a browser

`<?php header('Content-type: application/x-shockwave-flash'); $movie->output(); ?>`

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

SWFMovie->save()
SWFMovie->saveToFile()

add a note User Contributed Notes
SWFMovie->output()
There are no user contributed notes for this page.
SWFMovie->remove() SWFMovie->nextFrame()

Last updated: Sat, 27 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