<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Duda in flash]]></title><description><![CDATA[<p><i><b>This post is being processed/translated. The original version will be shown:</b></i></p><p dir="auto">Estoy haciendo un flash en el k hay k mover una bola arrastrandola, y k al llegar a cierto lugar se mueva hacia un lado ella sola, el problema esk yo kiero k haga un movimiento fluido no de golpe, lo he intentado con un for pero lo hace se un tiron todo el movimiento, como lo podría hacer?Gracias</p>
<p dir="auto">Salu2</p>
]]></description><link>https://foro.hardlimit.com/en/topic/21732/duda-en-flash</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 06:56:33 GMT</lastBuildDate><atom:link href="https://foro.hardlimit.com/en/topic/21732.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Dec 2003 19:09:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Duda in flash on Wed, 31 Dec 2003 14:58:32 GMT]]></title><description><![CDATA[<p><i><b>This post is being processed/translated. The original version will be shown:</b></i></p><p dir="auto">Venga muchas gracias ahora mismo lo pruebo.</p>
]]></description><link>https://foro.hardlimit.com/en/post/228057</link><guid isPermaLink="true">https://foro.hardlimit.com/en/post/228057</guid><dc:creator><![CDATA[cbg]]></dc:creator><pubDate>Wed, 31 Dec 2003 14:58:32 GMT</pubDate></item><item><title><![CDATA[Reply to Duda in flash on Wed, 31 Dec 2003 13:09:21 GMT]]></title><description><![CDATA[<p><i><b>This post is being processed/translated. The original version will be shown:</b></i></p><p dir="auto">hola. cachis la mar es verdad. lo hice en la oficina y ya no voy a volver asi que intentare explicartelo:<br />
1. creas un nuevo MC (movie clip) y le pones de nombre de instancia destino (esta sera la zona en la que dejas la bola o lo que sea). lo colocas en el escenario.<br />
2. creas otro MC que este formado por la forma que quieras en una capa y un boton invisible en otra capa superior. lo colocas en el escenario.<br />
3. en las acciones de ese boton pones este codigo:</p>
<blockquote>
<p dir="auto">on (press) {<br />
this.startDrag("true");<br />
onEnterFrame = function() {}<br />
}<br />
on (release, releaseOutside) {<br />
this.stopDrag();<br />
if (this.hitTest("_root.destino")) {<br />
onEnterFrame = function() {<br />
diffY = 400-_y;<br />
_y = _y+diffY/6;<br />
};<br />
}<br />
}</p>
</blockquote>
<p dir="auto">en caso de que quisieras cambiar la direccion cambias todas las "y" por "x" y en caso de querer hacer diagonales o trayectorias varias (no simplemente lineales) pondrias ambas, algo como:</p>
<blockquote>
<p dir="auto">diffX = 400-_x;<br />
diffY = 400-_y;<br />
_x = _x+diffX/6;<br />
_y = _y+diffY/6;</p>
</blockquote>
<p dir="auto">para cambiar el punto al que va el objeto solo debes modificar el numero de diffY = 400-_y y para modificar la velocidad el /6.<br />
aqui no tengo flash asi que no he podido probarlo pero creo que funcione. saludos.</p>
]]></description><link>https://foro.hardlimit.com/en/post/228044</link><guid isPermaLink="true">https://foro.hardlimit.com/en/post/228044</guid><dc:creator><![CDATA[pestanin]]></dc:creator><pubDate>Wed, 31 Dec 2003 13:09:21 GMT</pubDate></item><item><title><![CDATA[Reply to Duda in flash on Wed, 31 Dec 2003 11:31:53 GMT]]></title><description><![CDATA[<p><i><b>This post is being processed/translated. The original version will be shown:</b></i></p><p dir="auto">Si, es eso justo lo k kiero, muchas gracias, el problema es k me da un error al bajar el .rar.</p>
<p dir="auto">Salu2.</p>
]]></description><link>https://foro.hardlimit.com/en/post/228025</link><guid isPermaLink="true">https://foro.hardlimit.com/en/post/228025</guid><dc:creator><![CDATA[cbg]]></dc:creator><pubDate>Wed, 31 Dec 2003 11:31:53 GMT</pubDate></item><item><title><![CDATA[Reply to Duda in flash on Wed, 31 Dec 2003 09:54:59 GMT]]></title><description><![CDATA[<p><i><b>This post is being processed/translated. The original version will be shown:</b></i></p><p dir="auto">hola. no se si se sera algo asi, te he subido un ejemplo <a href="http://personales.ya.com/pestanin/ejemplo.swf" rel="nofollow ugc">AQUI</a> . saludos.</p>
]]></description><link>https://foro.hardlimit.com/en/post/228016</link><guid isPermaLink="true">https://foro.hardlimit.com/en/post/228016</guid><dc:creator><![CDATA[pestanin]]></dc:creator><pubDate>Wed, 31 Dec 2003 09:54:59 GMT</pubDate></item><item><title><![CDATA[Reply to Duda in flash on Tue, 30 Dec 2003 12:00:23 GMT]]></title><description><![CDATA[<p><i><b>This post is being processed/translated. The original version will be shown:</b></i></p><p dir="auto">Me rerfiero a que ella se mueve sola cuando tu la dejas en un punto.</p>
<p dir="auto">SAlu2.</p>
]]></description><link>https://foro.hardlimit.com/en/post/227839</link><guid isPermaLink="true">https://foro.hardlimit.com/en/post/227839</guid><dc:creator><![CDATA[cbg]]></dc:creator><pubDate>Tue, 30 Dec 2003 12:00:23 GMT</pubDate></item><item><title><![CDATA[Reply to Duda in flash on Tue, 30 Dec 2003 09:26:59 GMT]]></title><description><![CDATA[<p><i><b>This post is being processed/translated. The original version will be shown:</b></i></p><p dir="auto">hola. te refieres al efecto de lanzar la bola o a que dejas la bola en un punto y desde ahi ella se mueve hacia un determinado sitio?. saludos.</p>
]]></description><link>https://foro.hardlimit.com/en/post/227807</link><guid isPermaLink="true">https://foro.hardlimit.com/en/post/227807</guid><dc:creator><![CDATA[pestanin]]></dc:creator><pubDate>Tue, 30 Dec 2003 09:26:59 GMT</pubDate></item></channel></rss>