PHP Velho Oeste 2024

SWFMovie::output

(PHP 5 < 5.3.0, PECL ming SVN)

SWFMovie::outputDumps your lovingly prepared movie out

Descrição

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

Esta função é EXPERIMENTAL. O comportamento, seu nome e documentação podem mudar sem aviso em futuras versões do PHP. Utilize por sua própria conta e risco.

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.

Parâmetros

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

Valor Retornado

Return the number of bytes written or FALSE on error.

Exemplos

Exemplo #1 Displaying your $movie in a browser

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

Veja Também

add a note add a note

User Contributed Notes

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