<?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"
	>

<channel>
	<title>LeoBaraldi - Ejemplos Flash, Ejemplos actionscript, Tutoriales Flash, Tutoriales actionscript, Archivos fla, curso flash, flash8</title>
	<atom:link href="http://www.leobaraldi.com.ar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leobaraldi.com.ar</link>
	<description>Ejemplos Flash, Ejemplos actionscript, Tutoriales Flash, Tutoriales actionscript, Archivos fla, curso flash, flash8</description>
	<pubDate>Sat, 04 Oct 2008 04:18:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>¿Que es un Gravatar?</title>
		<link>http://www.leobaraldi.com.ar/2008/10/04/%c2%bfque-es-un-gravatar/</link>
		<comments>http://www.leobaraldi.com.ar/2008/10/04/%c2%bfque-es-un-gravatar/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 04:05:11 +0000</pubDate>
		<dc:creator>LeoBaraldi</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.leobaraldi.com.ar/?p=552</guid>
		<description><![CDATA[
Un Gravatar es una imagen vinculada a tu dirección de correo, y este sirve para cuando publicamos un comentario en un blog tu comentario se le adjunte una imagen representativa de vos. Digamos que es como parte de tu firma digital y puede ser utilizado en blog o cualquier sitio que soporte Gravatar!.
Para poder utilizar [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/10/gravatar2.jpg" alt="" title="gravatar" width="500" height="144" class="foto" /></br><br />
Un Gravatar es una imagen vinculada a tu dirección de correo, y este sirve para cuando publicamos un comentario en un blog tu comentario se le adjunte una imagen representativa de vos. Digamos que es como parte de tu firma digital y puede ser utilizado en blog o cualquier sitio que soporte Gravatar!.<br />
Para poder utilizar este servicio es muy fácil, entra a la página de <a href="http://en.gravatar.com/" target="_blank">Gravatar</a>, regístrate y sube una imagen y listo!</p>
<p>Si lo que quieres es implementar el servicio de Gravatar a tu blog de WordPress simplemente inserta esta linea dentro del foreach de comments.php</p>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-3">
<div class="php">
<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;">&lt;?</span> <span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.php.net/function_exists"><span style="color:#000066;">function_exists</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'get_avatar'</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span> <a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> get_avatar<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$comment</span>, <span style="color:#FF0000;">'50'</span><span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>O también si tienes un sitio que no es un blog pero si tiene algún modulo de comentarios y es en PHP puedes utilizar el servicio de la siguiente manera:</p>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-4">
<div class="php">
<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;">&lt;?</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$email</span> = <span style="color:#0000FF;">$comment</span>-&gt;<span style="color:#006600;">comment_author_email</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:#0000FF;">$default</span> = <span style="color:#FF0000;">""</span>; <span style="color:#FF9933; font-style:italic;">// link to your default avatar</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$size</span> = <span style="color:#CC66CC;color:#800000;">62</span>; <span style="color:#FF9933; font-style:italic;">// size in pixels squared</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:#0000FF;">$grav_url</span> = <span style="color:#FF0000;">"http://www.gravatar.com/avatar.php?gravatar_id=</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF0000;">"</span> . <a href="http://www.php.net/md5"><span style="color:#000066;">md5</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$email</span><span style="color:#006600; font-weight:bold;">&#41;</span> . <span style="color:#FF0000;">"&amp;default="</span> . <a href="http://www.php.net/urlencode"><span style="color:#000066;">urlencode</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$default</span><span style="color:#006600; font-weight:bold;">&#41;</span> . <span style="color:#FF0000;">"&amp;size="</span> . <span style="color:#0000FF;">$size</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:#000000; font-weight:bold;">?&gt;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;img src=<span style="color:#FF0000;">"&lt;?=$grav_url ?&gt;"</span> height=<span style="color:#FF0000;">"&lt;?=$size ?&gt;"</span> width=<span style="color:#FF0000;">"&lt;?=$size ?&gt;"</span> alt=<span style="color:#FF0000;">"User Gravatar"</span> /&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leobaraldi.com.ar/2008/10/04/%c2%bfque-es-un-gravatar/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Personalizar la selección de texto en un xhtml</title>
		<link>http://www.leobaraldi.com.ar/2008/10/03/personalizar-la-seleccion-de-texto-en-un-xhtml/</link>
		<comments>http://www.leobaraldi.com.ar/2008/10/03/personalizar-la-seleccion-de-texto-en-un-xhtml/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 03:05:52 +0000</pubDate>
		<dc:creator>LeoBaraldi</dc:creator>
		
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://www.leobaraldi.com.ar/?p=543</guid>
		<description><![CDATA[
Experimentando con CSS 3 me encontre con esta propiedad "selection" que lo que hace es aplicar una personalizacion sobre los textos que pintamos cuando los seleccionamos. Interezante para poder explotar mejor nuestra creatividad, pero lamentablemente solo lo soporta firefox y safari!  pero bueno muy pronto calculo y espero que todos podamos trabajar en css3 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="foto" title="personalizar la seleccion de un texto" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/10/selec.jpg" alt="" width="510" height="144" /><br />
</br>Experimentando con CSS 3 me encontre con esta propiedad "selection" que lo que hace es aplicar una personalizacion sobre los textos que pintamos cuando los seleccionamos. Interezante para poder explotar mejor nuestra creatividad, pero lamentablemente solo lo soporta firefox y safari! <img src='http://www.leobaraldi.com.ar/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> pero bueno muy pronto calculo y espero que todos podamos trabajar en css3 como un estándar!</p>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-7">
<div class="html">
<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: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"pintar"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean eu mauris. Donec in arcu et dui ullamcorper viverra. Mauris volutpat massa id augue. Morbi quis lectus non tortor sodales vulputate. Morbi accumsan justo vel sapien. Donec eget turpis. Vestibulum ullamcorper, nunc vel sodales cursus, justo elit laoreet purus, at facilisis risus sem et mi. Nunc nibh mauris, gravida porttitor, volutpat vel, viverra eu, mauris. Nunc libero magna, pretium non, fermentum sit amet, molestie at, turpis. Aenean feugiat. Maecenas neque. Aliquam erat volutpat. Duis quis nisi. Aliquam id lacus at leo facilisis posuere. Phasellus molestie. Fusce ligula libero, egestas vitae, imperdiet eu, porta vel, lectus. Nullam vitae massa nec justo blandit vestibulum. Nullam faucibus tellus eu turpis.<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-8">
<div class="css">
<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: #a1a100;">@charset &quot;utf-8&quot;;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">/* CSS Document */</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: #808080; font-style: italic;">/*para safari*/</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">p.pintar:<span style="color: #3333ff;">:selection </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: #000000; font-weight: bold;">background</span>:#99CC00;</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: #808080; font-style: italic;">/*para firefox*/</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">p.pintar:<span style="color: #3333ff;">:-moz-selection </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: #000000; font-weight: bold;">background</span>:#99CC00;</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>
</ol>
</div>
</div>
</div>
<p></p>
<div class="linkex"><a class="ejemplo" href="http://leobaraldi.com.ar/ejemplos/seleccion.html" target="_blank">ver ejemplo</a><a class="descargar" href="http://leobaraldi.com.ar/ejemplos/seleccion.rar">descargar archivos</a></div>
<p><strong>Vean el ejemplo con firefox</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leobaraldi.com.ar/2008/10/03/personalizar-la-seleccion-de-texto-en-un-xhtml/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Formulario de contacto flash AS3, funciona para cuentas Gmail y Hotmail inclusive</title>
		<link>http://www.leobaraldi.com.ar/2008/09/13/formulario-de-contacto-flash-as3-funciona-para-cuentas-gmail-y-hotmail-inclusive/</link>
		<comments>http://www.leobaraldi.com.ar/2008/09/13/formulario-de-contacto-flash-as3-funciona-para-cuentas-gmail-y-hotmail-inclusive/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 15:38:59 +0000</pubDate>
		<dc:creator>LeoBaraldi</dc:creator>
		
		<category><![CDATA[ActionScript 3.0]]></category>

		<guid isPermaLink="false">http://www.leobaraldi.com.ar/?p=537</guid>
		<description><![CDATA[Hace ya un tiempo había preparado un formulario de contacto en AS2 y funciona muy bien pero tiene ciertas carencias como por ejemplo la verificación de email ya que se hace atreves de un prototipo y no es muy efectiva que digamos. Pero la más importante de todas es que no funcionaba para cuentas de [...]]]></description>
			<content:encoded><![CDATA[<p>Hace ya un tiempo había preparado un formulario de contacto en AS2 y funciona muy bien pero tiene ciertas carencias como por ejemplo la verificación de email ya que se hace atreves de un prototipo y no es muy efectiva que digamos. Pero la más importante de todas es que no funcionaba para cuentas de email sin dominios, como por ejemplo Hotmail o Gmail.</p>
<p>En esta nueva versión de formulario de contacto está totalmente realizadas en ActionScript 3 y como novedad entre las tantas van a poder ver cómo utilizar expresiones regulares, en este caso particular se utilizo un patrón para verificar el correo electrónico sea válido.</p>
<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: #808080; font-style: italic;">//el php encargado de enviar los datos</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">const FILE:<span style="color: #0066CC;">String</span>&nbsp; = <span style="color: #ff0000;">"formmail.php"</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: #808080; font-style: italic;">//aca puden indicar el dominio de su sitio si quieren probarlo desde el player de flash</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> dominio:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">""</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: #808080; font-style: italic;">//como voy a recibir los datos que me devuelva el php&gt; como variables</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> dataFormat:<span style="color: #0066CC;">String</span> = URLLoaderDataFormat.<span style="color: #006600;">VARIABLES</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: #808080; font-style: italic;">//patron o expresion regular para verificar un email</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> patronEmail:RegExp = /<span style="color: #66cc66;">&#40;</span>^<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span>-9a-zA-Z<span style="color: #66cc66;">&#93;</span>+<span style="color: #66cc66;">&#40;</span>?:<span style="color: #66cc66;">&#91;</span>._<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span>-9a-zA-Z<span style="color: #66cc66;">&#93;</span>+<span style="color: #66cc66;">&#41;</span>*<span style="color: #66cc66;">&#41;</span>@<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span>-9a-zA-Z<span style="color: #66cc66;">&#93;</span>+<span style="color: #66cc66;">&#40;</span>?:<span style="color: #66cc66;">&#91;</span>._-<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span>-9a-zA-Z<span style="color: #66cc66;">&#93;</span>+<span style="color: #66cc66;">&#41;</span>*\.<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span>-9a-zA-Z<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#123;</span><span style="color: #cc66cc;color:#800000;">2</span>,<span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#125;</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: #808080; font-style: italic;">//nuevo objeto para las variables</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> Variables:URLVariables = <span style="color: #000000; font-weight: bold;">new</span> URLVariables<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: #808080; font-style: italic;">//destinatario o casilla de destino, puede ser gmail, dominio propio y HOTMAIL!!!!</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Variables.<span style="color: #006600;">recipient</span> = <span style="color: #ff0000;">"info@tudominio.com"</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: #808080; font-style: italic;">//Titulo del mensaje</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Variables.<span style="color: #006600;">subject</span> = <span style="color: #ff0000;">"Formulario desde la web"</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: #808080; font-style: italic;">//necesario para manejo de variables</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> urlRequ:URLRequest = <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span>dominio+FILE<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;">urlRequ.<span style="color: #006600;">method</span> = URLRequestMethod.<span style="color: #006600;">POST</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">urlRequ.<span style="color: #0066CC;">data</span> = Variables;</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: #808080; font-style: italic;">//objeto que trae se encarga de enviar y recibir los datos al php</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> urlLoad:URLLoader = <span style="color: #000000; font-weight: bold;">new</span> URLLoader<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: #808080; font-style: italic;">//aqui formateo los resultados recibidos del php en modo variables</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">urlLoad.<span style="color: #006600;">dataFormat</span> = dataFormat;</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: #808080; font-style: italic;">//accion del boton enviar</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">enviar_btn.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>,enviarForm<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: #808080; font-style: italic;">//funcion encargada de enviar los datos al php</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">function</span> enviarForm<span style="color: #66cc66;">&#40;</span>obj:Event<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;">&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>patronEmail.<span style="color: #006600;">test</span><span style="color: #66cc66;">&#40;</span>email_txt.<span style="color: #0066CC;">text</span><span style="color: #66cc66;">&#41;</span>==<span style="color: #000000; font-weight: bold;">true</span> &amp;&amp; nombre_txt.<span style="color: #0066CC;">text</span> !=<span style="color: #ff0000;">""</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;">&nbsp; &nbsp; &nbsp; &nbsp; resultado_txt.<span style="color: #0066CC;">text</span> =<span style="color: #ff0000;">""</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; &nbsp; &nbsp; &nbsp; Variables.<span style="color: #006600;">Cosulta</span> = consulta_txt.<span style="color: #0066CC;">text</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; Variables.<span style="color: #006600;">email</span> = email_txt.<span style="color: #0066CC;">text</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; &nbsp; &nbsp; &nbsp; Variables.<span style="color: #006600;">Nombre</span> = nombre_txt.<span style="color: #0066CC;">text</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; urlLoad.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span>urlRequ<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; &nbsp; <span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</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; &nbsp; &nbsp; &nbsp; resultado_txt.<span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">"Complete los campos!"</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; &nbsp; <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: #808080; font-style: italic;">//escuchadores de que paso con los datos del lado del servidor</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">urlLoad.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, envioCompleto<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;">urlLoad.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>IOErrorEvent.<span style="color: #006600;">IO_ERROR</span>, errorEnvio<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: #808080; font-style: italic;">//si el envio fue correcto</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: #000000; font-weight: bold;">function</span> envioCompleto<span style="color: #66cc66;">&#40;</span>obj:Event<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; &nbsp; <span style="color: #808080; font-style: italic;">//si el php me dio el ok de que fue enviado</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; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>urlLoad.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">resultado</span>==<span style="color: #ff0000;">"ok"</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;">&nbsp; &nbsp; &nbsp; &nbsp; resultado_txt.<span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">"Mensaje enviado"</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; &nbsp; &nbsp; &nbsp; consulta_txt.<span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">""</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; email_txt.<span style="color: #0066CC;">text</span> =<span style="color: #ff0000;">""</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; &nbsp; &nbsp; &nbsp; nombre_txt.<span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">""</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <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;">&nbsp; &nbsp; &nbsp; &nbsp; resultado_txt.<span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">"Error al enviar"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <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>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">//si hay problemas con el php</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: #000000; font-weight: bold;">function</span> errorEnvio<span style="color: #66cc66;">&#40;</span>obj:Event<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; &nbsp; resultado_txt.<span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">"Error en el servidor!"</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: #808080; font-style: italic;">//evento para el campo de texto cuando dejan de hacer foco</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;">email_txt.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>FocusEvent.<span style="color: #006600;">FOCUS_OUT</span>,verificar<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: #808080; font-style: italic;">//verifico si el email es correcto!</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: #000000; font-weight: bold;">function</span> verificar<span style="color: #66cc66;">&#40;</span>obj:Event<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; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>patronEmail.<span style="color: #006600;">test</span><span style="color: #66cc66;">&#40;</span>email_txt.<span style="color: #0066CC;">text</span><span style="color: #66cc66;">&#41;</span>==<span style="color: #000000; font-weight: bold;">false</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;">&nbsp; &nbsp; &nbsp; &nbsp; email_txt.<span style="color: #0066CC;">text</span> =<span style="color: #ff0000;">"*Email incorrecto"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">stage</span>.<span style="color: #006600;">focus</span> = email_txt;</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; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> letras:<span style="color: #0066CC;">int</span> = email_txt.<span style="color: #006600;">selectionEndIndex</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; email_txt.<span style="color: #0066CC;">setSelection</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>,<span style="color: #cc66cc;color:#800000;">17</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; &nbsp; <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>
</ol>
</div>
</div>
</div>
<p></p>
<div class="linkex"><a class="descargar" href="http://www.leobaraldi.com.ar/ejemplos/formmailflashv2.rar">descargar archivos</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.leobaraldi.com.ar/2008/09/13/formulario-de-contacto-flash-as3-funciona-para-cuentas-gmail-y-hotmail-inclusive/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fuentes de sistema para la web</title>
		<link>http://www.leobaraldi.com.ar/2008/08/24/fuentes-de-sistema-para-la-web/</link>
		<comments>http://www.leobaraldi.com.ar/2008/08/24/fuentes-de-sistema-para-la-web/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 06:53:16 +0000</pubDate>
		<dc:creator>LeoBaraldi</dc:creator>
		
		<category><![CDATA[Diseño Web]]></category>

		<guid isPermaLink="false">http://www.leobaraldi.com.ar/?p=505</guid>
		<description><![CDATA[Cuando comenzamos un diseño para la web uno de los primeros errores que cometemos es el usar fuentes o tipografías que están fuera de los estándares normales. Me quiero referir para aquellos desarrollos que usan html, xhtml, php etc., caso contrario cuando se utiliza flash ya que este incorpora de cierta manera las fuentes utilizadas [...]]]></description>
			<content:encoded><![CDATA[<p>Cuando comenzamos un diseño para la web uno de los primeros errores que cometemos es el usar fuentes o tipografías que están fuera de los estándares normales. Me quiero referir para aquellos desarrollos que usan html, xhtml, php etc., caso contrario cuando se utiliza flash ya que este incorpora de cierta manera las fuentes utilizadas en el SWF para que el usuario final pueda verla de igual manera que el desarrollador el planteo como así también el uso de imágenes.</p>
<p>Cuando diseñamos entre  las cosas a definir antes de comenzar como colores, diagramación, elementos también debemos considerar las fuentes, familias y cuerpos. Esta pre selección de elementos nos dará un control más amplio en el ámbito de los resultados que esperamos para nuestra web. Las fuentes de sistemas son aquellas familias tipográficas que están disponibles en todos los sistemas operativos. Algunas de estas tipografías están en mayor porcentaje en diferentes plataformas pero hay ciertas familias que llegan hasta un 98% de presencia en todos los sistemas operativos. El uso de estas fuentes nos asegurar que nuestro diseño se muestre igual en todas las plataformas y evitaremos que el navegador las tenga que reemplazar por otras y que el diseño se rompa o no se vea de la manera adecuada que queríamos.</p>
<p>A continuación les dejo un listado de familias tipográficas y ejemplo de cómo se ven para que puedan utilizarlas en sus diseños. Cabe aclarar que hay varios métodos para incorporar fuentes que no están disponibles en todos los OS, para ello veremos otro tuto con respecto como utilizarlas.<br />
Si quieren probar todas estas fuentes y simular como se ven visiten este site! <a href="http://www.fonttester.com/" target="_blank">http://www.fonttester.com/</a></p>
<p><img class="foto" title="verdana" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/verdana.jpg" alt="" width="530" height="177" /><img class="foto" title="trebuchet" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/trebuchet.jpg" alt="" width="530" height="177" /><img class="foto" title="times" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/times.jpg" alt="" width="530" height="177" /><img class="foto" title="tahoma1" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/tahoma1.jpg" alt="" width="530" height="177" /><img class="foto" title="palatino" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/palatino.jpg" alt="" width="530" height="177" /><img class="foto" title="impact" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/impact.jpg" alt="" width="530" height="177" /><img class="foto" title="helvetica" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/helvetica.jpg" alt="" width="530" height="177" /><img class="foto" title="georgia" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/georgia.jpg" alt="" width="530" height="177" /><img class="foto" title="garamond" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/garamond.jpg" alt="" width="530" height="177" /><img class="foto" title="courier" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/courier.jpg" alt="" width="530" height="177" /><img class="foto" title="century" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/century.jpg" alt="" width="530" height="177" /><img class="foto" title="arialnarrow" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/arialnarrow.jpg" alt="" width="530" height="177" /><img class="foto" title="arialblack" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/arialblack.jpg" alt="" width="530" height="177" /><img class="foto" title="arial" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/arial.jpg" alt="" width="530" height="177" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leobaraldi.com.ar/2008/08/24/fuentes-de-sistema-para-la-web/feed/</wfw:commentRss>
		</item>
		<item>
		<title>148 Iconos editables para Illustrator</title>
		<link>http://www.leobaraldi.com.ar/2008/08/17/148-iconos-editables-para-illustrator/</link>
		<comments>http://www.leobaraldi.com.ar/2008/08/17/148-iconos-editables-para-illustrator/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 03:01:43 +0000</pubDate>
		<dc:creator>LeoBaraldi</dc:creator>
		
		<category><![CDATA[Diseño]]></category>

		<category><![CDATA[Diseño Web]]></category>

		<category><![CDATA[Iconos PNG]]></category>

		<guid isPermaLink="false">http://www.leobaraldi.com.ar/?p=500</guid>
		<description><![CDATA[
Excelente colección de iconos editables en Adobe Illustrator listos para usar sea para la web o la grafica. Cuentan con una excelente calidad visual y gran variedad de temas

Descargar

]]></description>
			<content:encoded><![CDATA[<p><img class="foto" src="http://www.leobaraldi.com.ar/wp-content/uploads/2008/08/thumbnail.jpg" alt="" title="thumbnail" width="500" height="235" class="alignnone size-full wp-image-499" /></p>
<p>Excelente colección de iconos editables en Adobe Illustrator listos para usar sea para la web o la grafica. Cuentan con una excelente calidad visual y gran variedad de temas</p>
<div class="linkex">
<a class="descargar" href="http://min.frexy.com/article/bright_a_free_icon_set/" target="_blank">Descargar</a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.leobaraldi.com.ar/2008/08/17/148-iconos-editables-para-illustrator/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
