<!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>Moves object in relative coordinates</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="swfdisplayitem.getyskew.html">SWFDisplayItem::getYSkew</a></div> <div class="next" style="text-align: right; float: right;"><a href="swfdisplayitem.moveto.html">SWFDisplayItem::moveTo</a></div> <div class="up"><a href="class.swfdisplayitem.html">SWFDisplayItem</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="swfdisplayitem.move" class="refentry"> <div class="refnamediv"> <h1 class="refname">SWFDisplayItem::move</h1> <p class="verinfo">(PHP 4 >= 4.0.5)</p><p class="refpurpose"><span class="refname">SWFDisplayItem::move</span> — <span class="dc-title">Moves object in relative coordinates</span></p> </div> <div class="refsect1 description" id="refsect1-swfdisplayitem.move-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>SWFDisplayItem::move</strong></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$dx</code></span> , <span class="methodparam"><span class="type">float</span> <code class="parameter">$dy</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>swfdisplayitem::move()</strong></span> moves the current object by (<em><code class="parameter">dx</code></em>,<em><code class="parameter">dy</code></em>) from its current position. </p> <p class="simpara"> The object may be a <span class="function"><strong>swfshape()</strong></span>, a <span class="function"><strong>swfbutton()</strong></span>, a <span class="function"><strong>swftext()</strong></span> or a <span class="function"><strong>swfsprite()</strong></span> object. It must have been added using the <span class="function"><a href="swfmovie.add.html" class="function">swfmovie::add()</a></span>. </p> </div> <div class="refsect1 returnvalues" id="refsect1-swfdisplayitem.move-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div> <div class="refsect1 seealso" id="refsect1-swfdisplayitem.move-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="swfdisplayitem.moveto.html" class="function" rel="rdfs-seeAlso">SWFDisplayItem::moveTo()</a> - Moves object in global coordinates</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="swfdisplayitem.getyskew.html">SWFDisplayItem::getYSkew</a></div> <div class="next" style="text-align: right; float: right;"><a href="swfdisplayitem.moveto.html">SWFDisplayItem::moveTo</a></div> <div class="up"><a href="class.swfdisplayitem.html">SWFDisplayItem</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>