<?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>Robot04 &#187; Flash</title>
	<atom:link href="http://www.robot04.com/blog/index.php/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robot04.com/blog</link>
	<description>Video meliora proboque; deteriora sequor</description>
	<lastBuildDate>Sat, 03 Jul 2010 11:14:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enamorado de Signals</title>
		<link>http://www.robot04.com/blog/index.php/2010/06/13/enamorado-de-signals/</link>
		<comments>http://www.robot04.com/blog/index.php/2010/06/13/enamorado-de-signals/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 02:15:53 +0000</pubDate>
		<dc:creator>Robot04</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.robot04.com/blog/?p=356</guid>
		<description><![CDATA[Y para muestra un botón  
Actionscript:

package view.ui.common 
&#123;
&#160; &#160; import com.greensock.TweenMax;
&#160; &#160; import flash.events.MouseEvent;
&#160; &#160; import org.osflash.signals.natives.NativeSignal;
&#160; &#160; import flash.display.Sprite;
&#160; &#160; /**
&#160; &#160;&#160; * @author robot04
&#160; &#160;&#160; */
&#160; &#160; public class BasicButton extends Sprite 
&#160; &#160; &#123;
&#160; &#160; &#160; &#160; private var overed:NativeSignal;
&#160; &#160; &#160; &#160; private var outed:NativeSignal;
&#160; &#160; &#160; &#160; public var [...]]]></description>
			<content:encoded><![CDATA[<p>Y para muestra un botón <img src='http://www.robot04.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-2">
<div class="actionscript">package view.<span style="color: #006600;">ui</span>.<span style="color: #006600;">common</span> <br />
<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #0066CC;">import</span> com.<span style="color: #006600;">greensock</span>.<span style="color: #006600;">TweenMax</span>;<br />
&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">MouseEvent</span>;<br />
&nbsp; &nbsp; <span style="color: #0066CC;">import</span> org.<span style="color: #006600;">osflash</span>.<span style="color: #006600;">signals</span>.<span style="color: #006600;">natives</span>.<span style="color: #006600;">NativeSignal</span>;</p>
<p>&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite</span>;</p>
<p>&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/**<br />
&nbsp; &nbsp;&nbsp; * @author robot04<br />
&nbsp; &nbsp;&nbsp; */</span><br />
&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> BasicButton <span style="color: #0066CC;">extends</span> Sprite <br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> overed:NativeSignal;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> outed:NativeSignal;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> clicked:NativeSignal;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> BasicButton<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; buttonMode = <span style="color: #000000; font-weight: bold;">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mouseChildren = <span style="color: #000000; font-weight: bold;">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; overed = <span style="color: #000000; font-weight: bold;">new</span> NativeSignal<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, MouseEvent.<span style="color: #006600;">MOUSE_OVER</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; outed = <span style="color: #000000; font-weight: bold;">new</span> NativeSignal<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, MouseEvent.<span style="color: #006600;">MOUSE_OUT</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; clicked = <span style="color: #000000; font-weight: bold;">new</span> NativeSignal<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, MouseEvent.<span style="color: #006600;">CLICK</span>, MouseEvent<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> removeListeners<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; overed.<span style="color: #006600;">remove</span><span style="color: #66cc66;">&#40;</span>onOver<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; outed.<span style="color: #006600;">remove</span><span style="color: #66cc66;">&#40;</span>onOut<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> addListeners<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; overed.<span style="color: #0066CC;">add</span><span style="color: #66cc66;">&#40;</span>onOver<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; outed.<span style="color: #0066CC;">add</span><span style="color: #66cc66;">&#40;</span>onOut<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; protected <span style="color: #000000; font-weight: bold;">function</span> onOut<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TweenMax.<span style="color: #006600;">to</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, .<span style="color: #cc66cc;">4</span>, <span style="color: #66cc66;">&#123;</span>alpha:<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; protected <span style="color: #000000; font-weight: bold;">function</span> onOver<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TweenMax.<span style="color: #006600;">to</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, .<span style="color: #cc66cc;">4</span>, <span style="color: #66cc66;">&#123;</span>alpha:.<span style="color: #cc66cc;">8</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #66cc66;">&#125;</span></div>
</div>
</div>
<p></p>
<p><a href="http://flashblog.robertpenner.com/2009/09/my-new-as3-event-system-signals.html">Robert Penner - Signals</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.robot04.com/blog/index.php/2010/06/13/enamorado-de-signals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reforest</title>
		<link>http://www.robot04.com/blog/index.php/2010/06/13/reforest/</link>
		<comments>http://www.robot04.com/blog/index.php/2010/06/13/reforest/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 01:57:27 +0000</pubDate>
		<dc:creator>Robot04</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[Aplicaciones]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.robot04.com/blog/?p=350</guid>
		<description><![CDATA[
Reforest es una aplicación desarrollada en Adobe AIR que crea estructuras de proyecto a través de plantillas.
Estas plantillas pueden ser configuradas al gusto de cada uno para crear el árbol de carpetas y archivos que formarán nuestro directorio de proyecto.
El ejemplo que viene con Reforest, cuando lo descargáis, es un MVC simple con Flash y [...]]]></description>
			<content:encoded><![CDATA[<p><img class="fullsizetop" src="http://www.robot04.com/blog/index.php?feedimage=wp-content/uploads/2010/06/reforest.jpg" alt="Reforest" title="reforest.jpg" border="0" width="760" height="198" /></p>
<p><a href="http://www.reforestair.com">Reforest</a> es una aplicación desarrollada en Adobe AIR que crea estructuras de proyecto a través de plantillas.</p>
<p>Estas plantillas pueden ser configuradas al gusto de cada uno para crear el árbol de carpetas y archivos que formarán nuestro directorio de proyecto.<br />
El ejemplo que viene con Reforest, cuando lo descargáis, es un MVC simple con Flash y AS3, pero se puede utilizar para cualquier tipo de proyecto, diseño, .php, html, etc</p>
<p>La plantilla, a partir de ahora semilla (.seed), está compuesta por los siguientes nodos:</p>
<h3>info</h3>
<p>Info es la parte de la semilla que nos va a proveer de la información de ésta, como autor, fecha, nombre, descripción, etc.</p>
<p>Esta es la estructura:</p>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-7">
<div class="xml"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;seed<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;info<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;author<span style="font-weight: bold; color: black;">&gt;</span></span></span>Robot04<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/author<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;date<span style="font-weight: bold; color: black;">&gt;</span></span></span>09/09/09<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/date<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;name<span style="font-weight: bold; color: black;">&gt;</span></span></span>Example Template<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/name<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;description<span style="font-weight: bold; color: black;">&gt;</span></span></span>Estructura de proyecto base con vista y controlador<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/description<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;notes<span style="font-weight: bold; color: black;">&gt;</span></span></span>Acuérdate de borrar el árbol de main.fla <img src='http://www.robot04.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/notes<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/info<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/seed<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</div>
</div>
<p></p>
<p>Después encontramos la estructura.</p>
<h3>structure</h3>
<p>Structure es la etiqueta que va a contenter nuestro proyecto, y en ella podremos crear y copiar los archivos y directorios que solamos utilizar frecuentemente en nuestros proyectos.</p>
<p>Dentro de structure podremos utilizar dos tipos de etiquetas diferentes:</p>
<ul>
<li>folder</li>
<li>file</li>
</ul>
<h3>folder</h3>
<p><strong>Folder</strong> es la encargada de crear los directorios, tiene un sólo parámetro obligatorio <strong>name</strong>.<br />
Si el valor del parámetro name es <strong>projectName</strong>, el valor se sustituirá en tiempo de ejecución por el nombre que elijamos para el proyecto.</p>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-8">
<div class="xml"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;seed<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;info<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;author<span style="font-weight: bold; color: black;">&gt;</span></span></span>Robot04<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/author<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;date<span style="font-weight: bold; color: black;">&gt;</span></span></span>09/09/09<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/date<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;name<span style="font-weight: bold; color: black;">&gt;</span></span></span>Example Template<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/name<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;description<span style="font-weight: bold; color: black;">&gt;</span></span></span>Estructura de proyecto base con vista y controlador<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/description<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;notes<span style="font-weight: bold; color: black;">&gt;</span></span></span>Acuérdate de borrar el árbol de main.fla <img src='http://www.robot04.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/notes<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/info<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;structure<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;folder</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"projectName"</span><span style="font-weight: bold; color: black;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/folder<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/structure<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/seed<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</div>
</div>
<p></p>
<h3>file</h3>
<p>El nodo <strong>file</strong> se encarga de copiar archivos y carpetas a nuestro directorio de proyecto.</p>
<p>Tiene dos parámetros obligatorios:</p>
<ul>
<li>name</li>
<li>route</li>
</ul>
<p><strong>Name</strong> indica el nombre con el cual se guardará el archivo en nuestro directorio de proyecto y <strong>route</strong> es el path al archivo que se va a copiar.</p>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-9">
<div class="xml"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;seed<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;info<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;author<span style="font-weight: bold; color: black;">&gt;</span></span></span>Robot04<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/author<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;date<span style="font-weight: bold; color: black;">&gt;</span></span></span>09/09/09<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/date<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;name<span style="font-weight: bold; color: black;">&gt;</span></span></span>Example Template<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/name<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;description<span style="font-weight: bold; color: black;">&gt;</span></span></span>Estructura de proyecto base con vista y controlador<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/description<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;notes<span style="font-weight: bold; color: black;">&gt;</span></span></span>Acuérdate de borrar el árbol de main.fla <img src='http://www.robot04.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/notes<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/info<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;structure<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;folder</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"projectName"</span><span style="font-weight: bold; color: black;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;folder</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"flash"</span><span style="font-weight: bold; color: black;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;file</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"main.fla"</span> <span style="color: #000066;">route</span>=<span style="color: #ff0000;">"files/flash/main.fla"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/folder<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/folder<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/seed<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</div>
</div>
<p></p>
<p><em>Además de esto y esta es la joyita de Reforest</em>, el nodo <strong>file</strong> tiene un atributo opcional <strong>parse</strong>.</p>
<p>Si le decimos a Reforest que parsee el documento con el atributo <strong>parse="true"</strong>. Reforest buscará en esos archivos variables de Reforest y nos permitirá durante la creación del proyecto cambiar sus valores por otros al vuelo.</p>
<p>Las variables de Reforest tienen el siguiente aspecto:<br />
<strong>%RFST:Variable=Valor%</strong></p>
<p>Por ejemplo un uso básico en archivo html podría ser:<br />
<strong>&lt;title&gt;%RFST:title=titulo%&lt;/title&gt;</strong></p>
<p>o en un .as podríamos ajustar las características de nuestro fla de la siguiente manera:</p>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-10">
<div class="actionscript"><span style="color: #66cc66;">&#91;</span>SWF<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">"%RFST:SWFWidth=1004%"</span>, <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">"%RFST:SWFHeight=680%"</span>, <span style="color: #0066CC;">backgroundColor</span>=<span style="color: #ff0000;">"%RFST:SWFBGColor=#FFFFFF%"</span>, frameRate=<span style="color: #ff0000;">"%RFST:SWFFramerate=30%"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span></div>
</div>
</div>
<p></p>
<p>Espero que lo disfrutéis y si tenéis sugerencias o dudas, ya sabéis <img src='http://www.robot04.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>PD: Junto con el instalador de Reforest encontraréis más información y un ejemplo de uso.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robot04.com/blog/index.php/2010/06/13/reforest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Labuat &#8211; Impresionante</title>
		<link>http://www.robot04.com/blog/index.php/2009/03/23/labuat-impresionante/</link>
		<comments>http://www.robot04.com/blog/index.php/2009/03/23/labuat-impresionante/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 10:50:17 +0000</pubDate>
		<dc:creator>Robot04</dc:creator>
				<category><![CDATA[Alucina vecina]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.robot04.com/blog/?p=232</guid>
		<description><![CDATA[
Labuat
Impresionante. Una idea fantástica y una realización impecable.
Vía: ¿y por qué no?
]]></description>
			<content:encoded><![CDATA[<p><img class="fullsizetop" src="http://www.robot04.com/blog/index.php?feedimage=wp-content/uploads/2009/03/labuat.jpg" alt="labuat.jpg" border="0" width="760" height="478" /></p>
<p><a href="http://soytuaire.labuat.com/">Labuat</a></p>
<p>Impresionante. Una idea fantástica y una realización impecable.</p>
<p>Vía: <a href="http://www.yporqueno.es/blog/labuat-soy-tu-aire">¿y por qué no?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.robot04.com/blog/index.php/2009/03/23/labuat-impresionante/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ANT para compilar proyectos flash y proyectos Gaia</title>
		<link>http://www.robot04.com/blog/index.php/2009/03/16/ant-para-compilar-proyectos-flash-y-proyectos-gaia/</link>
		<comments>http://www.robot04.com/blog/index.php/2009/03/16/ant-para-compilar-proyectos-flash-y-proyectos-gaia/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 16:27:41 +0000</pubDate>
		<dc:creator>Robot04</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.robot04.com/blog/?p=213</guid>
		<description><![CDATA[Dejo aquí los archivos necesarios para compilar desde Eclipse nuestros archivos Flash con ANT.
Existen tres modalidades, que podéis seleccionar en Eclipse según necesidad:
- Compile: compila el archivo que tengamos abierto en Flash.
- Compilegaia: compila todos los archivos que tengamos abiertos en Flash, dejando como último archivo para publicar Main.fla (así podemos probar el proyecto desde [...]]]></description>
			<content:encoded><![CDATA[<p>Dejo aquí los archivos necesarios para <strong>compilar desde Eclipse nuestros archivos Flash con ANT</strong>.</p>
<p>Existen tres modalidades, que podéis seleccionar en Eclipse según necesidad:</p>
<p><strong>- Compile</strong>: compila el archivo que tengamos abierto en Flash.<br />
<strong>- Compilegaia</strong>: compila todos los archivos que tengamos abiertos en Flash, dejando como último archivo para publicar Main.fla (así podemos probar el proyecto desde main con todos los flash que tengamos abiertos ya modificados.<br />
<strong>- Compilegaiapc</strong>: pues eso, lo mismo pero para Pc.</p>
<div class="descargar">
<p><a href="http://www.robot04.com/blog/wp-content/uploads/2009/03/ant.zip" title="ANT.zip">Descargar archivo</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.robot04.com/blog/index.php/2009/03/16/ant-para-compilar-proyectos-flash-y-proyectos-gaia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Music Catch 2</title>
		<link>http://www.robot04.com/blog/index.php/2009/03/16/music-catch-2/</link>
		<comments>http://www.robot04.com/blog/index.php/2009/03/16/music-catch-2/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 10:07:48 +0000</pubDate>
		<dc:creator>Robot04</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Juegos]]></category>

		<guid isPermaLink="false">http://www.robot04.com/blog/?p=196</guid>
		<description><![CDATA[
Un juego en flash bastante curioso... Music Catch 2.
]]></description>
			<content:encoded><![CDATA[<p><img class="fullsizetop" src="http://www.robot04.com/blog/index.php?feedimage=wp-content/uploads/2009/03/musiccatch2.jpg" alt="musiccatch2.jpg" border="0" width="760" height="282" /></p>
<p>Un juego en flash bastante curioso... <a href="http://www.reflexive.com/index.php?PAGE=WebGamePlay&#038;WGID=182">Music Catch 2</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robot04.com/blog/index.php/2009/03/16/music-catch-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
