SWFMovie
PHP Manual

SWFMovie::output

(PHP 5 < 5.3.0, PECL ming SVN)

SWFMovie::outputDumps your lovingly prepared movie out

Beschreibung

int SWFMovie::output ([ int $compression ] )
Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

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.

Parameter-Liste

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

Rückgabewerte

Return the number of bytes written or FALSE on error.

Beispiele

Beispiel #1 Displaying your $movie in a browser

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

Siehe auch


SWFMovie
PHP Manual