php-doc-en/reference/ming/functions/swfmovie.output.xml
2004-07-27 04:48:55 +00:00

66 lines
1.9 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 -->
<refentry id="function.swfmovie.output">
<refnamediv>
<refname>SWFMovie->output</refname>
<refpurpose>Dumps your lovingly prepared movie out</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>swfmovie->output</methodname>
<methodparam choice="opt"><type>int</type><parameter>compression</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;
<para>
<function>swfmovie->output</function> dumps your lovingly prepared movie out.
In PHP, preceding this with the command
<programlisting role="php">
<![CDATA[
<?php
header('Content-type: application/x-shockwave-flash');
?>
]]>
</programlisting>
convinces the browser to display this as a flash movie.
</para>
<para>
The <parameter>compression</parameter> level can be a value
between 0 and 9, defining the swf compression similar to
gzip compression.
</para>
<simpara>
See also
<function>swfmovie->save</function>.
</simpara>
<simpara>
See examples in :
<function>swfmovie->streammp3</function>,
<function>swfdisplayitem->rotateto</function>,
<function>swfaction</function>...
Any example will use this method.
</simpara>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->