<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Compilador para ActionScript 2.0 MTASC</title>
	<atom:link href="http://www.joangarnet.com/blog/?feed=rss2&#038;p=9" rel="self" type="application/rss+xml" />
	<link>http://www.joangarnet.com/blog/?p=9</link>
	<description>Blog acerca de arquitectura y desarrollo de software</description>
	<lastBuildDate>Sun, 05 Sep 2010 13:31:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.joangarnet.com/blog/?p=9&#038;cpage=1#comment-3</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 18 Nov 2004 19:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.joangarnet.com/blog2/?p=5#comment-3</guid>
		<description>Hola Dani ;)
La razón por la que estoy utilizando ese onEnterFrame es debido a que si tienes una jerarquía de clases algo extensa, lo que va a pasar es que cunado se ejecute la variable estática startApp justo cuando sea leída por el compilador, si las demás clases no han sido cargadas todavía y llamas a un método o propiedad de éstas, no las va a encontrar.
Es por eso que para asegurar que todo está ya cargado esperemos a que se ejecute el 1er frame.

Respecto a lo que comentas de los caracteres voy a ver si lo puedo arreglar... Posteando no me pasa, es solo con los comentarios.

Lo del BBCode, ahora que lo dices, me lo apunto (seguro que hay algún plugin de Movable Type por ahí­ que lo hace). Gracias por la sugerencia.

Saludos!</description>
		<content:encoded><![CDATA[<p>Hola Dani ;)<br />
La razón por la que estoy utilizando ese onEnterFrame es debido a que si tienes una jerarquía de clases algo extensa, lo que va a pasar es que cunado se ejecute la variable estática startApp justo cuando sea leída por el compilador, si las demás clases no han sido cargadas todavía y llamas a un método o propiedad de éstas, no las va a encontrar.<br />
Es por eso que para asegurar que todo está ya cargado esperemos a que se ejecute el 1er frame.</p>
<p>Respecto a lo que comentas de los caracteres voy a ver si lo puedo arreglar&#8230; Posteando no me pasa, es solo con los comentarios.</p>
<p>Lo del BBCode, ahora que lo dices, me lo apunto (seguro que hay algún plugin de Movable Type por ahí­ que lo hace). Gracias por la sugerencia.</p>
<p>Saludos!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.joangarnet.com/blog/?p=9&#038;cpage=1#comment-2</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 18 Nov 2004 13:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.joangarnet.com/blog2/?p=5#comment-2</guid>
		<description>Hey, ké tal va eso Joan?

Muy hábil lo de la variable estática. Esto es lo ke necesitábamos!
Sin embargo, no veo por qué tienes que usar el onEnterFrame. Lo he probado asignando directamente la función... y funciona :)

[code]
// Clase Testing.as
class Testing
{
	static var start:Boolean = drawRect();

	static function drawRect():Boolean
	{
		var mc:MovieClip = _root.createEmptyMovieClip(&quot;square&quot;, 1);
		mc.beginFill( 0xffcc00, 100 );
		mc.lineTo ( 100, 0 );
		mc.lineTo ( 100, 100 );
		mc.lineTo ( 0, 100 );
		mc.lineTo ( 0, 0 );
		mc.endFill();

		return true;
	}
}

[/code]

Me parece ke al IDE de macromedia le van a salir algunos competidores...

Por cierto, parece que hay algún problemilla con los comentarios de tu blog. Los carácteres latinos como acentos, etc, parece ke no se procesan correctamente, y tampoco se muestran los saltos de línea, de carro, etc... Qué tal si integras BBCode o similar?

Un saludo.</description>
		<content:encoded><![CDATA[<p>Hey, ké tal va eso Joan?</p>
<p>Muy hábil lo de la variable estática. Esto es lo ke necesitábamos!<br />
Sin embargo, no veo por qué tienes que usar el onEnterFrame. Lo he probado asignando directamente la función... y funciona :)</p>
<div class="igBar"><span id="lcode-1"><a href="#" onclick="javascript:showCodeTxt('code-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-1">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// Clase Testing.as</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">class Testing</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; static var start:Boolean = drawRect<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; static function drawRect<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>:Boolean</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; var mc:MovieClip = _root.<span style="">createEmptyMovieClip</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">"square"</span>, <span style="color:#800000;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; mc.<span style="">beginFill</span><span style="color:#006600; font-weight:bold;">&#40;</span> 0xffcc00, <span style="color:#800000;color:#800000;">100</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; mc.<span style="">lineTo</span> <span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#800000;color:#800000;">100</span>, <span style="color:#800000;color:#800000;">0</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; mc.<span style="">lineTo</span> <span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#800000;color:#800000;">100</span>, <span style="color:#800000;color:#800000;">100</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; mc.<span style="">lineTo</span> <span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#800000;color:#800000;">0</span>, <span style="color:#800000;color:#800000;">100</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; mc.<span style="">lineTo</span> <span style="color:#006600; font-weight:bold;">&#40;</span> <span style="color:#800000;color:#800000;">0</span>, <span style="color:#800000;color:#800000;">0</span> <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; mc.<span style="">endFill</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; return true;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Me parece ke al IDE de macromedia le van a salir algunos competidores...</p>
<p>Por cierto, parece que hay algún problemilla con los comentarios de tu blog. Los carácteres latinos como acentos, etc, parece ke no se procesan correctamente, y tampoco se muestran los saltos de línea, de carro, etc... Qué tal si integras BBCode o similar?</p>
<p>Un saludo.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
