<!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>Adds an object to a sprite</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.swfsprite.html">SWFSprite</a></div> <div class="next" style="text-align: right; float: right;"><a href="swfsprite.construct.html">SWFSprite::__construct</a></div> <div class="up"><a href="class.swfsprite.html">SWFSprite</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="swfsprite.add" class="refentry"> <div class="refnamediv"> <h1 class="refname">SWFSprite::add</h1> <p class="verinfo">(PHP 4 >= 4.0.5)</p><p class="refpurpose"><span class="refname">SWFSprite::add</span> — <span class="dc-title">Adds an object to a sprite</span></p> </div> <div class="refsect1 description" id="refsect1-swfsprite.add-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>SWFSprite::add</strong></span> ( <span class="methodparam"><span class="type">object</span> <code class="parameter">$object</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"> <span class="function"><strong>swfsprite::add()</strong></span> adds a <span class="function"><strong>swfshape()</strong></span>, a <span class="function"><strong>swfbutton()</strong></span>, a <span class="function"><strong>swftext()</strong></span>, a <span class="function"><strong>swfaction()</strong></span> or a <span class="function"><strong>swfsprite()</strong></span> object. </p> <p class="para"> For displayable types ( <span class="function"><strong>swfshape()</strong></span>, <span class="function"><strong>swfbutton()</strong></span>, <span class="function"><strong>swftext()</strong></span>, <span class="function"><strong>swfaction()</strong></span> or <span class="function"><strong>swfsprite()</strong></span>), this returns a handle to the object in a display list. </p> </div> <div class="refsect1 returnvalues" id="refsect1-swfsprite.add-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="class.swfsprite.html">SWFSprite</a></div> <div class="next" style="text-align: right; float: right;"><a href="swfsprite.construct.html">SWFSprite::__construct</a></div> <div class="up"><a href="class.swfsprite.html">SWFSprite</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>