SWFMovie::output

(PHP 5 < 5.3.0, PECL ming SVN)

SWFMovie::outputDumps your lovingly prepared movie out

Opis

SWFMovie::output ([ int $compression ] ) : int
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

Przykład #1 Displaying your $movie in a browser

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

Zobacz też:

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top