<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Javier Belmonte &#187; Flash</title>
	<atom:link href="http://www.javierbelmonte.com/tag/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javierbelmonte.com</link>
	<description>Blog personal de Javier Belmonte, técnico de proyectos web en Avanzis, aprendiz de SEO, SEM y CM, estudiante de Informática, emprendedor, blogger, geek, gamer y director de @lasnovedades.</description>
	<lastBuildDate>Sun, 05 Feb 2012 22:59:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>La jornada en Twitter (Día 718)</title>
		<link>http://www.javierbelmonte.com/general/2010/02/la-jornada-en-twitter-dia-718/</link>
		<comments>http://www.javierbelmonte.com/general/2010/02/la-jornada-en-twitter-dia-718/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 22:30:05 +0000</pubDate>
		<dc:creator>Javier Belmonte</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[A.F.I.]]></category>
		<category><![CDATA[BBK Live 2010]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Discos]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Fnac]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Manmade God]]></category>
		<category><![CDATA[Noticias]]></category>
		<category><![CDATA[Pearl Jam]]></category>
		<category><![CDATA[PS3]]></category>
		<category><![CDATA[Rammstein]]></category>
		<category><![CDATA[Stone Sour]]></category>
		<category><![CDATA[The Who]]></category>
		<category><![CDATA[Todas Las Novedades]]></category>
		<category><![CDATA[TweetDeck]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Zak Starkey]]></category>

		<guid isPermaLink="false">http://www.javierbelmonte.com/?p=1646</guid>
		<description><![CDATA[[Música] Ahora mismo estamos escuchando: A.F.I. &#8211; Sing The Sorrow (2003) 10:35 AM Feb 8th from TweetDeck Hoy, Febrero de 2010, ha llegado por fin un juego de PS3 que compré a través de Fnac.es en Octubre de 2009&#8230; #FAIL 4:12 PM Feb 8th from TweetDeck Peleandome todo el día con jQuery, Flash, CSS, HTML&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>[Música] Ahora mismo estamos escuchando: A.F.I. &#8211; Sing The Sorrow (2003)</strong><br />
<a rel="bookmark" href="http://twitter.com/jbelmonte/status/8803157865"> 10:35 AM Feb 8th </a> from <a rel="nofollow" href="http://www.tweetdeck.com/">TweetDeck</a></p>
<p><strong>Hoy, Febrero de 2010, ha llegado por fin un juego de PS3 que compré a través de Fnac.es en Octubre de 2009&#8230; <a title="#FAIL" rel="nofollow" href="http://twitter.com/search?q=%23FAIL">#FAIL</a></strong><br />
<a rel="bookmark" href="http://twitter.com/jbelmonte/status/8812440897"> 4:12 PM Feb 8th </a> from <a rel="nofollow" href="http://www.tweetdeck.com/">TweetDeck</a></p>
<p><strong>Peleandome todo el día con jQuery, Flash, CSS, HTML&#8230; Y lo que me divierto!!!</strong><br />
<a rel="bookmark" href="http://twitter.com/jbelmonte/status/8816187802"> 5:56 PM Feb 8th </a> from <a rel="nofollow" href="http://www.tweetdeck.com/">TweetDeck</a></p>
<p><strong>[Noticia] El hijo de Ringo a la batería de The Who: La mítica banda británica estuvo presente en la Super Bowl. <a rel="nofollow" href="http://bit.ly/tln0369" target="_blank">http://bit.ly/tln0369</a><br />
</strong> <a rel="bookmark" href="http://twitter.com/jbelmonte/status/8822481150"><strong> </strong>9:03 PM Feb 8th </a> from <a rel="nofollow" href="http://www.tweetdeck.com/">TweetDeck</a></p>
<p><strong>[Noticia] Pearl Jam y Rammstein en BBK Live 2010: Ambas bandas ya han sido confirmadas para el BBK Live de este año. <a rel="nofollow" href="http://bit.ly/tln0370" target="_blank">http://bit.ly/tln0370</a><br />
</strong> <a rel="bookmark" href="http://twitter.com/jbelmonte/status/8822602195"><strong> </strong>9:07 PM Feb 8th </a> from <a rel="nofollow" href="http://www.tweetdeck.com/">TweetDeck</a></p>
<p><strong>Cerrando por hoy&#8230; Los días dan mucho de si, pero hay que saber parar a tiempo!</strong><br />
<a rel="bookmark" href="http://twitter.com/jbelmonte/status/8822817723"> 9:13 PM Feb 8th </a> from <a rel="nofollow" href="http://www.tweetdeck.com/">TweetDeck</a></p>
<p><strong>[Disco] Manmade God &#8211; Manmade God (2003): Angel Garrido Alonso nos descubre un disco realmente interesante. <a rel="nofollow" href="http://bit.ly/tln0371" target="_blank">http://bit.ly/tln0371</a><br />
</strong> <a rel="bookmark" href="http://twitter.com/jbelmonte/status/8823716591"><strong> </strong>9:40 PM Feb 8th </a> from <a rel="nofollow" href="http://www.tweetdeck.com/">TweetDeck</a></p>
<p><strong>[Noticia] Stone Sour y su tercer álbum: El próximo disco de Stone Sour verá la luz presumiblemente en verano del 2010. <a rel="nofollow" href="http://bit.ly/tln0372" target="_blank">http://bit.ly/tln0372</a><br />
</strong> <a rel="bookmark" href="http://twitter.com/jbelmonte/status/8826561564"><strong> </strong>11:01 PM Feb 8th </a> from <a rel="nofollow" href="http://www.tweetdeck.com/">TweetDeck</a></p>
<p><strong>Recien instalada la v0.33.0 de TweetDeck&#8230; Y a la espera de la tan cacareada nueva interface de Facebook. Dije parar?</strong><br />
<a rel="bookmark" href="http://twitter.com/jbelmonte/status/8826812328"> 11:08 PM Feb 8th </a> from <a rel="nofollow" href="http://www.tweetdeck.com/">TweetDeck</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javierbelmonte.com/general/2010/02/la-jornada-en-twitter-dia-718/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trucos: Detener un fotograma durante un intervalo de tiempo</title>
		<link>http://www.javierbelmonte.com/webdesign/flash/2008/11/trucos-flash-detener-un-fotograma-durante-un-intervalo-de-tiempo/</link>
		<comments>http://www.javierbelmonte.com/webdesign/flash/2008/11/trucos-flash-detener-un-fotograma-durante-un-intervalo-de-tiempo/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 21:27:26 +0000</pubDate>
		<dc:creator>Javier Belmonte</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Trucos]]></category>

		<guid isPermaLink="false">http://www.javierbelmonte.com/?p=172</guid>
		<description><![CDATA[Trabajar con Flash supone todo un reto para los que venimos del mundo Web ya que, aunque aparentemente sencillo, la potencia y versatilidad que encierra ActionScript combinado con las posibilidades gráficas que ya de por si ofrece Flash, hacen de esta herramienta un verdadero misterio y quebradero de cabeza para los que somos relativamente ajenos al diseño [...]]]></description>
			<content:encoded><![CDATA[<p>Trabajar con <strong>Flash</strong> supone todo un reto para los que venimos del mundo <strong>Web</strong> ya que, aunque aparentemente sencillo, la potencia y versatilidad que encierra <strong>ActionScript</strong> combinado con las posibilidades gráficas que ya de por si ofrece <strong>Flash</strong>, hacen de esta <strong>herramienta</strong> un verdadero misterio y quebradero de cabeza para los que somos relativamente ajenos al <strong>diseño gráfico</strong>.</p>
<p>Por suerte, este no es del todo mi caso, ya que siempre me he sentido atraído por la capacidad y la plasticidad visual de <strong>Flash</strong>, la que para mi sin duda es la <strong>herramienta</strong> más utilizada para crear <strong>animaciones</strong> y llamativos <strong>efectos visuales</strong>, a la espera del despegue definitivo de <strong>Silverlight</strong>.</p>
<p>Por ello me atrevo ahora a dar algunos de los<strong> trucos</strong> o <strong>consejos </strong>que me han ayudado a sacar el máximo partido de <strong>Flash</strong> en estos años de uso de la <strong>herramienta</strong>. Aquí va el primero de ellos&#8230;</p>
<p><strong>DETENER UN FOTOGRAMA DURANTE UN INTERVALO DE TIEMPO</strong></p>
<p>Muchas veces, cuando estamos trabajando con una <strong>animación</strong>, más concretamente cuando queremos pasar de una <strong>transición</strong> a otra, de un <strong>fotograma</strong> a otro, puede interesarnos establecer un cierto periodo de pausa justo al cargar el nuevo <strong>fotograma</strong>, o incluso antes de cargarlo, algo que habitualmente, si somos primerizos e inexpertos, se suele conseguir simplemente añadiendo un mayor número de <strong>fotogramas</strong>.</p>
<p>No obstante, mediante <strong>ActionScript</strong> podemos evitarnos la creación de <strong>fotogramas</strong> innecesarios, manteniendo así un cierto criterio, orden y control sobre las <strong>escenas</strong>. Además también podremos controlar en todo momento el intervalo de tiempo que queremos que se detenga nuestra <strong>animación</strong>, sin tener que estar contando <strong>fotogramas</strong> ni tener que hacer cálculos con los <strong>fps</strong>.</p>
<p>El <strong>código</strong> en que deberemos incluir como <strong>acción</strong> en el <strong>fotograma</strong> que queremos que se detenga por un intervalo de tiempo es el siguiente:</p>
<p><strong>Ejemplo 1:</strong></p>
<p><em> stop();</em></p>
<p>function seguir():Void {<br />
play();<br />
clearInterval(retardo);<br />
}</p>
<p>retardo = setInterval(this, &#8220;seguir&#8221;, <strong>3000</strong>);</p>
<p>Donde el valor marcado en negrita es el intervalo de tiempo en milisegundos.</p>
<p>Para los que os interese un poco más saber que se está haciendo con estas líneas de código, deciros que simplemente estamos ejecutando una parada de la <strong>animación</strong> mediante la llamada a la función <strong><em>stop()</em></strong>. A esto le sigue una llamada a la función <strong><em>setInterval()</em></strong> que es la que se encarga de introducir el retardo tras el cual se realizará una llamada a la función que hemos definido previamente como <strong><em>seguir()</em></strong>. Esta función que hemos creado nosotros y hemos denominado arbitrariamente <strong><em>seguir()</em></strong> es la que se encarga de reanudar la <strong>animación</strong> mediante la ejecución primero de la función <strong><em>play()</em></strong> y justo después de <strong><em>clearInterval()</em></strong>, que es la que anula y cierra la llamada inicial a <strong><em>setInterval()</em></strong>.</p>
<p>Más información sobre las <strong>funciones</strong> predefinidas aquí utilizadas (en inglés):</p>
<p><a href="http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary682.html" target="_blank"><strong>stop () :</strong> Definición en el Sitio de Adobe Flash<br />
</a><a href="http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary622.html" target="_blank"><strong>play () :</strong> Definición en el Sitio de Adobe Flash</a><br />
<a href="http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary646.html" target="_blank"><strong>setInterval () :</strong> Definición en el Sitio de Adobe Flash</a><br />
<a href="http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary141.html" target="_blank"><strong>clearInterval () :</strong> Definición en el Sitio de Adobe Flash</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javierbelmonte.com/webdesign/flash/2008/11/trucos-flash-detener-un-fotograma-durante-un-intervalo-de-tiempo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

