function.swf-openfile.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 203 行

HTML
203
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Open a new Shockwave Flash file</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.swf-oncondition.html">swf_oncondition</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swf-ortho2.html">swf_ortho2</a></div> <div class="up"><a href="ref.swf.html">SWF Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.swf-openfile" class="refentry"> <div class="refnamediv">  <h1 class="refname">swf_openfile</h1>  <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">swf_openfile</span> &mdash; <span class="dc-title">Open a new Shockwave Flash file</span></p> </div> <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type"><span class="type void">void</span></span> <span class="methodname"><b><b>swf_openfile</b></b></span>    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$filename</tt></span>   , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$width</tt></span>   , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$height</tt></span>   , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$framerate</tt></span>   , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$r</tt></span>   , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$g</tt></span>   , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$b</tt></span>   )</div>  <p class="para rdfs-comment">   Opens a new file. This must be the first function you call, otherwise your   script will not work.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">filename</tt></i></span>     <dd>      <p class="para">       The path to the SWF file. If you want to send your output to the       screen, set this to <i>php://stdout</i>.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">width</tt></i></span>     <dd>      <p class="para">       The movie width      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">height</tt></i></span>     <dd>      <p class="para">       The movie height      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">framerate</tt></i></span>     <dd>      <p class="para">       The frame rate.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">r</tt></i></span>     <dd>      <p class="para">       Red value for the background.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">g</tt></i></span>     <dd>      <p class="para">       Green value for the background.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">b</tt></i></span>     <dd>      <p class="para">       Blue value for the background.      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   No value is returned.  </p> </div> <div class="refsect1 changelog">  <h3 class="title">ChangeLog</h3>  <p class="para">   <table class="informaltable">    <colgroup>     <thead valign="middle">      <tr valign="middle">       <th colspan="1">Version</th>       <th colspan="1">Description</th>      </tr>     </thead>     <tbody valign="middle" class="tbody">      <tr valign="middle">       <td colspan="1" rowspan="1" align="left">4.0.1</td>       <td colspan="1" rowspan="1" align="left">        Support for <i>php://stdout</i> was added.       </td>      </tr>     </tbody>    </colgroup>   </table>  </p> </div> <div class="refsect1 seealso">  <h3 class="title">See Also</h3>  <p class="para">   <ul class="simplelist">    <li class="member"><a href="function.swf-closefile.html" class="function" rel="rdfs-seeAlso">swf_closefile()</a></li>   </ul>  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.swf-oncondition.html">swf_oncondition</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swf-ortho2.html">swf_ortho2</a></div> <div class="up"><a href="ref.swf.html">SWF Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?