<?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"
	>
<channel>
	<title>Comments on: Accediendo al stage antes de tiempo</title>
	<atom:link href="http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/feed/" rel="self" type="application/rss+xml" />
	<link>http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/</link>
	<description>Blog de programación creativa mantenido por llops. Experimentos y artículos entorno a la plataforma flash y as3.</description>
	<pubDate>Tue, 02 Dec 2008 12:39:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: LLops</title>
		<link>http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-221</link>
		<dc:creator>LLops</dc:creator>
		<pubDate>Wed, 08 Oct 2008 16:33:08 +0000</pubDate>
		<guid isPermaLink="false">http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-221</guid>
		<description>Matias, si el código está en un keyframe, no necesitas utilizar este evento, ya que un objeto en linea de tiempo lleva implícito encontrarse en la displayList. 

Si quieres, detállame el caso concreto (puedes hacerlo a través de contacto) y le echo un vistazo a ver si te puedo ayudar.</description>
		<content:encoded><![CDATA[<p>Matias, si el código está en un keyframe, no necesitas utilizar este evento, ya que un objeto en linea de tiempo lleva implícito encontrarse en la displayList. </p>
<p>Si quieres, detállame el caso concreto (puedes hacerlo a través de contacto) y le echo un vistazo a ver si te puedo ayudar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matias</title>
		<link>http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-220</link>
		<dc:creator>matias</dc:creator>
		<pubDate>Wed, 08 Oct 2008 16:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-220</guid>
		<description>Ok, pero esto solo funciona cuando se utilizan classes, pero si el codigo esta en un keyframe dentro de un movieclip no funciona...

a mi me continua tirando ese error y no tengo forma de solucionarlo...</description>
		<content:encoded><![CDATA[<p>Ok, pero esto solo funciona cuando se utilizan classes, pero si el codigo esta en un keyframe dentro de un movieclip no funciona&#8230;</p>
<p>a mi me continua tirando ese error y no tengo forma de solucionarlo&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David E Sanchez</title>
		<link>http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-190</link>
		<dc:creator>David E Sanchez</dc:creator>
		<pubDate>Tue, 24 Jun 2008 16:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-190</guid>
		<description>Hola! 
Quisiera Agradecer la ayuda!!!! pues me proporciono informacion ademas de que encontre solucion al mismisimo problema que se presenta aqui; lo unico que puedo decir es gracias LLop!!! estare publicando mis trabajos para que me ayuden a mejorar pues soy Principiente en FLASH y empece con CS3
Salu2 a la comunidad!!!!</description>
		<content:encoded><![CDATA[<p>Hola!<br />
Quisiera Agradecer la ayuda!!!! pues me proporciono informacion ademas de que encontre solucion al mismisimo problema que se presenta aqui; lo unico que puedo decir es gracias LLop!!! estare publicando mis trabajos para que me ayuden a mejorar pues soy Principiente en FLASH y empece con CS3<br />
Salu2 a la comunidad!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gonzalo geraldo</title>
		<link>http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-177</link>
		<dc:creator>gonzalo geraldo</dc:creator>
		<pubDate>Mon, 02 Jun 2008 20:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-177</guid>
		<description>Muchas gracias Llops, este tema no lo podia resolver y no lo he visto documentado. Tengo el Essential Actionscript 3.0 y tampoco aparece (espero no pecar de no entender lo que leo). En el Help de Actionscript tampoco lo habia visto explicado asi.

Me ha servido mucho

saludos</description>
		<content:encoded><![CDATA[<p>Muchas gracias Llops, este tema no lo podia resolver y no lo he visto documentado. Tengo el Essential Actionscript 3.0 y tampoco aparece (espero no pecar de no entender lo que leo). En el Help de Actionscript tampoco lo habia visto explicado asi.</p>
<p>Me ha servido mucho</p>
<p>saludos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-162</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Thu, 15 May 2008 04:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-162</guid>
		<description>Hola. Como les va?

Tengo la siguiente clase en un archivo .AS

package {
    import mx.core.WindowedApplication;
   import flash.events.*;
   
    public class HW extends WindowedApplication
    {
        private var appWA:WindowedApplication;
       
		public function HW(){
			super();
		}

   }
}


Y cuando la quiero usar de la siguiente manera con el siguiente codigo de un archivo .MXML

        public function ingresar():void {

          var newWindow:HW = new HW();
          newWindow.initialize();
          newWindow.setVisible(true);
          
        }

Obtengo el siguiente error:

TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.
	at mx.core::Application/initialize()
	at HW/initialize()
	at ingresar()


Para resolver el problema intente agregar el siguiente codigo:

		override public function initialize():void{
			super.initialize();
		}

		public function HW(){
			this.addEventListener(Event.ADDED_TO_STAGE, initialize);
			super();
		}

Pero no he tenido éxito. Agradecería me puedan indicar como lo soluciono. 

Gracias.</description>
		<content:encoded><![CDATA[<p>Hola. Como les va?</p>
<p>Tengo la siguiente clase en un archivo .AS</p>
<p>package {<br />
    import mx.core.WindowedApplication;<br />
   import flash.events.*;</p>
<p>    public class HW extends WindowedApplication<br />
    {<br />
        private var appWA:WindowedApplication;</p>
<p>		public function HW(){<br />
			super();<br />
		}</p>
<p>   }<br />
}</p>
<p>Y cuando la quiero usar de la siguiente manera con el siguiente codigo de un archivo .MXML</p>
<p>        public function ingresar():void {</p>
<p>          var newWindow:HW = new HW();<br />
          newWindow.initialize();<br />
          newWindow.setVisible(true);</p>
<p>        }</p>
<p>Obtengo el siguiente error:</p>
<p>TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.<br />
	at mx.core::Application/initialize()<br />
	at HW/initialize()<br />
	at ingresar()</p>
<p>Para resolver el problema intente agregar el siguiente codigo:</p>
<p>		override public function initialize():void{<br />
			super.initialize();<br />
		}</p>
<p>		public function HW(){<br />
			this.addEventListener(Event.ADDED_TO_STAGE, initialize);<br />
			super();<br />
		}</p>
<p>Pero no he tenido éxito. Agradecería me puedan indicar como lo soluciono. </p>
<p>Gracias.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EgoSum</title>
		<link>http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-148</link>
		<dc:creator>EgoSum</dc:creator>
		<pubDate>Thu, 17 Apr 2008 17:04:02 +0000</pubDate>
		<guid isPermaLink="false">http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-148</guid>
		<description>Gracias por el tip, me ha solucionado ese runtime error que me salia cuando intentaba lanzar un swf hecho en flash que cargaba a partir de un SWFLoader en flex.</description>
		<content:encoded><![CDATA[<p>Gracias por el tip, me ha solucionado ese runtime error que me salia cuando intentaba lanzar un swf hecho en flash que cargaba a partir de un SWFLoader en flex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LLops</title>
		<link>http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-70</link>
		<dc:creator>LLops</dc:creator>
		<pubDate>Mon, 18 Feb 2008 19:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-70</guid>
		<description>Ummm it's strange, for me this code works properly:
[as3]function Main() {
	var c:Circulo = new Circulo();
	addChild(c);
			
	var d:Circulo = new Circulo();
	addChild(d);
	d.x += 30;
}[/as3]

Are you trying with the correct code?</description>
		<content:encoded><![CDATA[<p>Ummm it's strange, for me this code works properly:</p>
<div class="igBar"><span id="lactionscript3-1"><a href="#" onclick="javascript:showCodeTxt('actionscript3-1'); return false;">Plain Text</a></span></div>
<div class="syntax_hilite">
<div id="actionscript3-1">
<div class="actionscript3">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#666666;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #1518ff;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#666666;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #1518ff;">var</span> c:Circulo = <span style="color: #1518ff;">new</span> Circulo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#666666;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; addChild<span style="color: #000000;">&#40;</span>c<span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#666666;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#666666;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #1518ff;">var</span> d:Circulo = <span style="color: #1518ff;">new</span> Circulo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#666666;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; addChild<span style="color: #000000;">&#40;</span>d<span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#666666;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; d.<span style="color: #000000;">x</span> += <span style="color: #FF0000;color:#000099;">30</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#666666;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Are you trying with the correct code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Junio Vitorino</title>
		<link>http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-69</link>
		<dc:creator>Junio Vitorino</dc:creator>
		<pubDate>Mon, 18 Feb 2008 18:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://llops.com/blog/2008/02/18/accediendo-al-stage-antes-de-tiempo/#comment-69</guid>
		<description>Hummm, i tried create another instance of the circle object and i add it to displaylist. After this the event workn't properly. The output show me both messages. Because?</description>
		<content:encoded><![CDATA[<p>Hummm, i tried create another instance of the circle object and i add it to displaylist. After this the event workn't properly. The output show me both messages. Because?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
