remove()"HREF="function.swfmovie.remove.html"> Manuál PHP Předcházející Další (no version information, might be onl..."/>
Forum und email
SWFMovie->output()

SWFMovie->output()

(no version information, might be only in CVS)

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

Popis

class SWFMovie {

int output ( [int compression] )

}

Varování

Tato funkce je EXPERIMENTÁLNÍ. Chování této funkce, její název a všechno ostatní, co je zde zdokumentováno, se v budoucích verzích PHP může BEZ OHLÁŠENÍ změnit. Berte to v úvahu a používejte tuto funkci na vlastní nebezpečí.

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.

Seznam parametrů

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

Návratové hodnoty

Return the number of bytes written or FALSE on error.

Příklady

Příklad 1. Displaying your $movie in a browser

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