PHP Doku:: Dumps your lovingly prepared movie out - function.swfmovie.output.html

Verlauf / Chronik / History: (9) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenMing (flash)The SWFMovie classSWFMovie->output

Ein Service von Reinhard Neidl - Webprogrammierung.

The SWFMovie class

<<SWFMovie->nextFrame

SWFMovie->remove>>

SWFMovie->output

(PHP 4 >= 4.3.3)

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();
?>


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)