Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12176

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Dumps your lovingly prepared movie out</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfmovie.nextframe.html">SWFMovie::nextFrame</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfmovie.remove.html">SWFMovie::remove</a></div>
 <div class="up"><a href="class.swfmovie.html">SWFMovie</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="swfmovie.output" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SWFMovie::output</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.3)</p><p class="refpurpose"><span class="refname">SWFMovie::output</span> &mdash; <span class="dc-title">Dumps your lovingly prepared movie out</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-swfmovie.output-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>SWFMovie::output</strong></span>
    ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$compression</code></span>
  ] )</div>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function is
<em class="emphasis">EXPERIMENTAL</em>. The behaviour of this function, its name, and
surrounding documentation may change without notice in a future release of PHP.
This function should be used at your own risk.
</p></div>
  <p class="para">
   Dumps the <a href="class.swfmovie.html" class="classname">SWFMovie</a>.
  </p>
  <p class="para">
   Don&#039;t forget to send the <em>Content-Type</em> HTTP header file
   before using this function, in order to display the movie in a browser.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-swfmovie.output-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">compression</code></em></span>
     <dd>

      <p class="para">
       The compression level can be a value between 0 and 9, defining the SWF
       compression similar to gzip compression.
      </p>
      <p class="para">
       This parameter is only available as of Flash MX (6).
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-swfmovie.output-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Return the number of bytes written or <strong><code>FALSE</code></strong> on error.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-swfmovie.output-examples">
  <h3 class="title">Examples</h3>
  <p class="para">
   <div class="example" id="example-3550">
    <p><strong>Example #1 Displaying your $movie in a browser</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-type:&nbsp;application/x-shockwave-flash'</span><span style="color: #007700">);&nbsp;<br /></span><span style="color: #0000BB">$movie</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">output</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
    </div>

   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-swfmovie.output-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="swfmovie.save.html" class="function" rel="rdfs-seeAlso">SWFMovie::save()</a> - Saves the SWF movie in a file</span></li>
    <li class="member"> <span class="function"><a href="swfmovie.savetofile.html" class="function" rel="rdfs-seeAlso">SWFMovie::saveToFile()</a> - Description</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfmovie.nextframe.html">SWFMovie::nextFrame</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfmovie.remove.html">SWFMovie::remove</a></div>
 <div class="up"><a href="class.swfmovie.html">SWFMovie</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>