SWFMovie::output

(PHP 5 < 5.3.0, PECL ming SVN)

SWFMovie::outputDumps your lovingly prepared movie out

Açıklama

SWFMovie::output ([ int $compression ] ) : int
Uyarı

Bu işlev DENEYSELDİR. Bu işlevin davranışı, ismi ve belgeleri PHP'nin sonraki sürümlerinde hiçbir duyuru yapılmaksızın değiştirilebilir. Bu riski göze alamayacaksanız bu işlevi kullanmayın.

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.

Değiştirgeler

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

Dönen Değerler

Return the number of bytes written or FALSE on error.

Örnekler

Örnek 1 Displaying your $movie in a browser

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

Ayrıca Bakınız