SWFMovie->output()

(no version information, might be only in CVS)

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

Description

class SWFMovie {

int output ( [int compression] )

}

Avertissement

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

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.

Liste de paramètres

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

Valeurs de retour

Return the number of bytes written or FALSE on error.

Exemples

Exemple 1. Displaying your $movie in a browser

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

Voir aussi

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