<?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; Flash</title>
	<atom:link href="http://www.hontai.es/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hontai.es</link>
	<description>Hontai? no sería mejor hentai(manga guarro)?</description>
	<lastBuildDate>Sun, 09 May 2010 19:34:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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 puede comprobar es muy [...]]]></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-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;"><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-5"><a href="#" onclick="javascript:showPlainTxt('actionscript-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-5">
<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-6"><a href="#" onclick="javascript:showPlainTxt('actionscript-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-6">
<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>Loop para FLVPlayback en AS3</title>
		<link>http://www.hontai.es/2009/06/loop-para-flvplayback-en-as3/</link>
		<comments>http://www.hontai.es/2009/06/loop-para-flvplayback-en-as3/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 21:41:12 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[FLVPlayback]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=215</guid>
		<description><![CDATA[Hace unos días puse un artículo en el que explicaba una forma muy sencilla de hacer un loop en AS2 en el FLVPlayback. Hoy traigo lo mismo pero para AS3, es algo mas complejo, pero no deja de ser bastante sencillo.
PLAIN TEXT
Actionscript:




import fl.video.VideoEvent;


&#160;


my_FLVPlayback.autoRewind=true;


&#160;


function again&#40;event:VideoEvent&#41;:void &#123;


my_FLVPlayback.play&#40;&#41;;


&#125;


my_FLVPlayback.addEventListener&#40;VideoEvent.COMPLETE, again&#41;; 






Espero que os sea de utilidad. Un saludo
]]></description>
			<content:encoded><![CDATA[<p>Hace unos días puse un artículo en el que explicaba una forma muy sencilla de hacer un <a href="http://www.hontai.es/2009/06/loop-para-flvplayback-en-as2/">loop en AS2</a> en el FLVPlayback. Hoy traigo lo mismo pero para <a href="http://www.hontai.es/tag/as3/">AS3</a>, es algo mas complejo, pero no deja de ser bastante sencillo.</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;"><span style="color: #0066CC;">import</span> fl.<span style="color: #0066CC;">video</span>.<span style="color: #006600;">VideoEvent</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;">my_FLVPlayback.<span style="color: #006600;">autoRewind</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;">&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> again<span style="color: #66cc66;">&#40;</span>event:VideoEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</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;">my_FLVPlayback.<span style="color: #0066CC;">play</span><span style="color: #66cc66;">&#40;</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>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">my_FLVPlayback.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>VideoEvent.<span style="color: #006600;">COMPLETE</span>, again<span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Espero que os sea de utilidad. Un saludo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/06/loop-para-flvplayback-en-as3/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-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>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>4</slash:comments>
		</item>
		<item>
		<title>Comprobar E-mail con expresiones regulares</title>
		<link>http://www.hontai.es/2009/06/comprobar-e-mail-con-expresiones-regulares/</link>
		<comments>http://www.hontai.es/2009/06/comprobar-e-mail-con-expresiones-regulares/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 11:22:12 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[expresiones regulares]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=153</guid>
		<description><![CDATA[Una manera rapida y sencilla de comprobar si lo que realmente estan introduciendo en un formulario es un e-mail, es usando una expresión regular. Por ello os dejo esta que me he encontrado por los foros.
Espero que os sea de ayuda.
PLAIN TEXT
Actionscript:




var emailEx:RegExp = /^&#91;a-z&#93;&#91;\w.-&#93;+@\w&#91;\w.-&#93;+\.&#91;\w.-&#93;*&#91;a-z&#93;&#91;a-z&#93;$/i;


&#160;


if &#40;emailEx.test&#40;email.text&#41;&#41;&#123;


trace &#40;"Esta bien"&#41;;


&#125; 






]]></description>
			<content:encoded><![CDATA[<p>Una manera rapida y sencilla de comprobar si lo que realmente estan introduciendo en un formulario es un e-mail, es usando una <a href="http://es.wikipedia.org/wiki/Expresi%C3%B3n_regular">expresión regular</a>. Por ello os dejo esta que me he encontrado por los foros.</p>
<p>Espero que os sea de ayuda.</p>
<div class="igBar"><span id="lactionscript-12"><a href="#" onclick="javascript:showPlainTxt('actionscript-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-12">
<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> emailEx:RegExp = /^<span style="color: #66cc66;">&#91;</span>a-z<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span>\w.-<span style="color: #66cc66;">&#93;</span>+@\w<span style="color: #66cc66;">&#91;</span>\w.-<span style="color: #66cc66;">&#93;</span>+\.<span style="color: #66cc66;">&#91;</span>\w.-<span style="color: #66cc66;">&#93;</span>*<span style="color: #66cc66;">&#91;</span>a-z<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span>a-z<span style="color: #66cc66;">&#93;</span>$/i;</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: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>emailEx.<span style="color: #006600;">test</span><span style="color: #66cc66;">&#40;</span>email.<span style="color: #0066CC;">text</span><span style="color: #66cc66;">&#41;</span><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;">trace</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Esta bien"</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/06/comprobar-e-mail-con-expresiones-regulares/feed/</wfw:commentRss>
		<slash:comments>0</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-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;">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 correcto sería:

PLAIN [...]]]></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-17"><a href="#" onclick="javascript:showPlainTxt('actionscript-17'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-17">
<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-18"><a href="#" onclick="javascript:showPlainTxt('actionscript-18'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-18">
<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>
		<item>
		<title>Trace en FlashDeveloper</title>
		<link>http://www.hontai.es/2009/02/trace-en-flashdeveloper/</link>
		<comments>http://www.hontai.es/2009/02/trace-en-flashdeveloper/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 14:11:20 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[FlashDeveloper]]></category>
		<category><![CDATA[Papervision]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=44</guid>
		<description><![CDATA[Hace pocos días que empecé a iniciarme en esto de Papervision, y uno de los programas que he empezado a utilizar es el FlashDeveloper. La verdad es que el programa es muy bueno y permite trabajar muy bien con actionscript 3 y papervision, pero una carencia que le encontraba era que no te permite hacer [...]]]></description>
			<content:encoded><![CDATA[<p>Hace pocos días que empecé a iniciarme en esto de <a href="http://www.hontai.es/?tag=papervision">Papervision</a>, y uno de los programas que he empezado a utilizar es el FlashDeveloper. La verdad es que el programa es muy bueno y permite trabajar muy bien con actionscript 3 y <a href="http://www.hontai.es/?tag=papervision">papervision</a>, pero una carencia que le encontraba era que no te permite hacer traces como en <a href="http://www.hontai.es/?tag=flash">Flash</a>. Hoy buscando un poco he encontrado este comando que es igual al trace de <a href="http://www.hontai.es/?tag=flash">Flash</a>.</p>
<p>Primeramente deberemos importarlo con lo siguiente:</p>
<div class="igBar"><span id="lactionscript-21"><a href="#" onclick="javascript:showPlainTxt('actionscript-21'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-21">
<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;">import</span> org.<span style="color: #006600;">flashdevelop</span>.<span style="color: #006600;">utils</span>.<span style="color: #006600;">FlashConnect</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Y a continuación para hacer un trace deberemos escribir:</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;">FlashConnect.<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Esto es un trace!!!"</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Espero que si alguien lee esto le sea de utilidad.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/02/trace-en-flashdeveloper/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
