<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- splitted from ./en/functions/swf.xml, last change in rev 1.8 -->
  <refentry id="function.swf-openfile">
   <refnamediv>
    <refname>swf_openfile</refname>
    <refpurpose>Open a new Shockwave Flash file</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>void</type><methodname>swf_openfile</methodname>
      <methodparam><type>string</type><parameter>filename</parameter></methodparam>
      <methodparam><type>float</type><parameter>width</parameter></methodparam>
      <methodparam><type>float</type><parameter>height</parameter></methodparam>
      <methodparam><type>float</type><parameter>framerate</parameter></methodparam>
      <methodparam><type>float</type><parameter>r</parameter></methodparam>
      <methodparam><type>float</type><parameter>g</parameter></methodparam>
      <methodparam><type>float</type><parameter>b</parameter></methodparam>
     </methodsynopsis>
    <para>
     The <function>swf_openfile</function> function opens a new file
     named <parameter>filename</parameter> with a width of
     <parameter>width</parameter> and a height of
     <parameter>height</parameter> a frame rate of
     <parameter>framerate</parameter> and background with a red color
     of <parameter>r</parameter> a green color of
     <parameter>g</parameter> and a blue color of
     <parameter>b</parameter>.
    </para>
    <para>
     The <function>swf_openfile</function> must be the first function
     you call, otherwise your script will cause a segfault.  If you
     want to send your output to the screen make the filename:
     "php://stdout" (support for this is in 4.0.1 and up).
    </para>
   </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
-->