Sophie

Sophie

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

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>Sets the background color</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfmovie.savetofile.html">SWFMovie::saveToFile</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfmovie.setdimension.html">SWFMovie::setDimension</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.setbackground" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SWFMovie::setbackground</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.3)</p><p class="refpurpose"><span class="refname">SWFMovie::setbackground</span> &mdash; <span class="dc-title">Sets the background color</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-swfmovie.setbackground-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>SWFMovie::setbackground</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$red</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$green</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$blue</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">
   Sets the background color.
  </p>
  <p class="para">
   Why is there no rgba version? Think about it, you might want to let the
   HTML background show through. There&#039;s a way to do that, but it only works
   on IE4. Search the <a href="http://www.macromedia.com/" class="link external">&raquo;&nbsp;http://www.macromedia.com/</a>
   site for details.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-swfmovie.setbackground-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   These parameters are integers between 0 and 255 or hexadecimals between 
   <em>0x00</em> and <em>0xFF</em>:
   <dl>

    <dt>

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

      <p class="para">
       Value of red component
      </p>
     </dd>

    </dt>

    <dt>

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

      <p class="para">
       Value of green component
      </p>
     </dd>

    </dt>

    <dt>

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

      <p class="para">
       Value of blue component
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-swfmovie.setbackground-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   No value is returned.
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfmovie.savetofile.html">SWFMovie::saveToFile</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfmovie.setdimension.html">SWFMovie::setDimension</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>