<?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>myflexscript</title>
	<atom:link href="http://lucasmatos.com.ar/flexcoderBlog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://lucasmatos.com.ar/flexcoderBlog</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Thu, 27 May 2010 14:49:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Android 2.2 y Adobe Flash</title>
		<link>http://lucasmatos.com.ar/flexcoderBlog/?p=171</link>
		<comments>http://lucasmatos.com.ar/flexcoderBlog/?p=171#comments</comments>
		<pubDate>Thu, 27 May 2010 14:09:01 +0000</pubDate>
		<dc:creator>Lucas Matos</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lucasmatos.com.ar/flexcoderBlog/?p=171</guid>
		<description><![CDATA[
Aunque todavía no tenemos una fecha oficial de su lanzamiento, en las ultimas horas nos sorprendimos al descubrir que la versión 2.2 del sistema operativo Android, conocida actualmente como Froyo, contará con soporte para la plataforma Flash.
Esta sorpresa fue confirmada esta mañana por el VP de Ingeniería de Google, Andy Rubin, quien dijo que elAndroid 2.2 incluirá soporte total [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_173" class="wp-caption alignnone" style="width: 264px"><a href="http://lucasmatos.com.ar/flexcoderBlog/wp-content/uploads/2010/05/android-flash-logo.png"><img class="size-medium wp-image-173" title="android-flash-logo" src="http://lucasmatos.com.ar/flexcoderBlog/wp-content/uploads/2010/05/android-flash-logo-254x300.png" alt="android-flash-logo" width="254" height="300" /></a><p class="wp-caption-text">android-flash-logo</p></div></p>
<p>Aunque todavía no tenemos una fecha oficial de su lanzamiento, en las ultimas horas nos sorprendimos al descubrir que la versión <strong>2.2</strong> del sistema operativo <strong>Android</strong>, conocida actualmente como Froyo, <a href="http://news.yahoo.com/s/ytech_gadg/20100428/tc_ytech_gadg/ytech_gadg_tc1827;_ylt=Akhbtv8ES4igjulZVd9N1AUjtBAF;_ylu=X3oDMTJ1MjgwNDl0BGFzc2V0A3l0ZWNoX2dhZGcvMjAxMDA0MjgveXRlY2hfZ2FkZ190YzE4MjcEcG9zAzEEc2VjA3luX2FydGljbGVfc3VtbWFyeV9saXN0BHNsawNmbGFzaHN1cHBvcnQ-" target="_blank">contará con soporte</a> para la plataforma <strong>Flash</strong>.</p>
<p>Esta sorpresa fue confirmada esta mañana por el VP de Ingeniería de Google, Andy Rubin, quien dijo que el<strong>Android 2.2</strong> incluirá soporte total para <strong>Flash</strong>, posiblemente integrado vídeos de internet y módulos interactivos.</p>
<p>Como dijimos, esta nueva versión todavía no cuenta con una fecha de lanzamiento confirmada, pero algunos medios han indicado que el Android podría estar disponible a finales de mayo, más precisamente el día 19.</p>
<p>Además del soporte Flash, se espera que la versión <strong>2.2</strong> incluya aplicaciones más rápidas gracias al<strong>compilador JIT</strong>, actualizaciones automáticas para aplicaciones, radio FM y nueva integración con el hardware.</p>
<p>Sin dudas el nuevo Android soportará la plataforma <strong>Flash Player 10.1</strong> que fue presentada hace algunos meses y ha sido adoptada por los sistemas más grandes del mercado, incluyendo BlackBerry, Windows Mobile y Symbian.</p>
<p>Considerando esta situación, parece que <strong>Apple</strong> será la única marca sin soporte para <strong>Adobe Flash</strong>, algo que no sorprende a nadie por el odio que Steve Jobs parece tener por Flash en cualquiera de sus productos.</p>
<p>Este enfrentamiento alcanzó un nuevo nivel hace algunas semanas cuando <strong>Apple</strong> prohibió a los desarrolladores utilizar el paquete <strong>Flash CS5</strong>, lo que fue respondido por Adobe con menos inversiones en soporte del iPhone.</p>
<p><a href='http://www.youtube.com/watch?v=r9whFavOb2U' >FarmVille on Nexus One - Flash 10.1 Demo on Android</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lucasmatos.com.ar/flexcoderBlog/?feed=rss2&amp;p=171</wfw:commentRss>
		</item>
		<item>
		<title>PHP Sort Array</title>
		<link>http://lucasmatos.com.ar/flexcoderBlog/?p=165</link>
		<comments>http://lucasmatos.com.ar/flexcoderBlog/?p=165#comments</comments>
		<pubDate>Thu, 08 Apr 2010 19:56:18 +0000</pubDate>
		<dc:creator>Lucas Matos</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Snippet]]></category>

		<guid isPermaLink="false">http://lucasmatos.com.ar/flexcoderBlog/?p=165</guid>
		<description><![CDATA[Snippet,como rodenar y agrupar un array?
en este caso se esta a grupando pirmero por type y segundo por arg1


&#60;?php
$random_text = array(&#34;sms&#34;,
&#34;wp&#34; );

$sizeof = count($random_text);

for($j=0; $j &#60;3; $j++){
	for($i=0;$i&#60;5;$i++){

		$random = (rand(0,1)%$sizeof);

		$unsort[&#039;area_&#039;.$j][&#039;values&#039;][$i]= array(
			&#039;id&#039; =&#62; $i,
			&#039;text&#039; =&#62; &#039;hola_&#039;.$i,
			&#039;arg1&#039; =&#62; rand(0, 5),
			&#039;types_type&#039; =&#62;  $random_text[$random]

		);
	}
}
//print_r($unsort);
//echo &#34;===========================================&#34;;
/*------------------- Begin Parser -----------------------*/
foreach($unsort as $key =&#62; $item)
{
	$tmp[$key] = array();

	foreach($item[&#039;values&#039;] as $key2 =&#62; $item2)
	{
		if($item2[&#039;types_type&#039;] == [...]]]></description>
			<content:encoded><![CDATA[<p>Snippet,como rodenar y agrupar un array?<br />
en este caso se esta a grupando pirmero por type y segundo por arg1</p>
<pre class="syntax-highlight:php">

&lt;?php
$random_text = array(&quot;sms&quot;,
&quot;wp&quot; );

$sizeof = count($random_text);

for($j=0; $j &lt;3; $j++){
	for($i=0;$i&lt;5;$i++){

		$random = (rand(0,1)%$sizeof);

		$unsort[&#039;area_&#039;.$j][&#039;values&#039;][$i]= array(
			&#039;id&#039; =&gt; $i,
			&#039;text&#039; =&gt; &#039;hola_&#039;.$i,
			&#039;arg1&#039; =&gt; rand(0, 5),
			&#039;types_type&#039; =&gt;  $random_text[$random]

		);
	}
}
//print_r($unsort);
//echo &quot;===========================================&quot;;
/*------------------- Begin Parser -----------------------*/
foreach($unsort as $key =&gt; $item)
{
	$tmp[$key] = array();

	foreach($item[&#039;values&#039;] as $key2 =&gt; $item2)
	{
		if($item2[&#039;types_type&#039;] == &#039;sms&#039;)
		{
			if($item2[&#039;arg1&#039;] &gt; 0)
			{
				$tmp[$key][&#039;sms&#039;][&#039;arg1&#039;][$item2[&#039;arg1&#039;]][] = $item2;
			}
			else
			{
				$tmp[$key][&#039;sms&#039;][] = $item2;
			}
		}
		else if($item2[&#039;types_type&#039;] == &#039;wp&#039;)
		{
			if($item2[&#039;arg1&#039;] &gt; 0)
			{
				$tmp[$key][&#039;wp&#039;][&#039;arg1&#039;][$item2[&#039;arg1&#039;]][] = $item2;
			}
			else
			{
				$tmp[$key][&#039;wp&#039;][] = $item2;
			}
		}
	}
}
/*------------------- End Parser -----------------------*/

//	print_r($tmp);
foreach ($tmp as $key =&gt; $value)
{
	if(is_array($value[&#039;sms&#039;]) &amp;amp;amp;amp;&amp;amp;amp;amp; count($value[&#039;sms&#039;]) &gt; 0)
	{
		if(!array_key_exists(&#039;arg1&#039;, $value[&#039;sms&#039;]))
		{
			/*- display random message -*/
			if(count($value[&#039;sms&#039;]) &gt; 1)
			{
				echo(&#039;-[ SMS: Random ]-&#039;.&#039;  - -  &#039;.$value.&#039;  - -  &#039;.$key.&#039;  - -  &#039;.$value[&#039;sms&#039;]);
			}
			/*- only one -*/
			else
			{

				echo(&#039;-[ SMS: ]-&#039;.&#039;  - -  &#039;.$value.&#039;  - -  &#039;.$key.&#039;  - -  &#039;.$value[&#039;sms&#039;]);
			}
		}
		/*- exists arg1 -*/
		else
		{
			foreach($value[&#039;sms&#039;][&#039;arg1&#039;] as $key_arg1 =&gt; $array_arg1)
			{
				/*- display random message -*/
				if(count($value[&#039;sms&#039;][&#039;arg1&#039;][$key_arg1]) &gt; 1)
				{

					echo(&#039;-[ SMS: Random ]-&#039;.&#039;  - -  &#039;.$value.&#039;  - -  &#039;.$key.&#039;  - -  &#039;.$array_arg1);
				}
				/*- only one -*/
				else
				{

					echo(&#039;-[ SMS: ]-&#039;.&#039;  - -  &#039;.$value.&#039;  - -  &#039;.$key.&#039;  - -  &#039;.$array_arg1);
				}
			}
		}
	}

	/**
	 * WP messages
	 */

	if(is_array($value[&#039;wp&#039;]) &amp;amp;amp;amp;&amp;amp;amp;amp; count($value[&#039;wp&#039;]) &gt; 0)
	{
		/*- NOT exists arg1 -*/
		if(!array_key_exists(&#039;arg1&#039;.&#039;  - -  &#039;. $value[&#039;wp&#039;]))
		{
			/*- display random message -*/
			if(count($value[&#039;wp&#039;]) &gt; 1)
			{

				echo(&#039;-[ WP: Random ]-&#039;.&#039;  - -  &#039;.$value.&#039;  - -  &#039;.$key.&#039;  - -  &#039;.$value[&#039;wp&#039;]);
			}
			/*- only one -*/
			else
			{
				echo(&#039;-[ WP: ]-&#039;.&#039;  - -  &#039;.$value.&#039;  - -  &#039;.$key.&#039;  - -  &#039;.$value[&#039;wp&#039;]);
			}
		}
		/*- exists arg1 -*/
		else
		{
			foreach($value[&#039;wp&#039;][&#039;arg1&#039;] as $key_arg1 =&gt; $array_arg1)
			{
				/*- display random message -*/
				if(count($value[&#039;wp&#039;][&#039;arg1&#039;][$key_arg1]) &gt; 1)
				{

					echo(&#039;-[ WP : Random ]-&#039;.&#039;  - -  &#039;.$value.&#039;  - -  &#039;.$key.&#039;  - -  &#039;.$array_arg1);
				}
				/*- only one -*/
				else
				{

					echo(&#039;-[ WP: ]-&#039;.&#039;  - -  &#039;.$value.&#039;  - -  &#039;.$key.&#039;  - -  &#039;.$array_arg1);
				}
			}
		}
	}
}
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://lucasmatos.com.ar/flexcoderBlog/?feed=rss2&amp;p=165</wfw:commentRss>
		</item>
		<item>
		<title>MIME TYPES</title>
		<link>http://lucasmatos.com.ar/flexcoderBlog/?p=161</link>
		<comments>http://lucasmatos.com.ar/flexcoderBlog/?p=161#comments</comments>
		<pubDate>Fri, 30 Oct 2009 21:19:23 +0000</pubDate>
		<dc:creator>Lucas Matos</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lucasmatos.com.ar/flexcoderBlog/?p=161</guid>
		<description><![CDATA[Mime Types



Si trabajas con algun proxy que te tiene que responder  algun tipo de archivo, aquí esta la lista completa de todos los tipos MIME
Que lo disfrutes!






tipo de Archivo
MIME type


ai
application/postscript


aif
audio/x-aiff


aifc
audio/x-aiff


aiff
audio/x-aiff


asc
text/plain


atom
application/atom+xml


au
audio/basic


avi
video/x-msvideo


bcpio
application/x-bcpio


bin
application/octet-stream


bmp
image/bmp


cdf
application/x-netcdf


cgm
image/cgm


class
application/octet-stream


cpio
application/x-cpio


cpt
application/mac-compactpro


csh
application/x-csh


css
text/css


dcr
application/x-director


dif
video/x-dv


dir
application/x-director


djv
image/vnd.djvu


djvu
image/vnd.djvu


dll
application/octet-stream


dmg
application/octet-stream


dms
application/octet-stream


doc
application/msword


dtd
application/xml-dtd


dv
video/x-dv


dvi
application/x-dvi


dxr
application/x-director


eps
application/postscript


etx
text/x-setext


exe
application/octet-stream


ez
application/andrew-inset


gif
image/gif


gram
application/srgs


grxml
application/srgs+xml


gtar
application/x-gtar


hdf
application/x-hdf


hqx
application/mac-binhex40


htm
text/html


html
text/html


ice
x-conference/x-cooltalk


ico
image/x-icon


ics
text/calendar


ief
image/ief


ifb
text/calendar


iges
model/iges


igs
model/iges


jnlp
application/x-java-jnlp-file


jp2
image/jp2


jpe
image/jpeg


jpeg
image/jpeg


jpg
image/jpeg


js
application/x-javascript


kar
audio/midi


latex
application/x-latex


lha
application/octet-stream


lzh
application/octet-stream


m3u
audio/x-mpegurl


m4a
audio/mp4a-latm


m4b
audio/mp4a-latm


m4p
audio/mp4a-latm


m4u
video/vnd.mpegurl


m4v
video/x-m4v


mac
image/x-macpaint


man
application/x-troff-man


mathml
application/mathml+xml


me
application/x-troff-me


mesh
model/mesh


mid
audio/midi


midi
audio/midi


mif
application/vnd.mif


mov
video/quicktime


movie
video/x-sgi-movie


mp2
audio/mpeg


mp3
audio/mpeg


mp4
video/mp4


mpe
video/mpeg


mpeg
video/mpeg


mpg
video/mpeg


mpga
audio/mpeg


ms
application/x-troff-ms


msh
model/mesh


mxu
video/vnd.mpegurl


nc
application/x-netcdf


oda
application/oda


ogg
application/ogg


pbm
image/x-portable-bitmap


pct
image/pict


pdb
chemical/x-pdb


pdf
application/pdf


pgm
image/x-portable-graymap


pgn
application/x-chess-pgn


pic
image/pict


pict
image/pict


png
image/png


pnm
image/x-portable-anymap


pnt
image/x-macpaint


pntg
image/x-macpaint


ppm
image/x-portable-pixmap


ppt
application/vnd.ms-powerpoint


ps
application/postscript


qt
video/quicktime


qti
image/x-quicktime


qtif
image/x-quicktime


ra
audio/x-pn-realaudio


ram
audio/x-pn-realaudio


ras
image/x-cmu-raster


rdf
application/rdf+xml


rgb
image/x-rgb


rm
application/vnd.rn-realmedia


roff
application/x-troff


rtf
text/rtf


rtx
text/richtext


sgm
text/sgml


sgml
text/sgml


sh
application/x-sh


shar
application/x-shar


silo
model/mesh


sit
application/x-stuffit


skd
application/x-koan


skm
application/x-koan


skp
application/x-koan


skt
application/x-koan


smi
application/smil


smil
application/smil


snd
audio/basic


so
application/octet-stream


spl
application/x-futuresplash


src
application/x-wais-source


sv4cpio
application/x-sv4cpio


sv4crc
application/x-sv4crc


svg
image/svg+xml


swf
application/x-shockwave-flash


t
application/x-troff


tar
application/x-tar


tcl
application/x-tcl


tex
application/x-tex


texi
application/x-texinfo


texinfo
application/x-texinfo


tif
image/tiff


tiff
image/tiff


tr
application/x-troff


tsv
text/tab-separated-values


txt
text/plain


ustar
application/x-ustar


vcd
application/x-cdlink


vrml
model/vrml


vxml
application/voicexml+xml


wav
audio/x-wav


wbmp
image/vnd.wap.wbmp


wbmxl
application/vnd.wap.wbxml


wml
text/vnd.wap.wml


wmlc
application/vnd.wap.wmlc


wmls
text/vnd.wap.wmlscript


wmlsc
application/vnd.wap.wmlscriptc


wrl
model/vrml


xbm
image/x-xbitmap


xht
application/xhtml+xml


xhtml
application/xhtml+xml


xls
application/vnd.ms-excel


xml
application/xml


xpm
image/x-xpixmap


xsl
application/xml


xslt
application/xslt+xml


xul
application/vnd.mozilla.xul+xml


xwd
image/x-xwindowdump


xyz
chemical/x-xyz


zip
application/zip



]]></description>
			<content:encoded><![CDATA[<h1>Mime Types</h1>
<table border="0" cellspacing="3" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>Si trabajas con algun proxy que te tiene que responder  algun tipo de archivo, aquí esta la lista completa de todos los tipos MIME</p>
<p>Que lo disfrutes!</td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="3" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td width="15%"><strong>tipo de Archivo</strong></td>
<td width="85%"><strong>MIME type</strong></td>
</tr>
<tr>
<td width="15%">ai</td>
<td width="85%">application/postscript</td>
</tr>
<tr>
<td width="15%">aif</td>
<td width="85%">audio/x-aiff</td>
</tr>
<tr>
<td width="15%">aifc</td>
<td width="85%">audio/x-aiff</td>
</tr>
<tr>
<td width="15%">aiff</td>
<td width="85%">audio/x-aiff</td>
</tr>
<tr>
<td width="15%">asc</td>
<td width="85%">text/plain</td>
</tr>
<tr>
<td width="15%">atom</td>
<td width="85%">application/atom+xml</td>
</tr>
<tr>
<td width="15%">au</td>
<td width="85%">audio/basic</td>
</tr>
<tr>
<td width="15%">avi</td>
<td width="85%">video/x-msvideo</td>
</tr>
<tr>
<td width="15%">bcpio</td>
<td width="85%">application/x-bcpio</td>
</tr>
<tr>
<td width="15%">bin</td>
<td width="85%">application/octet-stream</td>
</tr>
<tr>
<td width="15%">bmp</td>
<td width="85%">image/bmp</td>
</tr>
<tr>
<td width="15%">cdf</td>
<td width="85%">application/x-netcdf</td>
</tr>
<tr>
<td width="15%">cgm</td>
<td width="85%">image/cgm</td>
</tr>
<tr>
<td width="15%">class</td>
<td width="85%">application/octet-stream</td>
</tr>
<tr>
<td width="15%">cpio</td>
<td width="85%">application/x-cpio</td>
</tr>
<tr>
<td width="15%">cpt</td>
<td width="85%">application/mac-compactpro</td>
</tr>
<tr>
<td width="15%">csh</td>
<td width="85%">application/x-csh</td>
</tr>
<tr>
<td width="15%">css</td>
<td width="85%">text/css</td>
</tr>
<tr>
<td width="15%">dcr</td>
<td width="85%">application/x-director</td>
</tr>
<tr>
<td width="15%">dif</td>
<td width="85%">video/x-dv</td>
</tr>
<tr>
<td width="15%">dir</td>
<td width="85%">application/x-director</td>
</tr>
<tr>
<td width="15%">djv</td>
<td width="85%">image/vnd.djvu</td>
</tr>
<tr>
<td width="15%">djvu</td>
<td width="85%">image/vnd.djvu</td>
</tr>
<tr>
<td width="15%">dll</td>
<td width="85%">application/octet-stream</td>
</tr>
<tr>
<td width="15%">dmg</td>
<td width="85%">application/octet-stream</td>
</tr>
<tr>
<td width="15%">dms</td>
<td width="85%">application/octet-stream</td>
</tr>
<tr>
<td width="15%">doc</td>
<td width="85%">application/msword</td>
</tr>
<tr>
<td width="15%">dtd</td>
<td width="85%">application/xml-dtd</td>
</tr>
<tr>
<td width="15%">dv</td>
<td width="85%">video/x-dv</td>
</tr>
<tr>
<td width="15%">dvi</td>
<td width="85%">application/x-dvi</td>
</tr>
<tr>
<td width="15%">dxr</td>
<td width="85%">application/x-director</td>
</tr>
<tr>
<td width="15%">eps</td>
<td width="85%">application/postscript</td>
</tr>
<tr>
<td width="15%">etx</td>
<td width="85%">text/x-setext</td>
</tr>
<tr>
<td width="15%">exe</td>
<td width="85%">application/octet-stream</td>
</tr>
<tr>
<td width="15%">ez</td>
<td width="85%">application/andrew-inset</td>
</tr>
<tr>
<td width="15%">gif</td>
<td width="85%">image/gif</td>
</tr>
<tr>
<td width="15%">gram</td>
<td width="85%">application/srgs</td>
</tr>
<tr>
<td width="15%">grxml</td>
<td width="85%">application/srgs+xml</td>
</tr>
<tr>
<td width="15%">gtar</td>
<td width="85%">application/x-gtar</td>
</tr>
<tr>
<td width="15%">hdf</td>
<td width="85%">application/x-hdf</td>
</tr>
<tr>
<td width="15%">hqx</td>
<td width="85%">application/mac-binhex40</td>
</tr>
<tr>
<td width="15%">htm</td>
<td width="85%">text/html</td>
</tr>
<tr>
<td width="15%">html</td>
<td width="85%">text/html</td>
</tr>
<tr>
<td width="15%">ice</td>
<td width="85%">x-conference/x-cooltalk</td>
</tr>
<tr>
<td width="15%">ico</td>
<td width="85%">image/x-icon</td>
</tr>
<tr>
<td width="15%">ics</td>
<td width="85%">text/calendar</td>
</tr>
<tr>
<td width="15%">ief</td>
<td width="85%">image/ief</td>
</tr>
<tr>
<td width="15%">ifb</td>
<td width="85%">text/calendar</td>
</tr>
<tr>
<td width="15%">iges</td>
<td width="85%">model/iges</td>
</tr>
<tr>
<td width="15%">igs</td>
<td width="85%">model/iges</td>
</tr>
<tr>
<td width="15%">jnlp</td>
<td width="85%">application/x-java-jnlp-file</td>
</tr>
<tr>
<td width="15%">jp2</td>
<td width="85%">image/jp2</td>
</tr>
<tr>
<td width="15%">jpe</td>
<td width="85%">image/jpeg</td>
</tr>
<tr>
<td width="15%">jpeg</td>
<td width="85%">image/jpeg</td>
</tr>
<tr>
<td width="15%">jpg</td>
<td width="85%">image/jpeg</td>
</tr>
<tr>
<td width="15%">js</td>
<td width="85%">application/x-javascript</td>
</tr>
<tr>
<td width="15%">kar</td>
<td width="85%">audio/midi</td>
</tr>
<tr>
<td width="15%">latex</td>
<td width="85%">application/x-latex</td>
</tr>
<tr>
<td width="15%">lha</td>
<td width="85%">application/octet-stream</td>
</tr>
<tr>
<td width="15%">lzh</td>
<td width="85%">application/octet-stream</td>
</tr>
<tr>
<td width="15%">m3u</td>
<td width="85%">audio/x-mpegurl</td>
</tr>
<tr>
<td width="15%">m4a</td>
<td width="85%">audio/mp4a-latm</td>
</tr>
<tr>
<td width="15%">m4b</td>
<td width="85%">audio/mp4a-latm</td>
</tr>
<tr>
<td width="15%">m4p</td>
<td width="85%">audio/mp4a-latm</td>
</tr>
<tr>
<td width="15%">m4u</td>
<td width="85%">video/vnd.mpegurl</td>
</tr>
<tr>
<td width="15%">m4v</td>
<td width="85%">video/x-m4v</td>
</tr>
<tr>
<td width="15%">mac</td>
<td width="85%">image/x-macpaint</td>
</tr>
<tr>
<td width="15%">man</td>
<td width="85%">application/x-troff-man</td>
</tr>
<tr>
<td width="15%">mathml</td>
<td width="85%">application/mathml+xml</td>
</tr>
<tr>
<td width="15%">me</td>
<td width="85%">application/x-troff-me</td>
</tr>
<tr>
<td width="15%">mesh</td>
<td width="85%">model/mesh</td>
</tr>
<tr>
<td width="15%">mid</td>
<td width="85%">audio/midi</td>
</tr>
<tr>
<td width="15%">midi</td>
<td width="85%">audio/midi</td>
</tr>
<tr>
<td width="15%">mif</td>
<td width="85%">application/vnd.mif</td>
</tr>
<tr>
<td width="15%">mov</td>
<td width="85%">video/quicktime</td>
</tr>
<tr>
<td width="15%">movie</td>
<td width="85%">video/x-sgi-movie</td>
</tr>
<tr>
<td width="15%">mp2</td>
<td width="85%">audio/mpeg</td>
</tr>
<tr>
<td width="15%">mp3</td>
<td width="85%">audio/mpeg</td>
</tr>
<tr>
<td width="15%">mp4</td>
<td width="85%">video/mp4</td>
</tr>
<tr>
<td width="15%">mpe</td>
<td width="85%">video/mpeg</td>
</tr>
<tr>
<td width="15%">mpeg</td>
<td width="85%">video/mpeg</td>
</tr>
<tr>
<td width="15%">mpg</td>
<td width="85%">video/mpeg</td>
</tr>
<tr>
<td width="15%">mpga</td>
<td width="85%">audio/mpeg</td>
</tr>
<tr>
<td width="15%">ms</td>
<td width="85%">application/x-troff-ms</td>
</tr>
<tr>
<td width="15%">msh</td>
<td width="85%">model/mesh</td>
</tr>
<tr>
<td width="15%">mxu</td>
<td width="85%">video/vnd.mpegurl</td>
</tr>
<tr>
<td width="15%">nc</td>
<td width="85%">application/x-netcdf</td>
</tr>
<tr>
<td width="15%">oda</td>
<td width="85%">application/oda</td>
</tr>
<tr>
<td width="15%">ogg</td>
<td width="85%">application/ogg</td>
</tr>
<tr>
<td width="15%">pbm</td>
<td width="85%">image/x-portable-bitmap</td>
</tr>
<tr>
<td width="15%">pct</td>
<td width="85%">image/pict</td>
</tr>
<tr>
<td width="15%">pdb</td>
<td width="85%">chemical/x-pdb</td>
</tr>
<tr>
<td width="15%">pdf</td>
<td width="85%">application/pdf</td>
</tr>
<tr>
<td width="15%" height="2">pgm</td>
<td width="85%" height="2">image/x-portable-graymap</td>
</tr>
<tr>
<td width="15%">pgn</td>
<td width="85%">application/x-chess-pgn</td>
</tr>
<tr>
<td width="15%">pic</td>
<td width="85%">image/pict</td>
</tr>
<tr>
<td width="15%">pict</td>
<td width="85%">image/pict</td>
</tr>
<tr>
<td width="15%">png</td>
<td width="85%">image/png</td>
</tr>
<tr>
<td width="15%">pnm</td>
<td width="85%">image/x-portable-anymap</td>
</tr>
<tr>
<td width="15%">pnt</td>
<td width="85%">image/x-macpaint</td>
</tr>
<tr>
<td width="15%">pntg</td>
<td width="85%">image/x-macpaint</td>
</tr>
<tr>
<td width="15%">ppm</td>
<td width="85%">image/x-portable-pixmap</td>
</tr>
<tr>
<td width="15%">ppt</td>
<td width="85%">application/vnd.ms-powerpoint</td>
</tr>
<tr>
<td width="15%">ps</td>
<td width="85%">application/postscript</td>
</tr>
<tr>
<td width="15%">qt</td>
<td width="85%">video/quicktime</td>
</tr>
<tr>
<td width="15%">qti</td>
<td width="85%">image/x-quicktime</td>
</tr>
<tr>
<td width="15%">qtif</td>
<td width="85%">image/x-quicktime</td>
</tr>
<tr>
<td width="15%">ra</td>
<td width="85%">audio/x-pn-realaudio</td>
</tr>
<tr>
<td width="15%">ram</td>
<td width="85%">audio/x-pn-realaudio</td>
</tr>
<tr>
<td width="15%">ras</td>
<td width="85%">image/x-cmu-raster</td>
</tr>
<tr>
<td width="15%">rdf</td>
<td width="85%">application/rdf+xml</td>
</tr>
<tr>
<td width="15%">rgb</td>
<td width="85%">image/x-rgb</td>
</tr>
<tr>
<td width="15%">rm</td>
<td width="85%">application/vnd.rn-realmedia</td>
</tr>
<tr>
<td width="15%">roff</td>
<td width="85%">application/x-troff</td>
</tr>
<tr>
<td width="15%">rtf</td>
<td width="85%">text/rtf</td>
</tr>
<tr>
<td width="15%">rtx</td>
<td width="85%">text/richtext</td>
</tr>
<tr>
<td width="15%">sgm</td>
<td width="85%">text/sgml</td>
</tr>
<tr>
<td width="15%">sgml</td>
<td width="85%">text/sgml</td>
</tr>
<tr>
<td width="15%">sh</td>
<td width="85%">application/x-sh</td>
</tr>
<tr>
<td width="15%" height="22">shar</td>
<td width="85%" height="22">application/x-shar</td>
</tr>
<tr>
<td width="15%">silo</td>
<td width="85%">model/mesh</td>
</tr>
<tr>
<td width="15%">sit</td>
<td width="85%">application/x-stuffit</td>
</tr>
<tr>
<td width="15%">skd</td>
<td width="85%">application/x-koan</td>
</tr>
<tr>
<td width="15%">skm</td>
<td width="85%">application/x-koan</td>
</tr>
<tr>
<td width="15%">skp</td>
<td width="85%">application/x-koan</td>
</tr>
<tr>
<td width="15%">skt</td>
<td width="85%">application/x-koan</td>
</tr>
<tr>
<td width="15%">smi</td>
<td width="85%">application/smil</td>
</tr>
<tr>
<td width="15%">smil</td>
<td width="85%">application/smil</td>
</tr>
<tr>
<td width="15%">snd</td>
<td width="85%">audio/basic</td>
</tr>
<tr>
<td width="15%">so</td>
<td width="85%">application/octet-stream</td>
</tr>
<tr>
<td width="15%">spl</td>
<td width="85%">application/x-futuresplash</td>
</tr>
<tr>
<td width="15%">src</td>
<td width="85%">application/x-wais-source</td>
</tr>
<tr>
<td width="15%">sv4cpio</td>
<td width="85%">application/x-sv4cpio</td>
</tr>
<tr>
<td width="15%">sv4crc</td>
<td width="85%">application/x-sv4crc</td>
</tr>
<tr>
<td width="15%" height="22">svg</td>
<td width="85%" height="22">image/svg+xml</td>
</tr>
<tr>
<td width="15%">swf</td>
<td width="85%">application/x-shockwave-flash</td>
</tr>
<tr>
<td width="15%">t</td>
<td width="85%">application/x-troff</td>
</tr>
<tr>
<td width="15%">tar</td>
<td width="85%">application/x-tar</td>
</tr>
<tr>
<td width="15%">tcl</td>
<td width="85%">application/x-tcl</td>
</tr>
<tr>
<td width="15%">tex</td>
<td width="85%">application/x-tex</td>
</tr>
<tr>
<td width="15%" height="24">texi</td>
<td width="85%" height="24">application/x-texinfo</td>
</tr>
<tr>
<td width="15%">texinfo</td>
<td width="85%">application/x-texinfo</td>
</tr>
<tr>
<td width="15%">tif</td>
<td width="85%">image/tiff</td>
</tr>
<tr>
<td width="15%">tiff</td>
<td width="85%">image/tiff</td>
</tr>
<tr>
<td width="15%">tr</td>
<td width="85%">application/x-troff</td>
</tr>
<tr>
<td width="15%">tsv</td>
<td width="85%">text/tab-separated-values</td>
</tr>
<tr>
<td width="15%">txt</td>
<td width="85%">text/plain</td>
</tr>
<tr>
<td width="15%">ustar</td>
<td width="85%">application/x-ustar</td>
</tr>
<tr>
<td width="15%">vcd</td>
<td width="85%">application/x-cdlink</td>
</tr>
<tr>
<td width="15%">vrml</td>
<td width="85%">model/vrml</td>
</tr>
<tr>
<td width="15%">vxml</td>
<td width="85%">application/voicexml+xml</td>
</tr>
<tr>
<td width="15%" height="22">wav</td>
<td width="85%" height="22">audio/x-wav</td>
</tr>
<tr>
<td width="15%">wbmp</td>
<td width="85%">image/vnd.wap.wbmp</td>
</tr>
<tr>
<td width="15%">wbmxl</td>
<td width="85%">application/vnd.wap.wbxml</td>
</tr>
<tr>
<td width="15%">wml</td>
<td width="85%">text/vnd.wap.wml</td>
</tr>
<tr>
<td width="15%">wmlc</td>
<td width="85%">application/vnd.wap.wmlc</td>
</tr>
<tr>
<td width="15%">wmls</td>
<td width="85%">text/vnd.wap.wmlscript</td>
</tr>
<tr>
<td width="15%">wmlsc</td>
<td width="85%">application/vnd.wap.wmlscriptc</td>
</tr>
<tr>
<td width="15%">wrl</td>
<td width="85%">model/vrml</td>
</tr>
<tr>
<td width="15%">xbm</td>
<td width="85%">image/x-xbitmap</td>
</tr>
<tr>
<td width="15%">xht</td>
<td width="85%">application/xhtml+xml</td>
</tr>
<tr>
<td width="15%">xhtml</td>
<td width="85%">application/xhtml+xml</td>
</tr>
<tr>
<td width="15%">xls</td>
<td width="85%">application/vnd.ms-excel</td>
</tr>
<tr>
<td width="15%">xml</td>
<td width="85%">application/xml</td>
</tr>
<tr>
<td width="15%">xpm</td>
<td width="85%">image/x-xpixmap</td>
</tr>
<tr>
<td width="15%">xsl</td>
<td width="85%">application/xml</td>
</tr>
<tr>
<td width="15%">xslt</td>
<td width="85%">application/xslt+xml</td>
</tr>
<tr>
<td width="15%">xul</td>
<td width="85%">application/vnd.mozilla.xul+xml</td>
</tr>
<tr>
<td width="15%">xwd</td>
<td width="85%">image/x-xwindowdump</td>
</tr>
<tr>
<td width="15%">xyz</td>
<td width="85%">chemical/x-xyz</td>
</tr>
<tr>
<td width="15%">zip</td>
<td width="85%">application/zip</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://lucasmatos.com.ar/flexcoderBlog/?feed=rss2&amp;p=161</wfw:commentRss>
		</item>
		<item>
		<title>Seguimiento del avance de la gripe porcina en Argentina por Google Maps</title>
		<link>http://lucasmatos.com.ar/flexcoderBlog/?p=125</link>
		<comments>http://lucasmatos.com.ar/flexcoderBlog/?p=125#comments</comments>
		<pubDate>Mon, 27 Apr 2009 15:59:29 +0000</pubDate>
		<dc:creator>Lucas Matos</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[barbijos]]></category>

		<category><![CDATA[Buenos Aires]]></category>

		<category><![CDATA[detector de gripe porcina]]></category>

		<category><![CDATA[Gripe A]]></category>

		<category><![CDATA[Gripe Porcina]]></category>

		<category><![CDATA[gripe porcina en Argentina]]></category>

		<category><![CDATA[Gripe porcina en Buenos Aires]]></category>

		<category><![CDATA[H1N1]]></category>

		<category><![CDATA[influenza en Argentina]]></category>

		<category><![CDATA[influenza en Buenos Aires]]></category>

		<guid isPermaLink="false">http://lucasmatos.com.ar/flexcoderBlog/?p=125</guid>
		<description><![CDATA[Google maps disponibilizo un servicio de seguimiento del virus H1N1
La gripe porcina ha comenzado a transformarse en una epidemia hace solo un par de días, pero ya es posible seguir su crecimiento (que esperamos se detenga).
El usuario &#8220;Niman&#8221; ha creado un ingenioso mapa en Google Maps que hace seguimiento en tiempo casi real a la [...]]]></description>
			<content:encoded><![CDATA[<p>Google maps disponibilizo un servicio de seguimiento del virus H1N1</p>
<p>La gripe porcina ha comenzado a transformarse en una epidemia hace solo un par de días, pero ya es posible seguir su crecimiento (que esperamos se detenga).</p>
<p>El usuario &#8220;Niman&#8221; ha creado un ingenioso mapa en Google Maps que hace seguimiento en tiempo casi real a la evolución y diseminización de la gripe porcina.<br />
Asi que lo que hize es poner el mapa de Buenos Aires para estar atento a nuevos cambios.</p>
<p>Los datos Oficiales del gobierno no coinciden con estos datos que tambien son oficiales<br />
hay algo que estan ocultando&#8230;.</p>
<p>En la parte de abajo hay un link para ver el mapa ampliado con más información.</p>
]]></content:encoded>
			<wfw:commentRss>http://lucasmatos.com.ar/flexcoderBlog/?feed=rss2&amp;p=125</wfw:commentRss>
		</item>
		<item>
		<title>LLamar funcion javascript desde flash</title>
		<link>http://lucasmatos.com.ar/flexcoderBlog/?p=109</link>
		<comments>http://lucasmatos.com.ar/flexcoderBlog/?p=109#comments</comments>
		<pubDate>Fri, 24 Apr 2009 14:51:27 +0000</pubDate>
		<dc:creator>Lucas Matos</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[actionScript 2.0]]></category>

		<category><![CDATA[actionScript 3.0]]></category>

		<category><![CDATA[javaScript]]></category>

		<category><![CDATA[call javascript function]]></category>

		<category><![CDATA[call javascript function from flash]]></category>

		<category><![CDATA[Ejecutar Javascript en Flash]]></category>

		<category><![CDATA[Flash - Ejecutar Javascript en Flash]]></category>

		<category><![CDATA[invocar funcion javascript desede flash]]></category>

		<category><![CDATA[javascript +flash]]></category>

		<guid isPermaLink="false">http://lucasmatos.com.ar/flexcoderBlog/?p=109</guid>
		<description><![CDATA[
Esta es una pregunta que me la han hecho bastante seguido
¿Como invocar una funcion javascript desde flash?
Aqui les paso las 2 opciones y les explico cual es la mejor y el por que?
 Primera opcion deprecada:  usar getURL() 

Esta opcion es solo para las peliculas flash  que esten echas con la version actionscript [...]]]></description>
			<content:encoded><![CDATA[<p>
Esta es una pregunta que me la han hecho bastante seguido<br />
<strong>¿Como invocar una funcion javascript desde flash?</strong><br />
Aqui les paso las 2 opciones y les explico cual es la mejor y el por que?</p>
<p><strong> Primera opcion deprecada: <img src='http://lucasmatos.com.ar/flexcoderBlog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> usar getURL()</strong> </p>
<ul>
<li>Esta opcion es solo para las peliculas flash  que esten echas con la version actionscript 2.0</li>
<li> Cuando usamos esta metodologia lo que hacemos es invocar una url en el browser.<br />
por ejemplo el IExplorer reproduce un sonido (el sonido de &#8216;iniciar exploracion&#8217; especificamente) cada vez que se clickea en un link, o en este caso cada vez que se manda llamar la funcion getURL desde una pelicula de flash. Entonces cada vez que se executa este evento se escucha el sonido y esto puede resultar molesto
</li>
</ul>
<p>Codigo ejemplo:
</p>
<pre class="syntax-highlight:javascript">
//call javascript function 

    getURL(&quot;javascript:alert(&#039;Hack&#039;)&quot;);

//http://lucasmatos.com.ar/flexcoderBlog/
</pre>
<p><strong> Segunda opcion optimizada: <img src='http://lucasmatos.com.ar/flexcoderBlog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> usar ExternalInterface</strong> </p>
<ul>
<li> Esta opcion es la mejor porque funciona en Actionscript 2.0 y 3.0
</li>
<li>Gracias a esta metodologia con esta funcion, en Actionscript 3 aparte de invocar funciones de javascript (ExternalInterface.call()), tambien podemos escuchar funciones de javascript (ExternalInterface.addCallback()) es decir que podemos pasar parametros a flash desde un javascript <img src='http://lucasmatos.com.ar/flexcoderBlog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>Otra ventaja es que cuando usamos esta funcion al invocar la colocamos los parametros que recibe separados y no usamos un string concatenado com se hace cuando se usa el getURL()</li>
</ul>
<pre class="syntax-highlight:javascript">
//call javascript function 

   flash.external.ExternalInterface.call (&quot;alert&quot;, &quot;Hello&quot;);

//http://lucasmatos.com.ar/flexcoderBlog/
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://lucasmatos.com.ar/flexcoderBlog/?feed=rss2&amp;p=109</wfw:commentRss>
		</item>
		<item>
		<title>Tamarin: Adobe libera el motor de script del Flash Player</title>
		<link>http://lucasmatos.com.ar/flexcoderBlog/?p=101</link>
		<comments>http://lucasmatos.com.ar/flexcoderBlog/?p=101#comments</comments>
		<pubDate>Thu, 23 Apr 2009 19:06:32 +0000</pubDate>
		<dc:creator>Lucas Matos</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[javaScript]]></category>

		<category><![CDATA[adobe]]></category>

		<category><![CDATA[programador flex]]></category>

		<category><![CDATA[tamarin]]></category>

		<category><![CDATA[tamarin project]]></category>

		<guid isPermaLink="false">http://lucasmatos.com.ar/flexcoderBlog/?p=101</guid>
		<description><![CDATA[El Tamarin o Tamarino es una especie de mono Amazonico  supongo que le dieron este nombre por SpiderMonkey (JavaScript-C) Engine.
En otras palabras JAVASCRIPT y ACTIONSCRIPT son parientes  

Adobe liberó el motor de script del Flash Player 9 (Actionscript 3. Su versión más reciente) y lo publicó en la sección de proyectos de la [...]]]></description>
			<content:encoded><![CDATA[<p>El Tamarin o <a href="http://en.wikipedia.org/wiki/Tamarin">Tamarino es una especie de mono Amazonico </a> supongo que le dieron este nombre por <a href="http://www.mozilla.org/js/spidermonkey/">SpiderMonkey (JavaScript-C) Engine</a>.<br />
En otras palabras JAVASCRIPT y ACTIONSCRIPT son parientes <img src='http://lucasmatos.com.ar/flexcoderBlog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><img class="alignnone" src="http://lucasmatos.com.ar/flexcoderBlog/common_images/tamarin_monkey.gif" alt="" width="392" height="480" /></p>
<p>Adobe <a class="arti_link" href="http://www.adobe.com/aboutadobe/pressroom/pressreleases/200611/110706Mozilla.html">liberó el motor de script del Flash Player 9</a> (Actionscript 3. Su versión más reciente) y lo publicó en la sección de proyectos de la Fundación Mozilla como <a class="arti_link" href="http://www.mozilla.org/projects/tamarin/">Tamarin</a>. Muy poca gente ha entendido las razones detrás de esta liberación y muchos creen que el Flash Player ahora es libre y de código abierto, lo que no es cierto.</p>
<h3>¿Entonces de qué sirve que Adobe libere el script engine?</h3>
<p><a class="arti_link" href="http://www.cristalab.com/tips/tags/actionscript_3">Actionscript 3</a> implementa todo el estándar <a class="arti_link" href="http://en.wikipedia.org/wiki/ECMAScript">ECMAScript 4</a>. Para los que no son programadores, este es un conjunto de clases, métodos, funciones y reglas de programación que incluye grandes avances para todos los lenguajes que (en teoría) se derivan de él (Actionscript, Javascript, JScript.NET). La liberación de este código es <strong>el aporte más grande que ha recibido la fundación Mozilla desde su creación</strong> y permitirá a los desarrolladores web programar en Javascript o Actionscript indistintamente, como si de un mismo lenguaje se tratara.</p>
<p><a class="arti_link" href="http://www.mozilla.org/projects/tamarin/">Tamarin</a> es una de las más continuas sorpresas que Adobe nos ha dado en el campo del software libre. Primero vino <a class="arti_link" href="http://www.cristalab.com/blog/tags/flex">Flex</a> Builder 2, una herramienta para desarrollo de aplicaciones usando el formato de Flash basada en Eclipse, un entorno de desarrollo de código abierto. Luego está el <a class="arti_link" href="http://www.cristalab.com/blog/29846/flash-player-9-para-linux-sentimientos-encontrados">Flash Player 9 para Linux</a>, la primera vez que Adobe/Macromedia libera un player actualizado para la conocida plataforma libre. ¿Qué nos traerá luego Adobe? ¿Liberarán el Flash Player a la comunidad?</p>
<p>No.</p>
<h3>¿Por qué Adobe no libera el código del Flash Player?</h3>
<p>La historia de los desarrolladores web es la de la lucha de browsers. No hay forma real, en esta época, de hacer un solo código que funcione en todas partes. <a class="arti_link" href="http://www.cristalab.com/tutoriales/5-css-y-xhtml/">CSS y XHTML</a> con el camino, pero no la solución definitiva actual. Los usuarios de Flash jamás han sufrido esa desventaja. No importa en que versión de Flash hayas hecho algo antes, siempre lo verás igual en versiones futuras. No importa que tipo de código raro, único, hecho en casa hayas hecho, tienes la seguridad que todos aquellos con el Flash Player (Instalado en el 97% de los computadores del mundo) lo verán igual en todas partes.</p>
<p>La guerra de los browsers se define en un problema de versiones. Cosas que ves de una forma en Internet Explorer 6 no se ven igual en 7. Cosas que haces en Firefox (que es libre) no se ven cómo deberían en Konqueror (que tambien es libre). Liberar el código del Flash Player sería crear una nueva situación donde los usuarios de Flash tendrían que hacer cosas para muchos reproductores y asegurarse de que en ambos funcionan. Habría ambigüedades, características diferentes que eliminarían la igualdad y completa distribución que han hecho tan exitoso a Flash durante el tiempo. Adobe no dejará que eso ocurra tal como Macromedia jamás lo permitió. No habrá un Flash Player libre de las manos de Adobe por mucho tiempo.</p>
<p>Igual siempre tienen <a class="arti_link" href="http://www.gnu.org/software/gnash/">Gnash</a> si son de aquellos que si no son 100% libres entran en taquicardia.</p>
<p>Tamarin es toda una nueva filosofía para la web. El motor (Que permite ejecutar Actionscript, Javascript o MS JScript) tiene capacidades realmente, como el sistema de manejo de XML: E4X. De igual manera incluye la capacidad exclusiva de Flash JIT (Compilación Just In Time, que aumenta sensiblemente el rendimiento de los lenguajes de script). Poder programar en Actionscript/Javascript como un lenguaje unificado será el futuro en las aplicaciones web. Cerrando así la brecha entre AJAX y Flash en un entorno abierto y de estandares publicos aceptados. Siempre queda, claro, el Internet Explorer de Microsoft como el frente de guerra contra ésta forma de desarrollo, pero a largo plazo, el futuro está en la unificación.</p>
]]></content:encoded>
			<wfw:commentRss>http://lucasmatos.com.ar/flexcoderBlog/?feed=rss2&amp;p=101</wfw:commentRss>
		</item>
		<item>
		<title>States and Transition</title>
		<link>http://lucasmatos.com.ar/flexcoderBlog/?p=69</link>
		<comments>http://lucasmatos.com.ar/flexcoderBlog/?p=69#comments</comments>
		<pubDate>Tue, 07 Oct 2008 19:30:20 +0000</pubDate>
		<dc:creator>Lucas Matos</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[actionScript 3.0]]></category>

		<category><![CDATA[states]]></category>

		<category><![CDATA[transitions]]></category>

		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://lucasmatos.com.ar/flexcoderBlog/?p=69</guid>
		<description><![CDATA[
Los States en Flex nos permiten crear pantallas (screens) a diferencia de paginas web HTML,
cuando creamos una aplicacion en flex debemos pensar que solamente puede existir en la api una sola instancia de mx:application basado en el patron de diseño Singleton.
a diferencia de los  programadores web que estan acostumbrados a pensar en un cojunto [...]]]></description>
			<content:encoded><![CDATA[</p>
<p>Los States en Flex nos permiten crear pantallas (screens) a diferencia de paginas web HTML,<br />
cuando creamos una aplicacion en flex debemos pensar que solamente puede existir en la api una sola instancia de mx:application basado en el patron de diseño Singleton.<br />
a diferencia de los  programadores web que estan acostumbrados a pensar en un cojunto de paginas web que forman una api. en este caso cuando trabajamos con flex debemos pensar en pantallas y no en paginas y esto hace una gran diferencia entre una aplicacion web y una aplicacion de escritorio<br />
en flex se podria decir que estamos haciendo una aplicacion web pero con la lógica de aplicación de escritorio.</p>
<p><b>Ejemplo:</b> en este ejemplo se muestra como usar los estados para navegar entre las pantallas, tambien entre cada transición hay un efecto de fadeIn y fadeOut <img src='http://lucasmatos.com.ar/flexcoderBlog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><iframe  src="./states/test.html" width="500" height="500"  frameborder="0"></iframe></p>
<p>Codigo fuente </p>
<pre class="syntax-highlight:xml">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://lucasmatos.com.ar/flexcoderBlog/ --&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot;&gt;
	&lt;mx:states&gt;
		&lt;mx:State name=&quot;pantalla2&quot;&gt;
			&lt;mx:RemoveChild target=&quot;{datagrid1}&quot;/&gt;
			&lt;mx:SetProperty target=&quot;{label1}&quot; name=&quot;text&quot; value=&quot;Pantalla 2&quot;/&gt;
			&lt;mx:AddChild relativeTo=&quot;{button1}&quot; position=&quot;before&quot;&gt;
			&lt;mx:RichTextEditor title=&quot;Title&quot;&gt;
			&lt;/mx:RichTextEditor&gt;
			&lt;/mx:AddChild&gt;
			&lt;mx:SetProperty target=&quot;{button1}&quot; name=&quot;label&quot; value=&quot;Cambiar para pantalla 3&quot;/&gt;
			&lt;mx:SetEventHandler target=&quot;{button1}&quot; name=&quot;click&quot; handler=&quot;currentState=&#039;pantalla3&#039;&quot;/&gt;
		&lt;/mx:State&gt;

		&lt;mx:State name=&quot;pantalla3&quot;&gt;
			&lt;mx:RemoveChild target=&quot;{datagrid1}&quot;/&gt;
			&lt;mx:SetProperty target=&quot;{label1}&quot; name=&quot;text&quot; value=&quot;Pantalla 3&quot;/&gt;
			&lt;mx:SetProperty target=&quot;{button1}&quot; name=&quot;label&quot; value=&quot;Cambiar para pantalla base&quot;/&gt;
			&lt;mx:AddChild relativeTo=&quot;{button1}&quot; position=&quot;before&quot;&gt;
			&lt;mx:DateChooser/&gt;
			&lt;/mx:AddChild&gt;
			&lt;mx:SetEventHandler target=&quot;{button1}&quot; name=&quot;click&quot; handler=&quot;currentState=&#039;&#039;&quot;/&gt;
		&lt;/mx:State&gt;
	&lt;/mx:states&gt;
&lt;mx:Script&gt;
	&lt;![CDATA[
	//author Lucas Matos d-_-b
		import mx.controls.Alert;
		import mx.controls.Image;
		import mx.collections.ArrayCollection;
		import mx.core.ClassFactory; 

		[Bindable] private var dataCombo:ArrayCollection =
		new ArrayCollection( [{ label: &#039;ie&#039;, path: &#039;litho/ie.png&#039; ,fecha: &#039;2008/08/09&#039; } ,
		                     { label:  &#039;ff&#039;, path: &#039;litho/ff.png&#039; ,fecha: &#039;2008/08/09&#039; } ,
		                     { label:  &#039;ns&#039;, path: &#039;litho/ns.png&#039; ,fecha: &#039;2008/08/09&#039; } ]);  

	]]&gt;
&lt;/mx:Script&gt;
&lt;mx:Fade id=&quot;ContainerFadeOut&quot; alphaFrom=&quot;1&quot; alphaTo=&quot;0&quot; duration=&quot;1500&quot;
		target=&quot;{panel}&quot;/&gt;
&lt;mx:transitions&gt;
	&lt;mx:Transition fromState=&quot;*&quot; toState=&quot;*&quot;&gt;
		&lt;mx:Fade alphaFrom=&quot;0&quot; alphaTo=&quot;1&quot; target=&quot;{panel}&quot; duration=&quot;1500&quot; /&gt;
	&lt;/mx:Transition&gt;
&lt;/mx:transitions&gt;
&lt;mx:VBox horizontalAlign=&quot;center&quot; width=&quot;100%&quot; id=&quot;panel&quot;&gt;
&lt;mx:Label text=&quot;Pantalla 1&quot;  id=&quot;label1&quot;/&gt;
&lt;mx:DataGrid dataProvider=&quot;{dataCombo}&quot;  id=&quot;datagrid1&quot;/&gt;
&lt;mx:Button label=&quot;Cambiar para pantalla 2&quot;  id=&quot;button1&quot; click=&quot;currentState=&#039;pantalla2&#039;&quot;/&gt;
&lt;/mx:VBox&gt;
&lt;/mx:Application&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://lucasmatos.com.ar/flexcoderBlog/?feed=rss2&amp;p=69</wfw:commentRss>
		</item>
		<item>
		<title>ItemRenderer on the fly</title>
		<link>http://lucasmatos.com.ar/flexcoderBlog/?p=56</link>
		<comments>http://lucasmatos.com.ar/flexcoderBlog/?p=56#comments</comments>
		<pubDate>Tue, 07 Oct 2008 14:09:43 +0000</pubDate>
		<dc:creator>Lucas Matos</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[actionScript 3.0]]></category>

		<category><![CDATA[ClassFactory]]></category>

		<category><![CDATA[ItemRenderer]]></category>

		<category><![CDATA[List]]></category>

		<category><![CDATA[mx.core.ClassFactory]]></category>

		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://lucasmatos.com.ar/flexcoderBlog/?p=56</guid>
		<description><![CDATA[
¿Comó hacer para cambiar el ItemRenderer en tiempo de ejecución?
Una de las ventajas de usar Flex y el UIcomponent es la propiedad Itemrenderer que tienen todos los  componentes de FLEX que son derivados de la clase ListBase, e incluyen los siguientes controles: DataGrid, HorizontalList, List, Menu, TileList, y Tree.
el ComboBox es un derivado de [...]]]></description>
			<content:encoded><![CDATA[<p>
<b>¿Comó hacer para cambiar el ItemRenderer en tiempo de ejecución?</b><br/><br />
Una de las ventajas de usar Flex y el UIcomponent es la propiedad Itemrenderer que tienen todos los  componentes de FLEX que son derivados de la clase ListBase, e incluyen los siguientes controles: DataGrid, HorizontalList, List, Menu, TileList, y Tree.<br />
el ComboBox es un derivado de List y por ende tambien tiene la propiedad Itemrenderer.
</p>
<p>La propiedad ItemRenderer nos permite transformar y manipular la representación  gráfica de los datos de un componente por otro componente.</p>
<p><b>Ejemplo:</b> en el siguiente ejemplo tenemos los datos</p>
<ul>
<li>label: &#8216;ie&#8217;, path: &#8216;litho/ie.png&#8217; ,fecha: &#8216;2008/08/09&#8242; </li>
<li>label:  &#8216;ff&#8217;, path: &#8216;litho/ff.png&#8217; ,fecha: &#8216;2008/08/09&#8242; </li>
<li> label:  &#8216;ns&#8217;, path: &#8216;litho/ns.png&#8217; ,fecha: &#8216;2008/08/09&#8242; </li>
</ul>
<p>estos datos  son consumidos por el componente mx:List que nos permite mostrar solamente un dato a la vez en modo lista, por defecto toma el dato de la propiedad label.<br />
Para poder desplegar mas de un dato en la lista o anidar dentro de la lista otras representaciones gráficas del dato usamos el itemrenderer.
</p>
<p><iframe  src="./classfactory/itemrender.html" width="500" height="500"  frameborder="0"></iframe></p>
<p>
Aqui les comparto el sorce code
</p>
<p>cualquier inquietud no duden en consultar </p>
<p>archivo principla main.mxml</p>
<pre class="syntax-highlight:xml">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://lucasmatos.com.ar/flexcoderBlog/ --&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot;&gt;
&lt;mx:Script&gt;
	&lt;![CDATA[
	//author Lucas Matos d-_-b
		import mx.controls.Alert;
		import mx.controls.Image;
		import mx.collections.ArrayCollection;
		import mx.core.ClassFactory; 

		[Bindable] private var dataCombo:ArrayCollection =
		new ArrayCollection( [{ label: &#039;ie&#039;, path: &#039;litho/ie.png&#039; ,fecha: &#039;2008/08/09&#039; } ,
		                     { label:  &#039;ff&#039;, path: &#039;litho/ff.png&#039; ,fecha: &#039;2008/08/09&#039; } ,
		                     { label:  &#039;ns&#039;, path: &#039;litho/ns.png&#039; ,fecha: &#039;2008/08/09&#039; } ]);  

		public function change():void{

			if(flag.selected)
			{
			lista.itemRenderer= new ClassFactory(fechas);
			}
			else
			{
			lista.itemRenderer= new ClassFactory(item);
			}

		}
	]]&gt;
&lt;/mx:Script&gt;
&lt;mx:HBox width=&quot;100%&quot; horizontalAlign=&quot;center&quot;&gt;
	&lt;mx:VBox width=&quot;200&quot; horizontalAlign=&quot;center&quot; &gt;
	&lt;mx:Text text=&quot;Lista que usa itemRenderer con mas de una dato&quot;  width=&quot;200&quot; height=&quot;50&quot;/&gt;
	&lt;mx:Spacer width=&quot;100&quot; height=&quot;50&quot; /&gt;

		&lt;mx:CheckBox id=&quot;flag&quot; label=&quot;Cambiar el itemRenderer&quot; width=&quot;200&quot;  click=&quot;change()&quot;/&gt;

	&lt;mx:List id=&quot;lista&quot; dataProvider=&quot;{dataCombo}&quot; width=&quot;120&quot; height=&quot;250&quot; itemRenderer=&quot;item&quot;  /&gt;
	&lt;/mx:VBox&gt;

	&lt;mx:VBox width=&quot;200&quot; horizontalAlign=&quot;center&quot;&gt;
	&lt;mx:Text text=&quot;Lista sin el itemRenderer que permite mostrar solo un dato ala vez&quot; width=&quot;200&quot;  height=&quot;50&quot;/&gt;
	&lt;mx:RadioButton label=&quot;Label&quot; click=&quot;listacomun.labelField=&#039;label&#039;&quot;/&gt;
	&lt;mx:RadioButton label=&quot;Path &quot; click=&quot;listacomun.labelField=&#039;path&#039;&quot;/&gt;
	&lt;mx:RadioButton label=&quot;Fecha&quot; click=&quot;listacomun.labelField=&#039;fecha&#039;&quot;/&gt;

	&lt;mx:List id=&quot;listacomun&quot; dataProvider=&quot;{dataCombo}&quot; width=&quot;120&quot; height=&quot;250&quot;  /&gt;
	&lt;/mx:VBox&gt;

&lt;/mx:HBox&gt;

&lt;/mx:Application&gt;
</pre>
<p>archivo Item.mxml</p>
<pre class="syntax-highlight:xml">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://lucasmatos.com.ar/flexcoderBlog/ --&gt;
&lt;mx:HBox xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; width=&quot;120&quot; height=&quot;70&quot;&gt;
		&lt;mx:Label text=&quot;{data.label}&quot;/&gt;
		&lt;mx:Image source=&quot;{data.path}&quot; /&gt;
&lt;/mx:HBox&gt;
</pre>
<p>archivo fechas.mxml</p>
<pre class="syntax-highlight:xml">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;!-- http://lucasmatos.com.ar/flexcoderBlog/ --&gt;
&lt;mx:HBox xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; width=&quot;120&quot; height=&quot;70&quot;&gt;
	&lt;mx:DateField id=&quot;myText&quot;
    	yearNavigationEnabled=&quot;true&quot;
		dayNames=&quot;[&#039;D&#039;, &#039;L&#039;, &#039;M&#039;, &#039;M&#039;, &#039;J&#039;, &#039;V&#039;, &#039;S&#039;]&quot;
		monthNames=&quot;[&#039;Enero&#039;, &#039;Febrero&#039;, &#039;Marzo&#039;, &#039;Abril&#039;, &#039;Mayo&#039;,&#039;Junio&#039;,
					 &#039;Julio&#039;, &#039;Agosto&#039;, &#039;Septiembre&#039;, &#039;Octubre&#039;, &#039;Novimbre&#039;, &#039;Dicimbre&#039;]&quot;
        minYear=&quot;2006&quot;
		formatString=&quot;YYYY-MM-DD&quot;
		text=&quot;{data.fecha}&quot;  	 /&gt;
&lt;/mx:HBox&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://lucasmatos.com.ar/flexcoderBlog/?feed=rss2&amp;p=56</wfw:commentRss>
		</item>
		<item>
		<title>PNG transparente en IE</title>
		<link>http://lucasmatos.com.ar/flexcoderBlog/?p=17</link>
		<comments>http://lucasmatos.com.ar/flexcoderBlog/?p=17#comments</comments>
		<pubDate>Mon, 25 Aug 2008 15:31:59 +0000</pubDate>
		<dc:creator>Lucas Matos</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[css internet explorer]]></category>

		<category><![CDATA[diseño]]></category>

		<category><![CDATA[diseño web]]></category>

		<category><![CDATA[ie bug]]></category>

		<category><![CDATA[internet explorer bugs]]></category>

		<category><![CDATA[msie bug]]></category>

		<category><![CDATA[png]]></category>

		<category><![CDATA[png transparente]]></category>

		<category><![CDATA[transparency png on ie]]></category>

		<guid isPermaLink="false">http://lucasmatos.com.ar/flexcoderBlog/?p=17</guid>
		<description><![CDATA[¿Como hacer para que una imagen PNG soporte la transparencia en el Browser Internet Expolrer (msie)?

Un problema frecuente que tiene los diseñadores web a la hora de implementear un diseño elaborado, al cual dedicaron mucho tiempo y esmero. Esos detalles qe hacen de una pagina web algo particular  y que queda muy estetico y [...]]]></description>
			<content:encoded><![CDATA[<p><strong>¿Como hacer para que una imagen PNG soporte la transparencia en el Browser Internet Expolrer (msie)?</strong><br />
<br />
Un problema frecuente que tiene los diseñadores web a la hora de implementear un diseño elaborado, al cual dedicaron mucho tiempo y esmero. Esos detalles qe hacen de una pagina web algo particular  y que queda muy estetico y profesional.<br />
Sombras, y transparencia hace que cada elemento de nuestra pagina parezca flotar y simular una perspectiva muy cómoda a la vista. <strong>El problema</strong> resulta que si queremos usar una imagen transparente en IE y usamos un <strong>PNG</strong> el fondo transparente no se ve  <img src='http://lucasmatos.com.ar/flexcoderBlog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> <br /> Nos negamos a la idea de pasar ese PNG que nos llevo tanto tiempo en hacerlo y perder todo ese tiempo y resignarnos a la idea de sacarle las sombras y perder la calidad de colores en la imagen, si una imagen que cualquier diseñador estaría avergonzado de publicarlo.<br /> <strong>Solución</strong> <br />Estuve rastrillando la web para mostrarles un TIP muy bueno de como poner ese <strong>PNG</strong> tan bonito en nuestra pagina.<br />
<br />Si no les anda no duden en consultarme.<br />
<br />
 Saludos<br />
<br />
Como se sabe el formato PNG es el mejor formato par usar. ¿porque? </p>
<pre class="syntax-highlight:css">
.customclass{ 

position:absolute;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=&#039;.url_de_la_imagen/imagen.png&#039;); 

} </pre>
]]></content:encoded>
			<wfw:commentRss>http://lucasmatos.com.ar/flexcoderBlog/?feed=rss2&amp;p=17</wfw:commentRss>
		</item>
	</channel>
</rss>
