SWFMovie->output

(no version information, might be only in CVS)

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

Description

int swfmovie->output ( [int compression] )

警告

本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。

swfmovie->output() dumps your lovingly prepared movie out. In PHP, preceding this with the command
<?php
header
('Content-type: application/x-shockwave-flash');
?>
convinces the browser to display this as a flash movie.

The compression level can be a value between 0 and 9, defining the swf compression similar to gzip compression.

See also swfmovie->save().

See examples in : swfmovie->streammp3(), swfdisplayitem->rotateto(), swfaction()... Any example will use this method.


add a note add a note User Contributed Notes
jerryscript at aol dot com
05-Jan-2004 10:41
Ming 0.3 (current cvs) requires a compression setting of 0-9 in the call to output, for MX style comression, use 9.

$myMovie->output(9);