SWFMovie
PHP Manual

SWFMovie->output

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

SWFMovie->outputDumps your lovingly prepared movie out

Opis

SWFMovie
int output ([ int $compression ] )
Ostrzeżenie

Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tej funkcji na własne ryzyko.

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.

Parametry

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

Zwracane wartości

Return the number of bytes written or FALSE on error.

Przykłady

Example #1 Displaying your $movie in a browser

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

Patrz także


SWFMovie
PHP Manual