<?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/tag/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>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-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;">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.
PLAIN TEXT
Actionscript:




Stage.scaleMode [...]]]></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-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: #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-13"><a href="#" onclick="javascript:showPlainTxt('actionscript-13'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-13">
<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-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;">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>Descargar PDF en AS3</title>
		<link>http://www.hontai.es/2009/06/descargar-pdf-en-as3/</link>
		<comments>http://www.hontai.es/2009/06/descargar-pdf-en-as3/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 11:10:37 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=178</guid>
		<description><![CDATA[Uno de los problemas que me he encontrado esta semana es la de descargarme un PDF. Normalmente cuando ponemos un link a un PDF el navegador lo que nos hace es abrirlo. Para poder solucionar esto se utilizaría un código similar al siguiente:
PLAIN TEXT
Actionscript:




package &#123;


import flash.display.Sprite;


import flash.events.*;


import flash.net.FileReference;


import flash.net.URLRequest;


import flash.net.FileFilter;


&#160;


public class FileReference_download extends Sprite &#123;


private [...]]]></description>
			<content:encoded><![CDATA[<p>Uno de los problemas que me he encontrado esta semana es la de descargarme un PDF. Normalmente cuando ponemos un link a un PDF el navegador lo que nos hace es abrirlo. Para poder solucionar esto se utilizaría un código similar al siguiente:</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;">package <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;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite</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;">import</span> flash.<span style="color: #006600;">events</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;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">FileReference</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;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">URLRequest</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;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">FileFilter</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: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> FileReference_download <span style="color: #0066CC;">extends</span> Sprite <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;">private</span> <span style="color: #000000; font-weight: bold;">var</span> downloadURL:URLRequest;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> fileName:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">"SomeFile.pdf"</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;">private</span> <span style="color: #000000; font-weight: bold;">var</span> file:FileReference;</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;">public</span> <span style="color: #000000; font-weight: bold;">function</span> FileReference_download<span style="color: #66cc66;">&#40;</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;">downloadURL = <span style="color: #000000; font-weight: bold;">new</span> URLRequest<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;">downloadURL.<span style="color: #0066CC;">url</span> = <span style="color: #ff0000;">"http://www.[yourDomain].com/SomeFile.pdf"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">file = <span style="color: #000000; font-weight: bold;">new</span> FileReference<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;">configureListeners<span style="color: #66cc66;">&#40;</span>file<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;">file.<span style="color: #006600;">download</span><span style="color: #66cc66;">&#40;</span>downloadURL, fileName<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;"><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>Este es un codigo que si buscais en la ayuda de flash por FileReference os aparecerá algo mas completo, aqui simplemente lo he reducido al mínimo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/06/descargar-pdf-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-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;"><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>Videotutoriales de Flex</title>
		<link>http://www.hontai.es/2009/06/videotutoriales-de-flex/</link>
		<comments>http://www.hontai.es/2009/06/videotutoriales-de-flex/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 16:01:05 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[videotutorial]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=164</guid>
		<description><![CDATA[Viendo uno de los muchos grupos en los que estoy suscrito en Google Groups me acabo de encontrar con este link bastante interesante a unos videotutoriales. Por lo que cuenta su autor son del primer capitulo del manual de certificación de Flex 3.
Para los que están empezando os recomiendo que le echéis un ojo.
Un saludo

]]></description>
			<content:encoded><![CDATA[<p>Viendo uno de los muchos grupos en los que estoy suscrito en Google Groups me acabo de encontrar con <a href="http://carastmx.blogspot.com/2009/04/nuevos-capitulos-de-flex3.html">este link</a> bastante interesante a unos <a href="http://www.hontai.es/tag/videotutorial/">videotutoriales</a>. Por lo que cuenta su autor son del primer capitulo del manual de certificación de Flex 3.</p>
<p>Para los que están empezando os recomiendo que le echéis un ojo.</p>
<p>Un saludo</p>
<p><a href="http://carastmx.blogspot.com/2009/04/nuevos-capitulos-de-flex3.html"><img class="aligncenter" title="Flex" src="http://img196.imageshack.us/img196/5669/blogoyj.jpg" alt="" width="478" height="358" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/06/videotutoriales-de-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Betas de Flash Builder, Catalyst y Flex 4</title>
		<link>http://www.hontai.es/2009/06/betas-de-flash-builder-catalyst-y-flex-4/</link>
		<comments>http://www.hontai.es/2009/06/betas-de-flash-builder-catalyst-y-flex-4/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 11:42:40 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=161</guid>
		<description><![CDATA[Pues aquí dejo unos links para poder descargar las versiones beta de estos programas, espero que las disfruteis:
Adobe Flash Builder
Adobe Flash Catalyst
Flex 4 Framework
]]></description>
			<content:encoded><![CDATA[<p>Pues aquí dejo unos links para poder descargar las versiones beta de estos programas, espero que las disfruteis:</p>
<p><a href="http://labs.adobe.com/technologies/flashbuilder4/">Adobe Flash Builder</a></p>
<p><a href="http://labs.adobe.com/technologies/flashcatalyst/">Adobe Flash Catalyst</a></p>
<p><a href="http://labs.adobe.com/technologies/flex4sdk/">Flex 4 Framework</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/06/betas-de-flash-builder-catalyst-y-flex-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aprender Flex en una semana</title>
		<link>http://www.hontai.es/2009/06/aprender-flex-en-una-semana/</link>
		<comments>http://www.hontai.es/2009/06/aprender-flex-en-una-semana/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 08:09:33 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=158</guid>
		<description><![CDATA[Puede que tardemos algo mas, pero buscando información sobre Flex me encontré con el siguiente link de adobe en el que tienen una serie de videotutoriales divididos en 5 días.
No los he podido ver mucho, pero tienen buena pinta, a parte de que también vienen con una serie de ejercicios para poder poner en práctica [...]]]></description>
			<content:encoded><![CDATA[<p>Puede que tardemos algo mas, pero buscando información sobre <a href="http://www.hontai.es/tag/flex/">Flex</a> me encontré con <a href="http://www.adobe.com/devnet/flex/videotraining/">el siguiente link de adobe</a> en el que tienen una serie de videotutoriales divididos en 5 días.</p>
<p>No los he podido ver mucho, pero tienen buena pinta, a parte de que también vienen con una serie de ejercicios para poder poner en práctica los conocimientos adquiridos.</p>
<p><a href="http://www.adobe.com/devnet/flex/videotraining/"><img class="aligncenter" title="Flex" src="http://img99.imageshack.us/img99/8403/flexf.png" alt="" width="250" height="250" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/06/aprender-flex-en-una-semana/feed/</wfw:commentRss>
		<slash:comments>0</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-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: #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>
	</channel>
</rss>
