<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A Flash no le gusta my Array</title>
	<atom:link href="http://www.joelsedano.com/blog/2006/06/28/a-flash-no-le-gusta-my-array/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joelsedano.com/blog/2006/06/28/a-flash-no-le-gusta-my-array/</link>
	<description>Videojuegos, Linux, Programación, Anime, Música... y uno que otro delirio personal</description>
	<lastBuildDate>Wed, 08 Sep 2010 02:40:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: JFR</title>
		<link>http://www.joelsedano.com/blog/2006/06/28/a-flash-no-le-gusta-my-array/comment-page-1/#comment-19467</link>
		<dc:creator>JFR</dc:creator>
		<pubDate>Sun, 28 Oct 2007 22:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.joelsedano.com/blog/?p=224#comment-19467</guid>
		<description>joel tuve un problema tan grande que me fastidio y me sentia derrotado
con actionscript y se otro mini juego el otro lo termine pero no quedo tan bonito como yo esperaba este es otro seria el sejundo   
var dy = +1;
var dx = +1;
b_2()
function b_2()
{
	bubble.duplicateMovieClipt(this,1).onEnterFrame = function()
	{
		this._x += +dx;
		this._y += +dy;
		if(this.hitTest(wall_right))
		{
			dx = -1;
			this._x -= dx;
		}
		if(this.hitTest(wall_down))
		{
			dy = -1;
			this._y -= dy
		}
		if(this.hitTest(wall_left))
		{
			dx = +1;
			this._x += dx;
		}
		if(this.hitTest(wall_up))
		{
			dy = 1;
			this._y += 0;
		}
		this.onPress = function()
		{
			contador.contador -= 1;
			this._y = 0;
		        this._x = 240;
		}
	}
}
como ves este es una parte del script todo funcionaba bien pero meti
otro script  igual pero con otro nombre &quot;bubble_1&quot; con toda la misma   accion pero esta ves en diferente rumbo.
una ves creada la segunda bubble_1 no funcionaba ni rebotaba y seponia loca no se si sea un bug cuando le daba un clik a la &quot;bubble&quot;
la &quot;bubble_1&quot; cambiaba de rumbo.   
y se muchos cambios en la programacion en movimientos rutas de las esferas y pude resolver ese problema tu be que quitarle el.
duplicateMovieClipt(this, 2) a la bubble_1
¿porque pasa esto si son dos objetos con instancias diferentes y su duplicacion con numero diferente ? 
espero y me respondas</description>
		<content:encoded><![CDATA[<p>joel tuve un problema tan grande que me fastidio y me sentia derrotado<br />
con actionscript y se otro mini juego el otro lo termine pero no quedo tan bonito como yo esperaba este es otro seria el sejundo<br />
var dy = +1;<br />
var dx = +1;<br />
b_2()<br />
function b_2()<br />
{<br />
	bubble.duplicateMovieClipt(this,1).onEnterFrame = function()<br />
	{<br />
		this._x += +dx;<br />
		this._y += +dy;<br />
		if(this.hitTest(wall_right))<br />
		{<br />
			dx = -1;<br />
			this._x -= dx;<br />
		}<br />
		if(this.hitTest(wall_down))<br />
		{<br />
			dy = -1;<br />
			this._y -= dy<br />
		}<br />
		if(this.hitTest(wall_left))<br />
		{<br />
			dx = +1;<br />
			this._x += dx;<br />
		}<br />
		if(this.hitTest(wall_up))<br />
		{<br />
			dy = 1;<br />
			this._y += 0;<br />
		}<br />
		this.onPress = function()<br />
		{<br />
			contador.contador -= 1;<br />
			this._y = 0;<br />
		        this._x = 240;<br />
		}<br />
	}<br />
}<br />
como ves este es una parte del script todo funcionaba bien pero meti<br />
otro script  igual pero con otro nombre &#8220;bubble_1&#8243; con toda la misma   accion pero esta ves en diferente rumbo.<br />
una ves creada la segunda bubble_1 no funcionaba ni rebotaba y seponia loca no se si sea un bug cuando le daba un clik a la &#8220;bubble&#8221;<br />
la &#8220;bubble_1&#8243; cambiaba de rumbo.<br />
y se muchos cambios en la programacion en movimientos rutas de las esferas y pude resolver ese problema tu be que quitarle el.<br />
duplicateMovieClipt(this, 2) a la bubble_1<br />
¿porque pasa esto si son dos objetos con instancias diferentes y su duplicacion con numero diferente ?<br />
espero y me respondas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JFR</title>
		<link>http://www.joelsedano.com/blog/2006/06/28/a-flash-no-le-gusta-my-array/comment-page-1/#comment-17559</link>
		<dc:creator>JFR</dc:creator>
		<pubDate>Tue, 02 Oct 2007 22:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.joelsedano.com/blog/?p=224#comment-17559</guid>
		<description>(Tutoriales para programar 3D en el PSP)
que tal joel.
yo para estudiar ese tutorial para crear uno su propio juego yo mejor lo estudiaria solo para crear programas ya que estudie 3D (maya) y es muy muy laborioso.
materias : animacion/ texturisacion/ modelacion/ luzes /huesos /camaras /ambiente/ morfos y otras mas 
un maestro de un amigo i so un video de entre 8:00 o 9:00 minutos y 
se tardaron mas de un año.  pero que billetisa le dieron 
por eso prefiero a ser programas y no animacion</description>
		<content:encoded><![CDATA[<p>(Tutoriales para programar 3D en el <acronym title="PlayStation Portable">PSP</acronym>)<br />
que tal joel.<br />
yo para estudiar ese tutorial para crear uno su propio juego yo mejor lo estudiaria solo para crear programas ya que estudie 3D (maya) y es muy muy laborioso.<br />
materias : animacion/ texturisacion/ modelacion/ luzes /huesos /camaras /ambiente/ morfos y otras mas<br />
un maestro de un amigo i so un video de entre 8:00 o 9:00 minutos y<br />
se tardaron mas de un año.  pero que billetisa le dieron<br />
por eso prefiero a ser programas y no animacion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JFR</title>
		<link>http://www.joelsedano.com/blog/2006/06/28/a-flash-no-le-gusta-my-array/comment-page-1/#comment-17392</link>
		<dc:creator>JFR</dc:creator>
		<pubDate>Sat, 29 Sep 2007 20:32:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.joelsedano.com/blog/?p=224#comment-17392</guid>
		<description>muchisimas gracias joel como puede se confusa la programacion como apenas le estoy moviendo puedo tener muchos problemas y a la ves  aprender de ellos.
como abia dicho antes (tu si sabes ayudar a las personas) gracias de nuevo</description>
		<content:encoded><![CDATA[<p>muchisimas gracias joel como puede se confusa la programacion como apenas le estoy moviendo puedo tener muchos problemas y a la ves  aprender de ellos.<br />
como abia dicho antes (tu si sabes ayudar a las personas) gracias de nuevo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://www.joelsedano.com/blog/2006/06/28/a-flash-no-le-gusta-my-array/comment-page-1/#comment-17388</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Sat, 29 Sep 2007 19:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.joelsedano.com/blog/?p=224#comment-17388</guid>
		<description>Sorry, no habia visto bien tu problema hasta que lo reproduje en Flash

Todo el problema esta en el &lt;strong&gt;else&lt;/strong&gt; del final, tu &lt;strong&gt;hitTest&lt;/strong&gt; deberia ir algo como esto:

&lt;blockquote&gt;if (this.hitTest(pared_ariva)) {
	speed_up = false;
} else {
	speed_up = 47;
}&lt;/blockquote&gt;

porque &lt;strong&gt;speed_up = true;&lt;/strong&gt; lo toma como &lt;strong&gt;speed_up = 1;&lt;/strong&gt; (osea, tienes que volver a poner su valor inicial).</description>
		<content:encoded><![CDATA[<p>Sorry, no habia visto bien tu problema hasta que lo reproduje en Flash</p>
<p>Todo el problema esta en el <strong>else</strong> del final, tu <strong>hitTest</strong> deberia ir algo como esto:</p>
<blockquote><p>if (this.hitTest(pared_ariva)) {<br />
	speed_up = false;<br />
} else {<br />
	speed_up = 47;<br />
}</p></blockquote>
<p>porque <strong>speed_up = true;</strong> lo toma como <strong>speed_up = 1;</strong> (osea, tienes que volver a poner su valor inicial).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JFR</title>
		<link>http://www.joelsedano.com/blog/2006/06/28/a-flash-no-le-gusta-my-array/comment-page-1/#comment-17359</link>
		<dc:creator>JFR</dc:creator>
		<pubDate>Sat, 29 Sep 2007 02:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.joelsedano.com/blog/?p=224#comment-17359</guid>
		<description></description>
		<content:encoded><![CDATA[<p>bueno esto es lo que pasa cuando mi &#8220;yo&#8221; y ?pared_ariva? se tocan. presiono abajo ahora es esto lo que pasa al presionar ariva se pone lento escomo si isiera esto<br />
var speed_up = 1;<br />
ay algo en mi hittest()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://www.joelsedano.com/blog/2006/06/28/a-flash-no-le-gusta-my-array/comment-page-1/#comment-17352</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Fri, 28 Sep 2007 22:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.joelsedano.com/blog/?p=224#comment-17352</guid>
		<description>No veo la causa del porqué se alente... &lt;strong&gt;arriba&lt;/strong&gt; y &lt;strong&gt;abajo&lt;/strong&gt; van un poco lento comparado con las direcciones &lt;strong&gt;derecha&lt;/strong&gt; e &lt;strong&gt;izquierda&lt;/strong&gt;, pero eso tu lo definiste en tus variables.</description>
		<content:encoded><![CDATA[<p>No veo la causa del porqué se alente&#8230; <strong>arriba</strong> y <strong>abajo</strong> van un poco lento comparado con las direcciones <strong>derecha</strong> e <strong>izquierda</strong>, pero eso tu lo definiste en tus variables.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JFR</title>
		<link>http://www.joelsedano.com/blog/2006/06/28/a-flash-no-le-gusta-my-array/comment-page-1/#comment-17284</link>
		<dc:creator>JFR</dc:creator>
		<pubDate>Thu, 27 Sep 2007 20:33:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.joelsedano.com/blog/?p=224#comment-17284</guid>
		<description>joel yo tengo un problema y espero y me puedas ayudar: no tiene mucho tiempo que estudie actionscript y es mi primer ejercicio.
se trata de un bloque que cuando se posa en sima de otro bloque 
el seleccionado cambia de color pero no esta completo ni terminado
mi problema es que cuando presiono el boton del teclado de ariba se pone 
lento o si hay otra forma de resolver esto te lo agradeseria.
attachMovie(&quot;pared_ariva&quot;, &quot;pared_ariva&quot;, 1, {_y:22, _x:240});
attachMovie(&quot;pared_avajo&quot;, &quot;pared_avajo&quot;, 2, {_y:400, _x:240});
attachMovie(&quot;pared_izquierda&quot;, &quot;pared_izquierda&quot;, 3, {_y:210, _x:1});
attachMovie(&quot;pared_derecha&quot;, &quot;pared_derecha&quot;, 4, {_y:210, _x:478});
attachMovie(&quot;contador&quot;, &quot;contador&quot;, 5, {_y: 5,_x: 50});
attachMovie(&quot;cuadrilatero&quot;, &quot;cuadrilatero&quot;, 6,{_y:213, _x:240});
attachMovie(&quot;yo&quot;, &quot;yo&quot;, 7,{_y:376, _x:29});
var speed_up = 47;
var speed_down = 47;
var speed_left = 53;
var speed_right = 53;
yo.onEnterFrame = function() 
{
if(Key.isDown(Key.UP))
	{
		this._y -= speed_up;
	}
if(Key.isDown(Key.DOWN))
	{
		this._y += speed_down;
	}
if(Key.isDown(Key.LEFT))
	{
		this._x -= speed_left;
	}
if(Key.isDown(Key.RIGHT))
	{
		this._x += speed_right;
	}
if(this.hitTest(pared_ariva))
{
	speed_up = false;
}else{
	speed_up = true;
}
}</description>
		<content:encoded><![CDATA[<p>joel yo tengo un problema y espero y me puedas ayudar: no tiene mucho tiempo que estudie actionscript y es mi primer ejercicio.<br />
se trata de un bloque que cuando se posa en sima de otro bloque<br />
el seleccionado cambia de color pero no esta completo ni terminado<br />
mi problema es que cuando presiono el boton del teclado de ariba se pone<br />
lento o si hay otra forma de resolver esto te lo agradeseria.<br />
attachMovie(&#8220;pared_ariva&#8221;, &#8220;pared_ariva&#8221;, 1, {_y:22, _x:240});<br />
attachMovie(&#8220;pared_avajo&#8221;, &#8220;pared_avajo&#8221;, 2, {_y:400, _x:240});<br />
attachMovie(&#8220;pared_izquierda&#8221;, &#8220;pared_izquierda&#8221;, 3, {_y:210, _x:1});<br />
attachMovie(&#8220;pared_derecha&#8221;, &#8220;pared_derecha&#8221;, 4, {_y:210, _x:478});<br />
attachMovie(&#8220;contador&#8221;, &#8220;contador&#8221;, 5, {_y: 5,_x: 50});<br />
attachMovie(&#8220;cuadrilatero&#8221;, &#8220;cuadrilatero&#8221;, 6,{_y:213, _x:240});<br />
attachMovie(&#8220;yo&#8221;, &#8220;yo&#8221;, 7,{_y:376, _x:29});<br />
var speed_up = 47;<br />
var speed_down = 47;<br />
var speed_left = 53;<br />
var speed_right = 53;<br />
yo.onEnterFrame = function()<br />
{<br />
if(Key.isDown(Key.UP))<br />
	{<br />
		this._y -= speed_up;<br />
	}<br />
if(Key.isDown(Key.DOWN))<br />
	{<br />
		this._y += speed_down;<br />
	}<br />
if(Key.isDown(Key.LEFT))<br />
	{<br />
		this._x -= speed_left;<br />
	}<br />
if(Key.isDown(Key.RIGHT))<br />
	{<br />
		this._x += speed_right;<br />
	}<br />
if(this.hitTest(pared_ariva))<br />
{<br />
	speed_up = false;<br />
}else{<br />
	speed_up = true;<br />
}<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.591 seconds -->
