<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AS3 : FLEX : AIR - Portalscreen</title>
	<atom:link href="http://www.portalscreen.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.portalscreen.com</link>
	<description>Blog Source RIA  (Flex &#38; AIR)</description>
	<lastBuildDate>Sat, 13 Mar 2010 23:08:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adobe Air mobile (mac,win,lin,android &#8230; iphone)</title>
		<link>http://www.portalscreen.com/adobe-air-iphone/</link>
		<comments>http://www.portalscreen.com/adobe-air-iphone/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 22:49:35 +0000</pubDate>
		<dc:creator>Francisco</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Noticias Flex/Air]]></category>
		<category><![CDATA[adobe flex]]></category>
		<category><![CDATA[Air develop]]></category>
		<category><![CDATA[class as3]]></category>
		<category><![CDATA[Component Flex]]></category>
		<category><![CDATA[RIA flex]]></category>
		<category><![CDATA[tutoriales as3]]></category>

		<guid isPermaLink="false">http://www.portalscreen.com/?p=247</guid>
		<description><![CDATA[Atención desarrolladores, para los que todavía no lo saben o han estado desconectados durante un tiempo del desarrollo de aplicaciones RIA, se anuncia  que Adobe lanzó un comunicado oficial sobre los plazos de implementación de Flash Player 10.1 mobile &#38; Adobe AIR mobile.
Según un comunicado oficial publicado en el blog del equipo de AIR el [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Atención desarrolladores, para los que todavía no lo saben o han estado desconectados durante un tiempo del desarrollo de aplicaciones RIA, se anuncia  que Adobe lanzó un comunicado oficial sobre los plazos de implementación de Flash Player 10.1 mobile &amp; Adobe AIR mobile.</p>
<p style="text-align: justify;">Según un comunicado oficial publicado en el blog del equipo de AIR el día 12 de Febrero de 2010, y resumiendo la información ofrecida en una frase clave, vemos acontinuación lo que muchos desarrolladores as3 Flex/AIR estaban esperando.</p>
<p style="text-align: justify;">A continuación el comunicado oficial:</p>
<p><img class="alignleft size-medium wp-image-248" style="padding: 5px;" title="Aplicacion movil Air 2.0" src="http://www.portalscreen.com/contenido/archivos/2010/03/juegos-para-moviles-300x300.jpg" alt="Aplicaiones para dispositivos móviles" width="129" height="129" /></p>
<p style="text-align: justify;">&#8220;<em>Using Adobe AIR, developers and designers will be able to build  standalone applications to target devices running the Android operating  system.  <strong>These very same applications can also be deployed as desktop  AIR applications on Windows, Mac, Linux, and also as applications on the  iPhone using the <a href="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/">Packager  for iPhone </a> .</strong></em>&#8220;</p>
<p>¿Qué significa todo esto?, si compañeros, efectivamente, la idea es desarrollar una única aplicación AIR y distribuirla en todas las plataformas móviles compatibles anteriormente mencionadas, incluyendo iPhone. Si, habeis leido bien, y según el contenido de este comunicado está previsto para el segundo semestre del año. Gran noticia y buen trabajo Adobe.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-3676467590725940";
/* 468x60, creado 20/12/09 */
google_ad_slot = "5503742124";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.portalscreen.com/adobe-air-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Actionscript 3: Design Patterns</title>
		<link>http://www.portalscreen.com/actionscript-design-patterns/</link>
		<comments>http://www.portalscreen.com/actionscript-design-patterns/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 19:22:12 +0000</pubDate>
		<dc:creator>Francisco</dc:creator>
				<category><![CDATA[Referencias (eBook, PDF..)]]></category>
		<category><![CDATA[adobe flex]]></category>
		<category><![CDATA[as3 book]]></category>
		<category><![CDATA[ebook]]></category>
		<category><![CDATA[RIA flex]]></category>
		<category><![CDATA[tutoriales as3]]></category>

		<guid isPermaLink="false">http://www.portalscreen.com/?p=231</guid>
		<description><![CDATA[Con el aumento constante de sitios Web dinámicos, es necesario que el código utilizado sea muy versátil. ActionScript es un lenguaje de programación cada vez más sofisticado y con muchas posibilidades. La versión 3 mejora el rendimiento y ofrece nuevas inclusiones como el uso de expresiones regulares y nuevas formas de empaquetar las clases. Y [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Con el aumento constante de sitios Web dinámicos, es necesario que el código utilizado sea muy versátil. ActionScript es un lenguaje de programación cada vez más sofisticado y con muchas posibilidades. La versión 3 mejora el rendimiento y ofrece nuevas inclusiones como el uso de expresiones regulares y nuevas formas de empaquetar las clases. Y si usamos los patrones de diseño, la optimización del código será mucho más efectiva, ya que podremos reutilizarlos según nos convenga.</p>
<p style="text-align: justify;">Con este libro aprenderá a aplicar patrones de diseño para solucionar problemas, optimizar código y aumentar la productividad. Encontrará pequeñas aplicaciones de ejemplo ilustrando cada patrón de diseño para comprender a la perfección cómo funcionan. Verá cómo programar proyectos de éxito de principio a fin y se convertirá en un auténtico experto en ActionScript.</p>
<div style="height: 180px; padding-top: 12px;"><img class="alignleft size-full wp-image-232" title="ActionScript 3 Patrones de diseno" src="http://www.portalscreen.com/contenido/archivos/2010/03/ActionScript-3-Patrones-de-diseno-10886.jpg" alt="Patrones de diseño en actionscript 3" width="167" height="167" /></p>
<p style="text-align: justify;"><strong>Editorial</strong>: ANAYA MULTIMEDIA.</p>
<p style="text-align: justify;"><strong>Colección</strong>: PROGRAMACIÓN.</p>
<p style="text-align: justify;"><strong>Autor / Autores</strong>: Lott, Joey; Patterson, Danny.</p>
<p style="text-align: justify;"><strong>Número de páginas</strong>: 352</p>
<p style="text-align: justify;"><strong>Encuadernación</strong>: Rústica Hilo</p>
<p style="text-align: justify;"><strong>Formato</strong>: 17,50 x 22,50.</p>
</div>
<p style="text-align: justify;">Bajo mi punto de vista, es una referencia bastante importante en el mundo del desarrollo de aplicaciones Ria. Principalmente se basa en la estructuración de código y en la unificación de lenguaje entre programadores basandonos en un patrón aplicado. Lo recomiendo para todo tipo de perfil de programador, muy útil.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-3676467590725940";
/* 468x60, creado 20/12/09 */
google_ad_slot = "5503742124";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.portalscreen.com/actionscript-design-patterns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashDay: iniciativa extraoficial</title>
		<link>http://www.portalscreen.com/flashday-as3-flex/</link>
		<comments>http://www.portalscreen.com/flashday-as3-flex/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 23:03:31 +0000</pubDate>
		<dc:creator>Francisco</dc:creator>
				<category><![CDATA[Noticias Flex/Air]]></category>
		<category><![CDATA[adobe flex]]></category>
		<category><![CDATA[Air develop]]></category>
		<category><![CDATA[Component Flex]]></category>
		<category><![CDATA[Flex e4x]]></category>
		<category><![CDATA[RIA flex]]></category>

		<guid isPermaLink="false">http://www.portalscreen.com/?p=258</guid>
		<description><![CDATA[El próximo día 4 de Marzo tendrá lugar la primera edición del FlashDay, evento concebido y organizado por Xavi Beumala y Enrique Duvós como iniciativa personal fuera del ámbito de Adobe. El evento tiene como objetivo ofrecer un entorno de encuentro en el que se pueda mostrar lo que la plataforma Flash permite hacer a [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">El próximo día 4 de Marzo tendrá lugar la primera edición del FlashDay, evento concebido y organizado por Xavi Beumala y Enrique Duvós como iniciativa personal fuera del ámbito de Adobe. El evento tiene como objetivo ofrecer un entorno de encuentro en el que se pueda mostrar lo que la plataforma Flash permite hacer a nivel experimental o conceptual.</p>
<p style="text-align: justify;">No se pretende mostrar código sino qué hace el código, además con la premisa de que lo que se muestre sea innovador e inspirador. Esto hace que sea un evento válido, no solo para programadores sino para cualquiera persona que esté interesada en la tecnología Flash como herramienta creativa.</p>
<p style="text-align: justify;">Entre algunas de las novedades que se podrán ver en el evento, se encuentran algunos ejemplos de lo que se puede hacer con las nuevas funcionalidades de generación dinámica de audio (a.k.a síntesis de audio) del Flash Player, un campo apasionante dentro del mundo de la programación del que desde hace bien poquito podemos sacar partido gracias a las nuevas APIs introducidas en el Flash Player 10. Así que ya sabes, si estas por Barcelona el día 4 de Marzo no dejes de reservarte 5 horitas (de de 14 a 19h) para asistir al evento.</p>
<p style="text-align: center;"><a href="http://www.portalscreen.com/contenido/archivos/2010/02/flashday.png"><img class="alignnone size-medium wp-image-261" title="flashday" src="http://www.portalscreen.com/contenido/archivos/2010/02/flashday-300x188.png" alt="flashday" width="300" height="188" /></a></p>
<p style="font-size: 9px;">powered by: www.joangarnet.com.</p>
<p><!--adsense#3dmax--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.portalscreen.com/flashday-as3-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Charts flex : ejemplos de chart en Flex</title>
		<link>http://www.portalscreen.com/flex-charts-examples/</link>
		<comments>http://www.portalscreen.com/flex-charts-examples/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:57:34 +0000</pubDate>
		<dc:creator>Francisco</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex - Código Libre]]></category>
		<category><![CDATA[adobe flex]]></category>
		<category><![CDATA[class as3]]></category>
		<category><![CDATA[Component Flex]]></category>
		<category><![CDATA[tutoriales as3]]></category>

		<guid isPermaLink="false">http://www.portalscreen.com/?p=193</guid>
		<description><![CDATA[Recoger datos desde una base de datos XML y adaptarlos a gráficos estadísticos Chart Flex de una forma profesional y de aspecto amigable ya no es problema. Gracias a los componentes DataVisualization del que disponemos en Flex, esta taréa resulta muy fácil de implementar y ofrece una gran variedad de uso para aplicaciones complejas, ya [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Recoger datos desde una base de datos XML y adaptarlos a gráficos estadísticos Chart Flex de una forma profesional y de aspecto amigable ya no es problema. Gracias a los componentes DataVisualization del que disponemos en Flex, esta taréa resulta muy fácil de implementar y ofrece una gran variedad de uso para aplicaciones complejas, ya que podemos crear componentes propios partiendo de la base de estos componentes gráficos, pero a su vez dandoles un toque personal y adaptado a las circunstancias que se nos presenten.<span id="more-193"></span><br />
<br/>
</p>
<p style="text-align: justify;">
Para ir familiariazandonos con estas librerias, he desarrollado un ejemplo muy básico pero a la vez aclarativo de como se implementan dos de estos componentes estadísticos. Entrando en detalle, se tratan de los componentes &#8216;ColumnChart&#8217; y &#8216;PieChart&#8217; a mi parecer dos de los más importantes tipos de gráficas de las cuales nos pueden hacer falta en el desarrollo de aplicaciones RIA Flex y las cuales son muy significativas a la hora de explicar en pocas palabras los resultados obtenidos.<br />
<br/>
</p>
<p style="text-align: justify;">
La aplicación consta de dos ficheros, el primero que encontramos es el fichero contenedor de los datos en formato XML, el cual será llamado desde la aplicación para ser dibujado gráficamente mediante los componentes de DataVisualization.
</p>
<p><br/><br />
<strong>datos.xml</strong></p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #339933;">&lt;?</span>xml version<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;1.0&quot;</span> encoding<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;utf-8&quot;</span><span style="color: #339933;">?&gt;</span>
<span style="color: #339933;">&lt;</span>chart<span style="color: #339933;">&gt;</span>  
     <span style="color: #339933;">&lt;</span>equipo<span style="color: #339933;">&gt;</span>  
         <span style="color: #339933;">&lt;</span>name<span style="color: #339933;">&gt;</span>Equipo Azul<span style="color: #339933;">&lt;/</span>name<span style="color: #339933;">&gt;</span>  
         <span style="color: #339933;">&lt;</span>tiempo<span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">17</span><span style="color: #339933;">&lt;/</span>tiempo<span style="color: #339933;">&gt;</span>  
     <span style="color: #339933;">&lt;/</span>equipo<span style="color: #339933;">&gt;</span>
     <span style="color: #339933;">&lt;</span>equipo<span style="color: #339933;">&gt;</span>  
         <span style="color: #339933;">&lt;</span>name<span style="color: #339933;">&gt;</span>Equipo Rojo<span style="color: #339933;">&lt;/</span>name<span style="color: #339933;">&gt;</span>  
         <span style="color: #339933;">&lt;</span>tiempo<span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">24</span><span style="color: #339933;">&lt;/</span>tiempo<span style="color: #339933;">&gt;</span>  
     <span style="color: #339933;">&lt;/</span>equipo<span style="color: #339933;">&gt;</span>
     <span style="color: #339933;">&lt;</span>equipo<span style="color: #339933;">&gt;</span>  
         <span style="color: #339933;">&lt;</span>name<span style="color: #339933;">&gt;</span>Equipo Verde<span style="color: #339933;">&lt;/</span>name<span style="color: #339933;">&gt;</span>  
         <span style="color: #339933;">&lt;</span>tiempo<span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">6</span><span style="color: #339933;">&lt;/</span>tiempo<span style="color: #339933;">&gt;</span>  
     <span style="color: #339933;">&lt;/</span>equipo<span style="color: #339933;">&gt;</span>
     <span style="color: #339933;">&lt;</span>equipo<span style="color: #339933;">&gt;</span>  
        <span style="color: #339933;">&lt;</span>name<span style="color: #339933;">&gt;</span>Equipo Negro<span style="color: #339933;">&lt;/</span>name<span style="color: #339933;">&gt;</span>  
        <span style="color: #339933;">&lt;</span>tiempo<span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">10</span><span style="color: #339933;">&lt;/</span>tiempo<span style="color: #339933;">&gt;</span>  
    <span style="color: #339933;">&lt;/</span>equipo<span style="color: #339933;">&gt;</span>  
<span style="color: #339933;">&lt;/</span>chart<span style="color: #339933;">&gt;</span></pre></div></div>

<p><br/></p>
<p style="text-align: justify;">
Y por otro lado encontramos el fichero Chart_view.mxml, el cual define a nivel de componente la aplicación en sí, y en él podemos encontrar los dos componentes gráficos que han sido implementados.
</p>
<p><br/><br />
<strong>Chart_view.mxml</strong></p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #339933;">&lt;?</span>xml version<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;1.0&quot;</span> encoding<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;utf-8&quot;</span><span style="color: #339933;">?&gt;</span>
<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>Application xmlns<span style="color: #339933;">:</span>mx<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;absolute&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;435&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;348&quot;</span> 
	backgroundGradientAlphas<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;[1.0, 1.0]&quot;</span> backgroundGradientColors<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;[#FFFFFF, #FFFFFF]&quot;</span>
	creationComplete<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;datos.send()&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>HTTPService url<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;datos.xml&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;datos&quot;</span> result<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;handlerResult(event)&quot;</span> resultFormat<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;e4x&quot;</span> <span style="color: #339933;">/&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>Script<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;!</span><span style="color: #009900;">&#91;</span>CDATA<span style="color: #009900;">&#91;</span>
			<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">mx.rpc.events.ResultEvent</span><span style="color: #339933;">;</span>
&nbsp;
		 	<span style="color: #009900;">&#91;</span>Bindable<span style="color: #009900;">&#93;</span><span style="color: #000000; font-weight: bold;">private</span> var info<span style="color: #339933;">:</span>XMLList<span style="color: #339933;">;</span>  
&nbsp;
	        <span style="color: #000000; font-weight: bold;">private</span> function handlerResult<span style="color: #009900;">&#40;</span>evt<span style="color: #339933;">:</span>ResultEvent<span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span><span style="color: #009900;">&#123;</span>  
&nbsp;
	             info <span style="color: #339933;">=</span> evt.<span style="color: #006633;">result</span>.<span style="color: #006633;">equipo</span><span style="color: #339933;">;</span>  
&nbsp;
	         <span style="color: #009900;">&#125;</span>  
&nbsp;
		<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>Script<span style="color: #339933;">&gt;</span>
&nbsp;
	 <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>ColumnChart dataProvider<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;{info}&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;testChart&quot;</span> showDataTips<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;true&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;381&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;177&quot;</span> x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;27&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;29&quot;</span><span style="color: #339933;">&gt;</span>  
        <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>horizontalAxis<span style="color: #339933;">&gt;</span>  
             <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>CategoryAxis dataProvider<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;{info}&quot;</span> categoryField<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;name&quot;</span><span style="color: #339933;">/&gt;</span>  
        <span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>horizontalAxis<span style="color: #339933;">&gt;</span>  
        <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>series<span style="color: #339933;">&gt;</span>  
             <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>ColumnSeries xField<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;name&quot;</span> yField<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tiempo&quot;</span> displayName<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Puntuacion&quot;</span><span style="color: #339933;">/&gt;</span>  
        <span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>series<span style="color: #339933;">&gt;</span>  
      <span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>ColumnChart<span style="color: #339933;">&gt;</span>  
	 <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span><span style="color: #003399;">Label</span> x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;128.5&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;8&quot;</span> text<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Datos estadísticos automáticos&quot;</span> fontWeight<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;bold&quot;</span> color<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#000000&quot;</span><span style="color: #339933;">/&gt;</span>
	 <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span><span style="color: #003399;">Canvas</span> x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;18.5&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;214&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;398&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;124&quot;</span> borderStyle<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;solid&quot;</span> borderColor<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#757575&quot;</span><span style="color: #339933;">&gt;</span>
	 	 <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>PieChart x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;20.35&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;piechart1&quot;</span> showDataTips<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;true&quot;</span> dataProvider<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;{info}&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;148.17627&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;122&quot;</span><span style="color: #339933;">&gt;</span>
	 	 	 <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>series<span style="color: #339933;">&gt;</span>
	 	 	 	 <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>PieSeries displayName<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Series 1&quot;</span> field<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;tiempo&quot;</span> nameField<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;name&quot;</span> labelField<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;name&quot;</span><span style="color: #339933;">/&gt;</span>
	 	 	 <span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>series<span style="color: #339933;">&gt;</span>
	 	 <span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>PieChart<span style="color: #339933;">&gt;</span>
	 	 <span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>Legend dataProvider<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;{piechart1}&quot;</span> x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;231&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;5&quot;</span><span style="color: #339933;">/&gt;</span>
	 <span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>Canvas<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>Application<span style="color: #339933;">&gt;</span></pre></div></div>

<p><br/></p>
<p style="text-align: justify;">
A continuación se puede ver el resultado de la compilación, el cual muestra la información depositada en el fichero XML de una forma profesional y con un aspecto atractivo y amigable al usuario, como bien anotábamos en los primeros párrafos.<br />
<br/>
</p>
<p><center><br />
<img src="http://www.portalscreen.com/contenido/archivos/2010/02/chart_sample.png" alt="sample of charting in flex" title="Charts Flex actionscript 3" /></center><br />
<br/></p>
<p style="text-align: justify;">
Hay que destacar que los componentes DataVisualization, ofrecen una magnitud enorme de posibilidades de configurar sus parámetros, de tal modo que, por ejemplo podemos determinar los vertices de la gráfica con imágenes personalizadas o valores propios de los datos obtenidos, es decir, ofrece un amplio abanico de posibilidades de personalización que espero poder ofreceros en los siguientes post.<br />
<br/>
</p>
<p style="text-align: justify;">
Para terminar, agraceros el tiempo depositado en el blog y espero que os haya servido esta breve explicación. Un saludo.
</p>
<p><br/><br />
<!--adsense#3dmax--><br />
<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.portalscreen.com/flex-charts-examples/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Clase SharedObject : conociendo las cookies de Flex</title>
		<link>http://www.portalscreen.com/sharedobject-flex-as3/</link>
		<comments>http://www.portalscreen.com/sharedobject-flex-as3/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 22:04:26 +0000</pubDate>
		<dc:creator>Francisco</dc:creator>
				<category><![CDATA[Adobe Flex - Código Libre]]></category>
		<category><![CDATA[adobe flex]]></category>
		<category><![CDATA[as3 book]]></category>
		<category><![CDATA[class as3]]></category>
		<category><![CDATA[RIA flex]]></category>

		<guid isPermaLink="false">http://www.portalscreen.com/?p=180</guid>
		<description><![CDATA[Hola a todos, dejen que les exponga una de las clases que suelen dar mucho mucho juego en nuestras aplicaciones Flex &#38; Air. Para este caso, me he dirijido a la documentación que adobe nos proporciona a todos. Se trata de la clase SharedObject y la importancia de usarla en las aplicaciones RIA.
Pues bien, la [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><!--:es-->Hola a todos, dejen que les exponga una de las clases que suelen dar mucho mucho juego en nuestras aplicaciones Flex &amp; Air. Para este caso, me he dirijido a la documentación que adobe nos proporciona a todos. Se trata de la clase SharedObject y la importancia de usarla en las aplicaciones RIA.<br/><br/></p>
<p style="text-align: justify;">Pues bien, la clase SharedObject se emplea para leer y almacenar cantidades limitadas de datos en el equipo de un usuario. Los objetos compartidos permiten que se compartan datos en tiempo real entre objetos persistentes en el equipo del usuario. Los objetos compartidos locales son similares a las cookies del navegador.<br/><br/></p>
<p>A continuación se muestran tres usos posibles de los objetos compartidos:</p>
<p style="text-align: justify;">* Un juego que almacena la puntuación máxima de un usuario. El juego puede proporcionar datos personalizados a los usuarios, como el nombre de usuario y la máxima puntuación, sin dedicar espacio de almacenamiento del servidor.<br />
<br/><br/>
</p>
<p style="text-align: justify;">* Una aplicación de listín telefónico que funcione en línea y sin conexión. El listín, como una aplicación de proyector, contendría una caché de datos locales con una lista de nombres y números de teléfono introducidos por el usuario. Cuando hubiera una conexión a Internet disponible, la aplicación recuperaría información actualizada de un servidor. En caso contrario, la aplicación utilizaría los últimos datos guardados en objetos compartidos.<br />
<br/><br/>
</p>
<p style="text-align: justify;">* Preferencias de usuario o datos de control para un sitio Web complejo, como un registro de los artículos que ha leído un usuario en un sitio de noticias. El registro de esta información le permitiría mostrar de forma distinta los artículos que ya ha leído y los que no ha leído. Si se almacena esta información en el equipo del usuario, se reduce la carga del servidor.<br />
<br/><br/>
</p>
<p style="text-align: justify;">Los objetos compartidos locales mantienen la persistencia local. Por ejemplo, puede llamar a SharedObject.getLocal() para crear un objeto compartido que contenga la máxima puntuación obtenida en un juego. Dado que el objeto compartido es persistente localmente, Flash guarda sus atributos de datos en el equipo del usuario cuando se cierra el juego. La próxima vez que se abra el juego, aparecerá la máxima puntuación de la sesión anterior. También se pueden definir las propiedades del objeto compartido como null antes de cerrar el juego. De esta forma, la próxima vez que se ejecute el archivo SWF, el juego se abrirá sin mostrar la puntuación anterior.<br />
<br/><br/>
</p>
<p>Para crear un objeto local compartido, utilice la siguiente sintaxis:<br/></p>
<p><strong>var so:SharedObject = SharedObject.getLocal(&#8220;userHighScore&#8221;);<br />
so.data.highScore = new Number();<br />
so.flush();</strong><br />
<br/><br/></p>
<p style="text-align: justify;">En este ejemplo, el objeto compartido está alineado o copiado en el disco de forma explícita. Cuando se cierra una aplicación, los objetos compartidos se alinean automáticamente; sin embargo, aquí se muestran para demostrar el paso de escribir los datos en un disco.<br />
<br/><br/>
</p>
<p style="text-align: justify;">Consideraciones relativas al espacio del disco local: Los objetos compartidos locales pueden ser muy útiles, pero presentan algunas limitaciones que debe considerar al diseñar su aplicación. En ocasiones es posible que los archivos SWF no puedan escribir objetos compartidos locales y algunas veces los datos almacenados en objetos compartidos locales deben eliminarse sin que el usuario lo advierta. Los usuarios de Flash Player pueden gestionar el espacio de disco disponible para dominios individuales o para todos los dominios. Si los usuarios reducen el espacio en disco disponible, es posible que se eliminen algunos objetos compartidos locales. Los usuarios de Flash Player tienen también controles de confidencialidad para impedir a dominios de terceros (distintos de los de la barra de direcciones del navegador) que lean o escriban objetos compartidos locales.<br />
<br/><br />
<!--adsense#adobelarge--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.portalscreen.com/sharedobject-flex-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lectura de Feed RSS en AIR</title>
		<link>http://www.portalscreen.com/parse-rss-air/</link>
		<comments>http://www.portalscreen.com/parse-rss-air/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 23:02:19 +0000</pubDate>
		<dc:creator>Francisco</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[adobe flex]]></category>
		<category><![CDATA[RIA flex]]></category>

		<guid isPermaLink="false">http://www.portalscreen.com/?p=155</guid>
		<description><![CDATA[Hola a todos nuevamente. Como post de apertura de esta nueva categoría, &#8216;Aplicaciones AIR&#8217;, pretendo enseñaros la creación de aplicaciones básicas basadas en AIR. De vez en cuando me gustaría mostraros alguna cosa un poco más desarrollada, por supuesto, esta y todas las aplicaciones estarán orientadas a la usabilidad dentro de este entorno.

Comentado y aclarado [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Hola a todos nuevamente. Como post de apertura de esta nueva categoría, &#8216;Aplicaciones AIR&#8217;, pretendo enseñaros la creación de aplicaciones básicas basadas en AIR. De vez en cuando me gustaría mostraros alguna cosa un poco más desarrollada, por supuesto, esta y todas las aplicaciones estarán orientadas a la usabilidad dentro de este entorno.<span id="more-155"></span></p>
<p></p>
<p style="text-align: justify;">Comentado y aclarado lo anteriormente mencionado, comienzo mostrando este pequeño Widget desarrollado en AIR. Su finalidad es bastante sencilla, está basado en la idea de recoger información de ciertas Web que ofrecen servicio de noticias mediante Feed´s RSS, y los cuales aprovecharemos para crearnos un pequeño entorno el cual recoja esta información, a veces pesada en su método de búsqueda. Con lo cual nos hará más facil la recopilación de cierta información de interes social, y le daremos un toque personal para ajustarlo a nuestro justo.</p>
<p></p>
<p style="text-align: justify;">Pues bien, para empezar hay que decir que la aplicación ha sido desarrollada de una manera limpia y simple, basandome en dos clases MXML. La primera clase contiene las vistas principales de la aplicación y la segunda clase, es un componente Flex que extiende de un Canvas, el cual ha sido creado para el listado de las noticias que recojamos. No os preocupeis, a continuación se explica cada una de las dos clases anteriormente mencionadas.</p>
<p>
<strong>&#8220;ps_feed_rss.mxml&#8221;</strong></p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #339933;">&lt;?</span>xml version<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;1.0&quot;</span> encoding<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;utf-8&quot;</span><span style="color: #339933;">?&gt;</span>
<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>WindowedApplication xmlns<span style="color: #339933;">:</span>mx<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;absolute&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;250&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;334&quot;</span> 
	borderColor<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#000000&quot;</span> backgroundGradientAlphas<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;[1.0, 1.0]&quot;</span> backgroundGradientColors<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;[#191919, #C7B3B3]&quot;</span>
	showStatusBar<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;false&quot;</span> showTitleBar<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;true&quot;</span> showGripper<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;false&quot;</span> title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;www.portalscreen.com || Lector RSS&quot;</span>
	creationComplete<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;init();&quot;</span> usePreloader<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;true&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>Script<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;!</span><span style="color: #009900;">&#91;</span>CDATA<span style="color: #009900;">&#91;</span>
			<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">mx.rpc.events.ResultEvent</span><span style="color: #339933;">;</span>
			<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">flash.net.navigateToURL</span><span style="color: #339933;">;</span>
			<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">mx.controls.Alert</span><span style="color: #339933;">;</span>
			<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">mx.collections.ArrayCollection</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #009900;">&#91;</span>Bindable<span style="color: #009900;">&#93;</span>
			<span style="color: #000000; font-weight: bold;">private</span> var ListaFeeds<span style="color: #339933;">:</span> ArrayCollection<span style="color: #339933;">;</span>
			<span style="color: #000000; font-weight: bold;">private</span> var obj<span style="color: #339933;">:</span> <span style="color: #003399;">Object</span><span style="color: #339933;">;</span>
			<span style="color: #000000; font-weight: bold;">private</span> var stringFeed<span style="color: #339933;">:</span>URLRequest <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://estaticos.marca.com/rss/portada.xml'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000000; font-weight: bold;">private</span> var _loader<span style="color: #339933;">:</span>URLLoader<span style="color: #339933;">;</span>
			<span style="color: #009900;">&#91;</span>Bindable<span style="color: #009900;">&#93;</span>
			<span style="color: #000000; font-weight: bold;">private</span> var listadoResultado<span style="color: #339933;">:</span>ArrayCollection <span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #000000; font-weight: bold;">private</span> function init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span><span style="color: #009900;">&#123;</span>
&nbsp;
				ListaFeeds <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ArrayCollection<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #666666; font-style: italic;">// Agregamos Feeds al ComboBox</span>
				obj <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">Object</span><span style="color: #339933;">;</span>
					obj.<span style="color: #006633;">label</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Marca.com | Portada&quot;</span><span style="color: #339933;">;</span>
					obj.<span style="color: #006633;">data</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://estaticos.marca.com/rss/portada.xml&quot;</span><span style="color: #339933;">;</span>
					ListaFeeds.<span style="color: #006633;">addItem</span><span style="color: #009900;">&#40;</span>obj<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				obj <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">Object</span><span style="color: #339933;">;</span>
					obj.<span style="color: #006633;">label</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Elpais.com | Deportes&quot;</span><span style="color: #339933;">;</span>
					obj.<span style="color: #006633;">data</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://www.elpais.com/rss/feed.html?feedId=17048&quot;</span><span style="color: #339933;">;</span>
					ListaFeeds.<span style="color: #006633;">addItem</span><span style="color: #009900;">&#40;</span>obj<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #666666; font-style: italic;">// Inicializamos la carga del primer feed </span>
				<span style="color: #666666; font-style: italic;">// y creamos listener de respuesta de datos</span>
				_loader <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> URLLoader<span style="color: #339933;">;</span>
				_loader.<span style="color: #006633;">addEventListener</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">Event</span>.<span style="color: #006633;">COMPLETE</span>, finishLoaded<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
				_loader.<span style="color: #006633;">load</span><span style="color: #009900;">&#40;</span>stringFeed<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>			
&nbsp;
			<span style="color: #009900;">&#125;</span>
&nbsp;
			<span style="color: #000000; font-weight: bold;">private</span> function finishLoaded<span style="color: #009900;">&#40;</span>ev<span style="color: #339933;">:</span><span style="color: #003399;">Event</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span><span style="color: #009900;">&#123;</span>
&nbsp;
				listadoResultado <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ArrayCollection<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
				<span style="color: #000000; font-weight: bold;">for</span> each <span style="color: #009900;">&#40;</span> var dato<span style="color: #339933;">:*</span> in XML<span style="color: #009900;">&#40;</span>ev.<span style="color: #006633;">target</span>.<span style="color: #006633;">data</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">channel</span>.<span style="color: #006633;">item</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
					trace<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'----'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
					listadoResultado.<span style="color: #006633;">addItem</span><span style="color: #009900;">&#40;</span>dato<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
				<span style="color: #009900;">&#125;</span>
&nbsp;
				resultado.<span style="color: #006633;">dataProvider</span> <span style="color: #339933;">=</span> listadoResultado<span style="color: #339933;">;</span>
&nbsp;
&nbsp;
&nbsp;
			<span style="color: #009900;">&#125;</span>
&nbsp;
			<span style="color: #000000; font-weight: bold;">private</span> function changeSelected<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span><span style="color: #009900;">&#123;</span>
				stringFeed <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #009900;">&#40;</span>cmbFeed.<span style="color: #006633;">selectedItem</span>.<span style="color: #006633;">data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				_loader.<span style="color: #006633;">load</span><span style="color: #009900;">&#40;</span>stringFeed<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
			<span style="color: #000000; font-weight: bold;">private</span> function gotoWeb<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span><span style="color: #009900;">&#123;</span>
&nbsp;
				navigateToURL<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'http://www.portalscreen.com'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>				
			<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
		<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>Script<span style="color: #339933;">&gt;</span>
&nbsp;
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>ComboBox x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;9&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;25&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;cmbFeed&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;198&quot;</span> dataProvider<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;{ListaFeeds}&quot;</span> change<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;changeSelected()&quot;</span> <span style="color: #339933;">/&gt;</span>
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span><span style="color: #003399;">Label</span> x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;10&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;10&quot;</span> text<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Seleccione entrada RSS:&quot;</span> color<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#FFFFFF&quot;</span><span style="color: #339933;">/&gt;</span>
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span><span style="color: #003399;">List</span> x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;6&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;77&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;237&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;resultado&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;211&quot;</span> itemRenderer<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;comboRenderer&quot;</span> dataProvider<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;{listadoResultado}&quot;</span> selectable<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;false&quot;</span> <span style="color: #339933;">/&gt;</span>
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span><span style="color: #003399;">Label</span> x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;9&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;59&quot;</span> text<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Resultados&quot;</span> color<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#FFFFFF&quot;</span><span style="color: #339933;">/&gt;</span>
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span><span style="color: #003399;">Label</span> x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;126&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;287&quot;</span> text<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;by Portalscreen.com&quot;</span> color<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#FFFFFF&quot;</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;web&quot;</span> click<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;gotoWeb()&quot;</span> mouseChildren<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;false&quot;</span> buttonMode<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;true&quot;</span><span style="color: #339933;">/&gt;</span>
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>HRule x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;10&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;52&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;228&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;2&quot;</span> strokeColor<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#1A1A1A&quot;</span><span style="color: #339933;">/&gt;</span>
&nbsp;
<span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>WindowedApplication<span style="color: #339933;">&gt;</span></pre></div></div>

<p></p>
<p style="text-align: justify;">El código habla por sí mismo. El proceso es el siguiente, la función init() crea dos objetos, uno por cada feed que quremos añadir a la lista desplegable que posteriormente nos servirá para decidir que feed queremos visualizar, el siguiente paso es crear la variable que nos realizará la recuperación de los datos XML de noticias, que posteriormete una vez terminada, el Listener de esta variable nos realizará el pintado de las noticias en su correspondiente componente, en este caso se trata de un ComboBox.</p>
<p></p>
<p style="text-align: justify;">
El siguiente y último paso es el de crear el Componente ItemRenderer que nos servirá para darle un toque más artístico a la aplicación. En este caso se ha utilizado un componente basado en un Canvas y en él hemos implantado un TextArea para el título de la noticia y un Label que hará de enlace de la noticia hacia la web de su publicación.</p>
<p>
<b>&#8220;comboRenderer.mxml&#8221;</b></p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #339933;">&lt;?</span>xml version<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;1.0&quot;</span> encoding<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;utf-8&quot;</span><span style="color: #339933;">?&gt;</span>
<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span><span style="color: #003399;">Canvas</span> xmlns<span style="color: #339933;">:</span>mx<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://www.adobe.com/2006/mxml&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;218&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;60&quot;</span> backgroundColor<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#EBEBEB&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>Script<span style="color: #339933;">&gt;</span>
		<span style="color: #339933;">&lt;!</span><span style="color: #009900;">&#91;</span>CDATA<span style="color: #009900;">&#91;</span>
			<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">flash.net.navigateToURL</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>Script<span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span><span style="color: #003399;">TextArea</span> x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;5&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;5&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;192&quot;</span> height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;37&quot;</span> text<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;{data.title}&quot;</span> textAlign<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;left&quot;</span> selectable<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;false&quot;</span> editable<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;false&quot;</span> borderStyle<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;none&quot;</span> backgroundAlpha<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0.0&quot;</span> fontWeight<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;bold&quot;</span> color<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#2C2C2C&quot;</span><span style="color: #339933;">/&gt;</span>
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span><span style="color: #003399;">Label</span> x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;138&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;40&quot;</span> text<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Leer +&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;75&quot;</span> textAlign<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;right&quot;</span> color<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#061781&quot;</span> fontWeight<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;bold&quot;</span>
		mouseChildren<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;false&quot;</span> buttonMode<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;true&quot;</span> click<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;navigateToURL(new URLRequest(data.link));&quot;</span><span style="color: #339933;">/&gt;</span>
	<span style="color: #339933;">&lt;</span>mx<span style="color: #339933;">:</span>HRule x<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;9&quot;</span> y<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;55&quot;</span> width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;200&quot;</span><span style="color: #339933;">/&gt;</span>
<span style="color: #339933;">&lt;/</span>mx<span style="color: #339933;">:</span>Canvas<span style="color: #339933;">&gt;</span></pre></div></div>

<p></p>
<p style="text-align: justify;">Para concluir con esta entrada, os facilito una url de Descarga de este ejemplito sobre como crear un lector de Feed´s RSS y una imagen de muestra sobre la aplicación. Un saludo y como siempre, espero que sirva de ayuda para muchos y de referencia para otros.</p>
<p>
<a title="RIA lector RSS flex AIR" href="http://www.portalscreen.com/downloads/lector_rss.rar">Descargar Aplicación AIR</a></p>
<p>&nbsp;</p>
<p><!--adsense#adobelarge--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.portalscreen.com/parse-rss-air/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Papervision 3D : Essentials (eBook)</title>
		<link>http://www.portalscreen.com/papervision-essentials-ebook/</link>
		<comments>http://www.portalscreen.com/papervision-essentials-ebook/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 12:17:48 +0000</pubDate>
		<dc:creator>Francisco</dc:creator>
				<category><![CDATA[Referencias (eBook, PDF..)]]></category>
		<category><![CDATA[flex 3d]]></category>
		<category><![CDATA[libpapervision]]></category>
		<category><![CDATA[papervision3d]]></category>

		<guid isPermaLink="false">http://www.portalscreen.com/?p=132</guid>
		<description><![CDATA[Pocos son los que desconocen las nuevas aplicaciones 3D desarrolladas en Adobe flex o flash, cierto, nos referimos a la librería Papervision 3D. Esta grandiosa librería nos proporciona desarrollar un espacio totalmente adaptado al 3D sin la necesidad de utilizar costosos frameworks 3D o parecidos, ya que se trata de código abierto.

De ahí la iniciativa [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Pocos son los que desconocen las nuevas aplicaciones 3D desarrolladas en Adobe flex o flash, cierto, nos referimos a la librería Papervision 3D. Esta grandiosa librería nos proporciona desarrollar un espacio totalmente adaptado al 3D sin la necesidad de utilizar costosos frameworks 3D o parecidos, ya que se trata de código abierto.</p>
<p><span id="more-132"></span><br/></p>
<p style="text-align: justify;">De ahí la iniciativa que comunidades de desarrolladores toman para crear nuevas e ingeniosas iniciativas basadas en este software. Basandonos en esta pequeña introducción, os hago llegar esta grandiosa guía, disponible en libro y para ebook, escrito por <a href="http://jeffwinder.blogspot.com/" target="_blank">Jeff Winder</a> and <a href="http://www.paultondeur.com/" target="_blank">Paul Tondeur</a>.</p>
<p><br/></p>
<p> Se trata de Papervision 3D Essentials, está disponible en inglés y tras recorrer sus 13 capítulos, veremos grandes ejemplos y explicaciones que seguro nos ayudarán a entender la básica de este software. Aquí teneis los 13 capítulos en los que se compone el libro:</p>
<ol>
<li>Setting Up</li>
<li>Building Your First Application</li>
<li>Primitives</li>
<li>Materials</li>
<li>Cameras</li>
<li>Moving Things Around</li>
<li>Shading</li>
<li>External Models</li>
<li>Z-Sorting</li>
<li>Particles</li>
<li>Filters and Effects</li>
<li>3D Vector Drawing and Text</li>
<li>Optimizing Performance</li>
</ol>
<p>Para concluir el Post, os animo a iniciaros a este entorno el cual ofrece multitud de opciones a la hora de crear nuevas ideas basades en nuestro grandioso Flex builder. Ánimo y espero que os sea de gran ayuda esta pequeña introducción. Saludos a todos.</p>
<p>Os facilito una imagen para que tengais de referencia y una url para  aquellos que useis ebook! o simplemente no contais con medios  económicos:</p>
<p>&nbsp;</p>
<table border="0" cellspacing="0" cellpadding="0" width="500" height="150">
<tbody>
<tr>
<td align="center"><img title="ebook papervision3d essentials" src="http://www.portalscreen.com/contenido/archivos/2010/01/pp3DEssentials.jpg" alt="papervision3d essentials" width="145" height="178" /></td>
<td style="padding-left: 5px;vertical-align:middle;"><strong>English | 427 pages |<br />
</strong><strong>PDF | 5.1 MB</strong></p>
<p><strong>Download Torrent: <a title="ebook papervision 3d" target="_blank" href="http://www.downarchive.com/dl/Packt+-+Papervision3D+Essentials+(2009).html"> Papervision3d Esentials</a></strong></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p> <!--adsense#adobeBanner--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.portalscreen.com/papervision-essentials-ebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe AIR: crear &#8211; modificar &#8211; reutilizar</title>
		<link>http://www.portalscreen.com/crear-modificar-reutilizar/</link>
		<comments>http://www.portalscreen.com/crear-modificar-reutilizar/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 15:30:50 +0000</pubDate>
		<dc:creator>Francisco</dc:creator>
				<category><![CDATA[Referencias (eBook, PDF..)]]></category>
		<category><![CDATA[as3 book]]></category>
		<category><![CDATA[ebook]]></category>
		<category><![CDATA[tutoriales as3]]></category>

		<guid isPermaLink="false">http://www.portalscreen.com/?p=109</guid>
		<description><![CDATA[Hola a todos, en víspera de la noche buena os hago llegar un título el cual me ha ayudado a abrirme paso en aplicaciones basasdas en AIR.
Se trata de &#8220;Adobe AIR : crear-modificar-reutilizar&#8221;, título que Anaya Multimedia pone a nuestro servicio por el módico precio de unos 42 euros. En él podreis encontrar jugosos ejemplos [...]]]></description>
			<content:encoded><![CDATA[<p>Hola a todos, en víspera de la noche buena os hago llegar un título el cual me ha ayudado a abrirme paso en aplicaciones basasdas en AIR.</p>
<p>Se trata de &#8220;Adobe AIR : crear-modificar-reutilizar&#8221;, título que Anaya Multimedia pone a nuestro servicio por el módico precio de unos 42 euros. En él podreis encontrar jugosos ejemplos que seguro os servirán como base o apoyo para desarrollar aquellas ideas sobre aplicaciones que se os ocurran. Desde un simple lector RSS, hasta un complejo manejador de mapas o reproductores multimedia y video. Personalmente recomiendo el libro, pues nunca se sabe si en él podemos encontrar aquél método que nos solucione la papeleta en alguna complegidad de nuestra aplicación, o simplemente ignoramos algunas funciones bastante útiles, y las cuales pueden dar un toque profesional a nuestra obra.<br />
<span id="more-109"></span><br />
Os facilito una imagen para que tengais de referencia y una url para aquellos que useis ebook! o simplemente no contais con medios económicos.</p>
<p><img class="alignleft" title="adobe air crear modificar reutilizar" src="http://www.portalscreen.com/contenido/archivos/2009/12/adobeair.jpg" alt="adobe air crear modificar reutilizar" width="93" height="141" /><span><strong>Adobe AIR Create &#8211; Modify &#8211; Reuse<br />
Wrox | Mark Leuchner, Todd Anderson, Matt Wright | Apr2008 | 483 pages | PDF | 5.30MB</strong></span></p>
<p><strong>Descarga</strong></p>
<p>http://rapidshare.com/files/124126461/AAC-M-R.rar</p>
<p>Password:full+free</p>
<p><!--adsense#adobelarge--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.portalscreen.com/crear-modificar-reutilizar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Papervision3D : primeros pasos</title>
		<link>http://www.portalscreen.com/papervision-as3/</link>
		<comments>http://www.portalscreen.com/papervision-as3/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 00:18:26 +0000</pubDate>
		<dc:creator>Francisco</dc:creator>
				<category><![CDATA[Papervision 3D]]></category>
		<category><![CDATA[as3 book]]></category>
		<category><![CDATA[libpapervision]]></category>
		<category><![CDATA[papervision3d]]></category>

		<guid isPermaLink="false">http://www.portalscreen.com/?p=89</guid>
		<description><![CDATA[Buenas a todos nuevamente, en este segundo post os quiero hacer llegar la actualidad del 3D en contenidos Web. Se trata de las clases Papervision y la posibilidad de dar un giro al estilo que ahora adoptan o dentro de muy poco adoptarán los entornos web. Hay que destacar, que aún no es posible sacar [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Buenas a todos nuevamente, en este segundo post os quiero hacer llegar la actualidad del 3D en contenidos Web. Se trata de las clases Papervision y la posibilidad de dar un giro al estilo que ahora adoptan o dentro de muy poco adoptarán los entornos web. Hay que destacar, que aún no es posible sacar todo el jugo de posibilidades en cuanto a posicionar nuestra web se refiere, sin embargo si podemos utilizar este entorno como un añadido vistoso a nuestros contenidos, por ejemplos nuestro portfolio, galerías coverflow, etc.</p>
<p style="text-align: justify;"><span id="more-89"></span></p>
<p style="text-align: justify;">En esta primera toma de contacto con las clases Papervision en Action Script 3, os ilustraré un ejemplo sobre una escena 3D básica. Dicho todo esto, aquí tenéis el código que posteriormente comentaremos paso a paso:</p>
<p style="text-align: justify;">

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">flash.display.Sprite</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">flash.events.Event</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.papervision3d.cameras.Camera3D</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.papervision3d.materials.WireframeMaterial</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.papervision3d.objects.primitives.Plane</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.papervision3d.scenes.Scene3D</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.papervision3d.view.BasicView</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #009900;">&#91;</span>SWF<span style="color: #009900;">&#40;</span>frameRate<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;31&quot;</span>, width<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;500&quot;</span>, height<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;350&quot;</span>, backgroundColor<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0xffffff&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> BasicViewSample <span style="color: #000000; font-weight: bold;">extends</span> Sprite
	<span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">private</span> var bView<span style="color: #339933;">:</span>BasicView<span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #000000; font-weight: bold;">public</span> function BasicViewSample<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span>
			Init3D<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #000000; font-weight: bold;">private</span> function Init3D<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #666666; font-style: italic;">// Creamos el BasicView que contiene viewport, camera, renderer, etc</span>
			bView <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> BasicView<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">500</span>, <span style="color: #cc66cc;">350</span>, <span style="color: #000066; font-weight: bold;">false</span>, <span style="color: #000066; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #666666; font-style: italic;">// añadimos la vista al displayList</span>
			addChild<span style="color: #009900;">&#40;</span>bView<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #666666; font-style: italic;">// Configuramos la cámara:</span>
			bView.<span style="color: #006633;">camera</span>.<span style="color: #006633;">focus</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">25</span><span style="color: #339933;">;</span>
            bView.<span style="color: #006633;">camera</span>.<span style="color: #006633;">zoom</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
            bView.<span style="color: #006633;">camera</span>.<span style="color: #006633;">z</span> <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">500</span><span style="color: #339933;">;</span>
            bView.<span style="color: #006633;">camera</span>.<span style="color: #006633;">y</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">300</span><span style="color: #339933;">;</span>
            bView.<span style="color: #006633;">camera</span>.<span style="color: #006633;">x</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
&nbsp;
			CreateObjects<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			addEventListener<span style="color: #009900;">&#40;</span><span style="color: #003399;">Event</span>.<span style="color: #006633;">ENTER_FRAME</span>, Loop3D<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #000000; font-weight: bold;">private</span> function CreateObjects<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span>
		<span style="color: #009900;">&#123;</span>
			var mat<span style="color: #339933;">:</span>WireframeMaterial <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WireframeMaterial<span style="color: #339933;">;</span>
			mat.<span style="color: #006633;">doubleSided</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">true</span><span style="color: #339933;">;</span>
&nbsp;
			var plane<span style="color: #339933;">:</span>Plane <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Plane<span style="color: #009900;">&#40;</span>mat, <span style="color: #cc66cc;">500</span>, <span style="color: #cc66cc;">500</span>, <span style="color: #cc66cc;">8</span>, <span style="color: #cc66cc;">8</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			plane.<span style="color: #006633;">rotationX</span> <span style="color: #339933;">=</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">90</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #666666; font-style: italic;">// lo añadimos a la escena del BasicView.</span>
			bView.<span style="color: #006633;">scene</span>.<span style="color: #006633;">addChild</span><span style="color: #009900;">&#40;</span>plane<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #666666; font-style: italic;">//camera.target = plane;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #000000; font-weight: bold;">private</span> function Loop3D<span style="color: #009900;">&#40;</span>e<span style="color: #339933;">:</span><span style="color: #003399;">Event</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span><span style="color: #000066; font-weight: bold;">void</span>
		<span style="color: #009900;">&#123;</span>
			var radio<span style="color: #339933;">:</span>uint <span style="color: #339933;">=</span> <span style="color: #cc66cc;">500</span><span style="color: #339933;">;</span>
			var angulo<span style="color: #339933;">:</span><span style="color: #003399;">Number</span> <span style="color: #339933;">=</span> mouseX <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>stage.<span style="color: #006633;">stageWidth</span> <span style="color: #339933;">/</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			Camera3D<span style="color: #009900;">&#40;</span>bView.<span style="color: #006633;">camera</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">x</span> <span style="color: #339933;">=</span> radio <span style="color: #339933;">*</span> <span style="color: #003399;">Math</span>.<span style="color: #006633;">cos</span><span style="color: #009900;">&#40;</span>angulo <span style="color: #339933;">/</span> <span style="color: #cc66cc;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			Camera3D<span style="color: #009900;">&#40;</span>bView.<span style="color: #006633;">camera</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">z</span> <span style="color: #339933;">=</span> radio <span style="color: #339933;">*</span> <span style="color: #003399;">Math</span>.<span style="color: #006633;">sin</span><span style="color: #009900;">&#40;</span>angulo <span style="color: #339933;">/</span> <span style="color: #cc66cc;">100</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			Camera3D<span style="color: #009900;">&#40;</span>bView.<span style="color: #006633;">camera</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">y</span> <span style="color: #339933;">=</span> <span style="color: #339933;">-</span> mouseY <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>stage.<span style="color: #006633;">stageHeight</span> <span style="color: #339933;">/</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">100</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #666666; font-style: italic;">// llamamos al método de renderizado del BasicView:</span>
			bView.<span style="color: #006633;">singleRender</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p style="text-align: justify;">Como detalle importante, hay que destacar que lo más importante a tener en cuenta es el añadir a la aplicación en sí la escena en la que se basa nuestro escenario 3D, en este caso será BasicView.</p>
<p style="text-align: justify;">La clase BasicView nos proporciona esencialmente todos los objetos necesarios para sacar un render (escena 3D), ya sea, camara, scene entre otros.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">Una vez añadido el objeto heredado de BasicView al stage, lo siguiente es configurar varias características de la camara  3D, tal y como muestra el ejemplo. A parte de dotar a la cámara de una posición en la escena o de adaptarle un zoom específico, también podemos dotarla de una rotación de sus ejes X, Y o Z, entre otros muchos métodos disponibles.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">Centrándonos un poco en la implementación de objetos en la escena, en el ejemplo hemos utilizado un objeto que probablemente será uno de los más comunes, el Plano, mejor dicho clase Plane. Aparte de incluir el objeto, también hemos querido aplicarle un material muy simple, se trata del material WireframeMaterial, que simple mente nos muestra el objeto Plano y los polígonos que lo forman.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">Por último dejad que os comente la función que hace posible este magnífico entorno 3D. Para el ejemplo hemos utilizado el método Enter_Frame de la clase Events. Lo único que hace realmente es llamar a la función Loop3D en cada momento, y ésta es la encargada de montar el escenario en cada momento, rotando los objetos añadidos a la escena a nuestro antojo. Por otro lado y como apoyo para los impetuosos, os recomiendo que echeis un vistazo al método onRenderTick de la clase BasicView, realiza el mismo efecto que Enter_Frame pero es propio de BasicView.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">Dicho todo esto, solo me queda animaros a crear nuevos entornos web basados en este entorno y no menos desearos una feliz navidad y un prospero año nuevo.</p>
<p></br><br />
<!--adsense#3dmax--><br />
</br></p>
]]></content:encoded>
			<wfw:commentRss>http://www.portalscreen.com/papervision-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex &#8211; XML &#8211; E4x</title>
		<link>http://www.portalscreen.com/parse-xml-e4x/</link>
		<comments>http://www.portalscreen.com/parse-xml-e4x/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 17:47:52 +0000</pubDate>
		<dc:creator>Francisco</dc:creator>
				<category><![CDATA[Adobe Flex - Código Libre]]></category>
		<category><![CDATA[Flex e4x]]></category>
		<category><![CDATA[tutoriales as3]]></category>
		<category><![CDATA[xml as3]]></category>

		<guid isPermaLink="false">http://www.portalscreen.com/?p=1</guid>
		<description><![CDATA[Como post de apertura, no cabe duda de que debía hablar sobre uno de los más importantes aspectos referentes al desarrollo de aplicaciones en Flex &#38; Air. No es otra, si no exponer uno de los métodos de lectura de datos más utilizados en el entorno, junto con la forma de tratarlos y presentarlos. Para [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Como post de apertura, no cabe duda de que debía hablar sobre uno de los más importantes aspectos referentes al desarrollo de aplicaciones en Flex &amp; Air. No es otra, si no exponer uno de los métodos de lectura de datos más utilizados en el entorno, junto con la forma de tratarlos y presentarlos. <span id="more-1"></span>Para el ejemplo emplearemos &#8216;e4x&#8217;, que no es más que una extensión del lenguaje de programación que agrega soporte para XML nativo de ECMAScript (en nuestro caso ActionScript, además se emplean en otros lenguajes tales como, DMDScript, JavaScript y JScript entre otros).</p>
<p>Pues bien, encabezando lo anteriormente mencionado, os ilustro la base del ejemplo y la cual tomaremos de base:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"> var datos<span style="color: #339933;">:</span>XML<span style="color: #339933;">;</span>
 datos <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> XML<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 datos <span style="color: #339933;">=</span> 
                 <span style="color: #339933;">&lt;</span>libros<span style="color: #339933;">&gt;</span>
                    <span style="color: #339933;">&lt;</span>libro isbn<span style="color: #339933;">=</span><span style="color: #0000ff;">'2345'</span><span style="color: #339933;">&gt;</span>
                               <span style="color: #339933;">&lt;</span>titulo<span style="color: #339933;">&gt;</span> La leyenda negra <span style="color: #339933;">&lt;/</span>titulo<span style="color: #339933;">&gt;</span>
                               <span style="color: #339933;">&lt;</span>precio<span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">22</span>€<span style="color: #339933;">&lt;/</span>precio<span style="color: #339933;">&gt;</span> 
                    <span style="color: #339933;">&lt;/</span>libro<span style="color: #339933;">&gt;</span>
                    <span style="color: #339933;">&lt;</span>libro isbn<span style="color: #339933;">=</span><span style="color: #0000ff;">'2346'</span><span style="color: #339933;">&gt;</span> 
                               <span style="color: #339933;">&lt;</span>titulo<span style="color: #339933;">&gt;</span> A tiro limpio <span style="color: #339933;">&lt;/</span>titulo<span style="color: #339933;">&gt;</span>
                               <span style="color: #339933;">&lt;</span>precio<span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">12</span>€<span style="color: #339933;">&lt;/</span>precio<span style="color: #339933;">&gt;</span> 
                    <span style="color: #339933;">&lt;/</span>libro<span style="color: #339933;">&gt;</span>
                 <span style="color: #339933;">&lt;/</span>libros<span style="color: #339933;">&gt;;</span>
&nbsp;
 Alert.<span style="color: #006633;">show</span><span style="color: #009900;">&#40;</span>datos.<span style="color: #006633;">libro</span>.<span style="color: #009900;">&#40;</span>@isbn <span style="color: #339933;">==</span> <span style="color: #0000ff;">'2345'</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">titulo</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// La leyenda negra</span>
 Alert.<span style="color: #006633;">show</span><span style="color: #009900;">&#40;</span>datos.<span style="color: #006633;">libro</span>.<span style="color: #006633;">titulo</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// A tiro limpio</span>
 Alert.<span style="color: #006633;">show</span><span style="color: #009900;">&#40;</span>datos.<span style="color: #006633;">libro</span>.<span style="color: #009900;">&#40;</span>titulo.<span style="color: #006633;">charAt</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'A'</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">precio</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// 12€</span></pre></div></div>

<p style="text-align: justify;">Espero que os sea de ayuda, o como mínimo de apoyo en el desarrollo de vuestras propias aplicaciones RIA.</p>
<p>Un saludo, y si tenéis alguna pregunta sobre este u otro tema referente al desarrollo de aplicaciones en Flex &amp; Air, no dudéis en preguntar, de algún modo u otro al final se acaban solventando las dudas.</p>
<p><!--adsense#menulateral--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.portalscreen.com/parse-xml-e4x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
