<?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>Hontai &#187; AS2</title>
	<atom:link href="http://www.hontai.es/tag/as2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hontai.es</link>
	<description>Hontai? no sería mejor hentai(manga guarro)?</description>
	<lastBuildDate>Mon, 11 Jul 2011 17:32:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>buttonMode con textos dinamicos en as3</title>
		<link>http://www.hontai.es/2010/11/buttonmode-con-textos-dinamicos-en-as3/</link>
		<comments>http://www.hontai.es/2010/11/buttonmode-con-textos-dinamicos-en-as3/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 11:36:20 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[buttonMode]]></category>
		<category><![CDATA[mouseChildren]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=451</guid>
		<description><![CDATA[Lo que antes con ActionScript 2 era sencillo, a veces con el 3 se complica bastante por tonterías. Una de ellas es el buttonMode, que en muchas ocasiones si dentro del botón tenemos algún campo de texto dinámico simplemente nos aparece el icono de la mano en ciertas áreas, para evitar eso es tan simple [...]]]></description>
			<content:encoded><![CDATA[<p>Lo que antes con <a href="http://www.hontai.es/tag/as2/">ActionScript 2</a> era sencillo, a veces con el <a href="http://www.hontai.es/tag/as3/">3</a> se complica bastante por tonterías. Una de ellas es el buttonMode, que en muchas ocasiones si dentro del botón tenemos algún campo de texto dinámico simplemente nos aparece el icono de la mano en ciertas áreas, para evitar eso es tan simple como utilizar lo siguiente:</p>
<div class="igBar"><span id="lactionscript-2"><a href="#" onclick="javascript:showPlainTxt('actionscript-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-2">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">boton.<span style="color: #006600;">buttonMode</span> = <span style="color: #000000; font-weight: bold;">true</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">boton.<span style="color: #006600;">mouseChildren</span>=<span style="color: #000000; font-weight: bold;">false</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">boton.<span style="color: #006600;">addEventListener</span> <span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">CLICK</span>, funcionquequieres<span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Algo muy sencillo pero que como no lo conozcas te puede hacer un poco la vida imposible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2010/11/buttonmode-con-textos-dinamicos-en-as3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sumar fecha en AS2</title>
		<link>http://www.hontai.es/2009/12/sumar-fecha-en-as2/</link>
		<comments>http://www.hontai.es/2009/12/sumar-fecha-en-as2/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 10:22:51 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[date]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=371</guid>
		<description><![CDATA[En AS2 una cosa que es bastante sencilla de hacer y que sin embargo me ha costado un rato encontrar el como, es sumarle a una fecha un día. Para ello utilizamos la función Date, y se haría de la siguiente manera: PLAIN TEXT Actionscript: var today_date:Date = new Date&#40;&#41;; today_date.setDate&#40;today_date.getDate&#40;&#41; + 1&#41;; Como se [...]]]></description>
			<content:encoded><![CDATA[<p>En <a href="http://www.hontai.es/tag/as2/">AS2</a> una cosa que es bastante sencilla de hacer y que sin embargo me ha costado un rato encontrar el como, es sumarle a una fecha un día. Para ello utilizamos la función Date, y se haría de la siguiente manera:</p>
<div class="igBar"><span id="lactionscript-4"><a href="#" onclick="javascript:showPlainTxt('actionscript-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-4">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> today_date:<span style="color: #0066CC;">Date</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">today_date.<span style="color: #0066CC;">setDate</span><span style="color: #66cc66;">&#40;</span>today_date.<span style="color: #0066CC;">getDate</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> + <span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Como se puede comprobar es muy sencillo, pero buscando por Internet la verdad es que no encontré ninguna página o foro en el que lo pusieran, normalmente me encontré con funciones enormes en las que comprobaban el mes, el numero de día,…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/12/sumar-fecha-en-as2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple transición de fotografías con AS2</title>
		<link>http://www.hontai.es/2009/09/simple-transicion-de-fotografias/</link>
		<comments>http://www.hontai.es/2009/09/simple-transicion-de-fotografias/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 08:23:02 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[Tween]]></category>
		<category><![CDATA[TweenMax]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=346</guid>
		<description><![CDATA[Después de un largo tiempo sin actualizar, principalmente debido a las vacaciones, hoy escribo de nuevo para dejar un pequeño código en AS2 que puede ser muy útil para hacer por pases de imágenes. Simplemente tenemos que crear dos anclas, en este caso les pondré de nombre de instancia “ancla_foto” y “ancla_fotoB”. Inicializo la variable [...]]]></description>
			<content:encoded><![CDATA[<p>Después de un largo tiempo sin actualizar, principalmente debido a las vacaciones, hoy escribo de nuevo para dejar un pequeño código en <a href="http://www.hontai.es/tag/as2/">AS2</a> que puede ser muy útil para hacer por pases de imágenes.</p>
<p>Simplemente tenemos que crear dos anclas, en este caso les pondré de nombre de instancia  “ancla_foto” y “ancla_fotoB”. Inicializo la variable “_root.enQueAncla” en la que le meto el nombre de instancia del ancla en la que quiero que empiece grabándome la primera imagen.</p>
<p>Y a continuación creo la función. Lo que  hace es simplemente cargar la imagen en la capa que está especificada en la variable. Me pasa el ancla a la capa superior y cambia en la variable el ancla en la que pegare la siguiente.</p>
<div class="igBar"><span id="lactionscript-7"><a href="#" onclick="javascript:showPlainTxt('actionscript-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-7">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">_root</span>.<span style="color: #006600;">enQueAncla</span> = <span style="color: #ff0000;">"ancla_foto"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">function</span> cambioFoto<span style="color: #66cc66;">&#40;</span>imagen<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">this</span><span style="color: #66cc66;">&#91;</span><span style="color: #0066CC;">_root</span>.<span style="color: #006600;">enQueAncla</span><span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">loadMovie</span> <span style="color: #66cc66;">&#40;</span>imagen<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">this</span><span style="color: #66cc66;">&#91;</span><span style="color: #0066CC;">_root</span>.<span style="color: #006600;">enQueAncla</span><span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">swapDepths</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">getNextHighestDepth</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">_root</span>.<span style="color: #006600;">enQueAncla</span> == <span style="color: #ff0000;">"ancla_foto"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">_root</span>.<span style="color: #006600;">enQueAncla</span> = <span style="color: #ff0000;">"ancla_fotoB"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">_root</span>.<span style="color: #006600;">enQueAncla</span> = <span style="color: #ff0000;">"ancla_foto"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Ahora solo tendré que llamar a esa función especificándole la ruta de la imagen que quiero cargar.</p>
<div class="igBar"><span id="lactionscript-8"><a href="#" onclick="javascript:showPlainTxt('actionscript-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-8">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cambioFoto<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"common/foto.jpg"</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Ahora si quiero simplemente tengo que añadirle algun <a href="http://www.hontai.es/tag/tween/">tween</a> para hacer la transición entre una fotografía y otra. Para ello recomiendo "<a href="http://blog.greensock.com/tweenliteas3/">tweenlite</a>".</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/09/simple-transicion-de-fotografias/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pop-up fullscreen con AS2</title>
		<link>http://www.hontai.es/2009/08/pop-up-fullscreen-con-as2/</link>
		<comments>http://www.hontai.es/2009/08/pop-up-fullscreen-con-as2/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 11:48:14 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[pop-up]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=300</guid>
		<description><![CDATA[Después de estos días sin actualizar que me he tomado de vacaciones, aquí os dejo un código muy simple en AS2 para ponerle a algún botón o algún movieclip, para que abra un enlace en una ventana nueva y en fullscreen. PLAIN TEXT Actionscript: on&#40;release&#41;&#123; getURL&#40;"javascript:window.open('https://www.paginaquequieresabrir.com','Titulo de la pagina','fullscreen, status=no,scrollbars=no,menubar=no');void(0);"&#41;; &#125;]]></description>
			<content:encoded><![CDATA[<p>Después de estos días sin actualizar que me he tomado de vacaciones, aquí os dejo un código muy simple en <a href="http://www.hontai.es/tag/as2/">AS2</a> para ponerle a algún botón o algún movieclip, para que abra un enlace en una ventana nueva y en fullscreen.</p>
<div class="igBar"><span id="lactionscript-10"><a href="#" onclick="javascript:showPlainTxt('actionscript-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-10">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">on</span><span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"javascript:window.open('https://www.paginaquequieresabrir.com','Titulo de la pagina','fullscreen, status=no,scrollbars=no,menubar=no');void(0);"</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/08/pop-up-fullscreen-con-as2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fullscreen en AS2</title>
		<link>http://www.hontai.es/2009/07/fullscreen-en-as2/</link>
		<comments>http://www.hontai.es/2009/07/fullscreen-en-as2/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 22:29:13 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[fullscreen]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=263</guid>
		<description><![CDATA[Una de las cosas que me parecen muy útiles de flash, aunque no se puede abusar de ella, es la posibilidad de poner una página en fullscreen, y la verdad es que es muy sencillo de hacer. Primero deberíamos poner el siguiente en el que le especificamos que cuando se redimensione no escale los objetos. [...]]]></description>
			<content:encoded><![CDATA[<p>Una de las cosas que me parecen muy útiles de flash, aunque no se puede abusar de ella, es la posibilidad de poner una página en fullscreen, y la verdad es que es muy sencillo de hacer.</p>
<p>Primero deberíamos poner el siguiente en el que le especificamos que cuando se redimensione no escale los objetos.</p>
<div class="igBar"><span id="lactionscript-14"><a href="#" onclick="javascript:showPlainTxt('actionscript-14'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-14">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">Stage</span>.<span style="color: #0066CC;">scaleMode</span> = “noScale”; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Después de tener configurado el Stage, simplemente tenemos que crear un botón en el que le ponemos el siguiente código:</p>
<div class="igBar"><span id="lactionscript-15"><a href="#" onclick="javascript:showPlainTxt('actionscript-15'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-15">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">Stage</span>.<span style="color: #006600;">displayState</span> = <span style="color: #0066CC;">Stage</span>.<span style="color: #006600;">displayState</span> == “normal” ? “fullScreen” : “normal”;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Como se puede comprobar es muy sencillo de hacer, y para una web que tiene una galería a pantalla completa queda muy bien.</p>
<p>Una de las limitaciones que tenemos con el fullscreen es que siempre que se trate de una web tendremos que activarlo mediante un botón. Cuando hablamos de un ejecutable ya es otra cosa, ya que utilizando otro comando si podremos activarlo.</p>
<div class="igBar"><span id="lactionscript-16"><a href="#" onclick="javascript:showPlainTxt('actionscript-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-16">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">fscommand</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"fullscreen"</span>, <span style="color: #ff0000;">"false"</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Bueno, como siempre espero que os sea de utilidad. Un saludo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/07/fullscreen-en-as2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Movieclip, eliminarse a si mismo en AS3</title>
		<link>http://www.hontai.es/2009/07/movieclip-eliminarse-a-si-mismo-en-as3/</link>
		<comments>http://www.hontai.es/2009/07/movieclip-eliminarse-a-si-mismo-en-as3/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 22:12:12 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=241</guid>
		<description><![CDATA[Antes con as2 para borrar un movieclip valía con escribir: PLAIN TEXT Actionscript: this.removeMovieClip&#40;&#41;; Ahora con as3 tendríamos que utilizar: PLAIN TEXT Actionscript: this.parent.removeChild&#40;this&#41; Espero que os sea de utilidad.]]></description>
			<content:encoded><![CDATA[<p>Antes con <a href="http://www.hontai.es/tag/as2/">as2</a> para borrar un movieclip valía con escribir:</p>
<div class="igBar"><span id="lactionscript-19"><a href="#" onclick="javascript:showPlainTxt('actionscript-19'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-19">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">removeMovieClip</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Ahora con <a href="http://www.hontai.es/tag/as3/">as3</a> tendríamos que utilizar:</p>
<div class="igBar"><span id="lactionscript-20"><a href="#" onclick="javascript:showPlainTxt('actionscript-20'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-20">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">parent</span>.<span style="color: #006600;">removeChild</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span><span style="color: #66cc66;">&#41;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Espero que os sea de utilidad.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/07/movieclip-eliminarse-a-si-mismo-en-as3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Editor de codigo actionscript</title>
		<link>http://www.hontai.es/2009/06/editor-de-codigo-actionscript/</link>
		<comments>http://www.hontai.es/2009/06/editor-de-codigo-actionscript/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 17:19:12 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=200</guid>
		<description><![CDATA[Me acabo de encontrar con la siguiente página en la que si introduces un código en ActionScript  te lo prepara para poder postearlo, poniéndote el código coloreado, la verdad es que resulta bastante útil a la hora de crear un nuevo artículo siempre y cuando no tengas algún plugin para wordpress que ya te lo [...]]]></description>
			<content:encoded><![CDATA[<p>Me acabo de encontrar con la <a href="http://www.shockwave-india.com/blog/services/as-highlight2/index.php">siguiente página</a> en la que si introduces un código en ActionScript  te lo prepara para poder postearlo, poniéndote el código coloreado, la verdad es que resulta bastante útil a la hora de crear un nuevo artículo siempre y cuando no tengas algún plugin para wordpress que ya te lo hace automáticamente. Yo en mi caso tengo el <a href="http://www.cristalab.com/tips/instalacion-de-plugin-igsyntax-hiliter-para-wordpress-c26765l/">iG:Syntax Hiliter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/06/editor-de-codigo-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loop para FLVPlayback en AS2</title>
		<link>http://www.hontai.es/2009/06/loop-para-flvplayback-en-as2/</link>
		<comments>http://www.hontai.es/2009/06/loop-para-flvplayback-en-as2/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 16:30:36 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[FLVPlayback]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=173</guid>
		<description><![CDATA[Una de las cosas que me parece que le falta al FLVPlayback es la de hacer loop, para solucionar esto simplemente tenemos que poner el siguiente código en el propio objeto: PLAIN TEXT Actionscript: on &#40;complete&#41; &#123;this.play&#40;&#41;;&#125; Es un código muy simple que espero os sea de utilidad.]]></description>
			<content:encoded><![CDATA[<p>Una de las cosas que me parece que le falta al <a href="http://www.hontai.es/tag/FLVPlayback/">FLVPlayback</a> es la de hacer loop, para solucionar esto simplemente tenemos que poner el siguiente código en el propio objeto:</p>
<div class="igBar"><span id="lactionscript-22"><a href="#" onclick="javascript:showPlainTxt('actionscript-22'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-22">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>complete<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">play</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Es un código muy simple que espero os sea de utilidad.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/06/loop-para-flvplayback-en-as2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>swapDepths en ActionScript 3</title>
		<link>http://www.hontai.es/2009/05/142/</link>
		<comments>http://www.hontai.es/2009/05/142/#comments</comments>
		<pubDate>Thu, 28 May 2009 09:50:17 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=142</guid>
		<description><![CDATA[Pues eso que como se haría ahora con ActionScript 3 el antiguo swapDepths: PLAIN TEXT Actionscript: parent.setChildIndex&#40;this, parent.numChildren-1&#41;; Espero que os sirva de ayuda.]]></description>
			<content:encoded><![CDATA[<p>Pues eso que como se haría ahora con <a href="http://www.hontai.es/tag/as3/">ActionScript 3</a> el antiguo swapDepths:</p>
<div class="igBar"><span id="lactionscript-24"><a href="#" onclick="javascript:showPlainTxt('actionscript-24'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-24">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">parent.<span style="color: #006600;">setChildIndex</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, parent.<span style="color: #006600;">numChildren</span>-<span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Espero que os sirva de ayuda.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/05/142/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>autoSize en AS3</title>
		<link>http://www.hontai.es/2009/03/autosize-en-as3/</link>
		<comments>http://www.hontai.es/2009/03/autosize-en-as3/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 16:18:00 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=133</guid>
		<description><![CDATA[Con el cambio de as2 (actionscript 2) a as3 son muchos los comandos que han cambiado. Uno de los comandos que eran bastante simples y que ahora ha cambiado es el autoSize  en los campos de texto. Antes simplemente con poner: PLAIN TEXT Actionscript: campodetexto. autoSize = true; Ya nos funcionaba perfectamente, pero ahora lo [...]]]></description>
			<content:encoded><![CDATA[<p>Con el cambio de as2 (actionscript 2) a as3 son muchos los comandos que han cambiado. Uno de los comandos que eran bastante simples y que ahora ha cambiado es el autoSize  en los campos de texto. Antes simplemente con poner:</p>
<div class="igBar"><span id="lactionscript-27"><a href="#" onclick="javascript:showPlainTxt('actionscript-27'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-27">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">campodetexto. <span style="color: #0066CC;">autoSize</span> = <span style="color: #000000; font-weight: bold;">true</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:HyphenationZone>21</w:HyphenationZone> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--> <!--[if gte mso 10]><br />
<mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Tabla normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --></p>
<p><!--[endif]--></p>
<p class="MsoNormal">Ya nos funcionaba perfectamente, pero ahora lo correcto sería:</p>
<p class="MsoNormal">
<div class="igBar"><span id="lactionscript-28"><a href="#" onclick="javascript:showPlainTxt('actionscript-28'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-28">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">campodetexto. <span style="color: #0066CC;">autoSize</span> = TextFieldAutoSize.<span style="color: #0066CC;">LEFT</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p class="MsoNormal">La verdad es que nos lo complican cada vez más, pero bueno todo será acostumbrarse.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/03/autosize-en-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

