SWFMovie->output

Dumps your lovingly prepared movie out ()
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.