<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: The Natural Entry Point Method (Tutorial &amp; Source Files) &#8211; Introducing A New Way to Create Flash Applications Using Swfmill and MTASC</title>
	<atom:link href="http://aralbalkan.com/408/feed" rel="self" type="application/rss+xml" />
	<link>http://aralbalkan.com/408</link>
	<description>Passionate geekisms.</description>
	<lastBuildDate>Tue, 22 May 2012 18:33:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: loot</title>
		<link>http://aralbalkan.com/408/comment-page-1#comment-260530</link>
		<dc:creator>loot</dc:creator>
		<pubDate>Tue, 15 Jun 2010 15:19:21 +0000</pubDate>
		<guid isPermaLink="false">#comment-260530</guid>
		<description>hmm didnt keep my xml not surprised... ok so go over to the flash-thunderbolt google group and look at june 14th 2010 for the ant code example. Basically you take a swf file and run mtasc on it with the -keep flag to leave the classes as they are and use -trace to apply thunderbolt</description>
		<content:encoded><![CDATA[<p>hmm didnt keep my xml not surprised&#8230; ok so go over to the flash-thunderbolt google group and look at june 14th 2010 for the ant code example. Basically you take a swf file and run mtasc on it with the -keep flag to leave the classes as they are and use -trace to apply thunderbolt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: loot</title>
		<link>http://aralbalkan.com/408/comment-page-1#comment-260529</link>
		<dc:creator>loot</dc:creator>
		<pubDate>Tue, 15 Jun 2010 15:16:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-260529</guid>
		<description>I know this is really old but its been useful for my chumby project, thought id share this, i got thunderbolt logger working in the web browser with this demo using ant. 


To automate this process I created an ant build file to do this and it works great with his demo except I wanted to debug in the browser with thunderbolt because thunderbolt rocks. 

Eventually I realized I needed a way to apply thunderbolt to the swf after it was created. This is a quirk caused by the way this example is set up using mtasc to precompile the classes and swfmill to then import and link them with resources enabling a &quot;natural&quot; entrypoint for class instantiation. Which I like alot as well. 

Long story short, I realized using mtasc I could do just this, 
basically leave the swf unchanged using the -keep flag and adding in the thunderbolt with -trace. The beautiful part of all this is that I can ignore thunderbolt in my code writing and I can apply thunderbolt to ANY swf file. Now I can have a production version built with swfmill and a dev version produced from that swf meaning I don&#039;t have to pull things out of my code before I do a production build. 

++++++++++ ant build.xml +++++++++++
 
         
         
                 
                         
                         
                         
                         
                         
                         
                        &lt;!-- thunderbolt needs this to access ExternalInterface --&gt; 
                         
                         
                        &lt;!-- set thunderbolt trace facility  --&gt; 
                         
                         
                         
                 
         
</description>
		<content:encoded><![CDATA[<p>I know this is really old but its been useful for my chumby project, thought id share this, i got thunderbolt logger working in the web browser with this demo using ant. </p>
<p>To automate this process I created an ant build file to do this and it works great with his demo except I wanted to debug in the browser with thunderbolt because thunderbolt rocks. </p>
<p>Eventually I realized I needed a way to apply thunderbolt to the swf after it was created. This is a quirk caused by the way this example is set up using mtasc to precompile the classes and swfmill to then import and link them with resources enabling a &#8220;natural&#8221; entrypoint for class instantiation. Which I like alot as well. </p>
<p>Long story short, I realized using mtasc I could do just this,<br />
basically leave the swf unchanged using the -keep flag and adding in the thunderbolt with -trace. The beautiful part of all this is that I can ignore thunderbolt in my code writing and I can apply thunderbolt to ANY swf file. Now I can have a production version built with swfmill and a dev version produced from that swf meaning I don&#8217;t have to pull things out of my code before I do a production build. </p>
<p>++++++++++ ant build.xml +++++++++++</p>
<p>                        <!-- thunderbolt needs this to access ExternalInterface --> </p>
<p>                        <!-- set thunderbolt trace facility  --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: {Code}Trip &#187; Flash em ambiente Open Source</title>
		<link>http://aralbalkan.com/408/comment-page-1#comment-258063</link>
		<dc:creator>{Code}Trip &#187; Flash em ambiente Open Source</dc:creator>
		<pubDate>Sun, 11 Oct 2009 04:20:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-258063</guid>
		<description>[...] subclasse de MovieClip como novo &quot;ponto de entrada&quot;, Document Class. Este processo foi chamado de Natural Entry Point por Aral [...]</description>
		<content:encoded><![CDATA[<p>[...] subclasse de MovieClip como novo &quot;ponto de entrada&quot;, Document Class. Este processo foi chamado de Natural Entry Point por Aral [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monte Aspevig</title>
		<link>http://aralbalkan.com/408/comment-page-1#comment-242992</link>
		<dc:creator>Monte Aspevig</dc:creator>
		<pubDate>Tue, 07 Apr 2009 22:46:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-242992</guid>
		<description>Great article Aral, I&#039;m trying to adapt the sphere animation so it uses a single tween in the constructor instead the onEnterFrame method (code below).  I&#039;m embedding the application.swf in a container swf that allows the user to switch between swf&#039;s.  The animation plays correctly the first time the swf is displayed but fails if the swf is displayed again.  

&gt;&gt;&gt; modified particle.as code &gt;&gt;&gt;

import mx.transitions.easing.*;
import mx.transitions.Tween;
class Particle extends MovieClip
{
	function Particle ()
	{
		_x = 10;
		_y = 10;
		var tween:Tween = new Tween(this, &quot;_y&quot;, Strong.easeOut, 300, 65, 2, true);
	}
}</description>
		<content:encoded><![CDATA[<p>Great article Aral, I&#8217;m trying to adapt the sphere animation so it uses a single tween in the constructor instead the onEnterFrame method (code below).  I&#8217;m embedding the application.swf in a container swf that allows the user to switch between swf&#8217;s.  The animation plays correctly the first time the swf is displayed but fails if the swf is displayed again.  </p>
<p>&gt;&gt;&gt; modified particle.as code &gt;&gt;&gt;</p>
<p>import mx.transitions.easing.*;<br />
import mx.transitions.Tween;<br />
class Particle extends MovieClip<br />
{<br />
	function Particle ()<br />
	{<br />
		_x = 10;<br />
		_y = 10;<br />
		var tween:Tween = new Tween(this, &#8220;_y&#8221;, Strong.easeOut, 300, 65, 2, true);<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Worthington</title>
		<link>http://aralbalkan.com/408/comment-page-1#comment-164420</link>
		<dc:creator>Daniel Worthington</dc:creator>
		<pubDate>Mon, 07 Jul 2008 21:11:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-164420</guid>
		<description>Perhaps a silly question, but where do you get the MX 2004 class files from? Is that something that just gets installed with Flash, or is there another way to get those files? Also how do those class files differ from the files that come with mtasc in the std and std8 folders? Finally, I have been successfully building projects without the MX 2004 classes in my classpath. Do you find you use them often for your projects? Thanks so much for your helpful articles. Your blog has been super helpful for me.</description>
		<content:encoded><![CDATA[<p>Perhaps a silly question, but where do you get the MX 2004 class files from? Is that something that just gets installed with Flash, or is there another way to get those files? Also how do those class files differ from the files that come with mtasc in the std and std8 folders? Finally, I have been successfully building projects without the MX 2004 classes in my classpath. Do you find you use them often for your projects? Thanks so much for your helpful articles. Your blog has been super helpful for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Bethke</title>
		<link>http://aralbalkan.com/408/comment-page-1#comment-32967</link>
		<dc:creator>Alexander Bethke</dc:creator>
		<pubDate>Sun, 13 May 2007 18:10:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-32967</guid>
		<description>Heippa, nice approach, and indeen a very well written article,

just for anybody considering of adapting the method: The general disadvantage is that you cannot access the content of included library-swf&#039;s by script, as MTASC does not know them at compile time and complains about not-exsisting properties. So if you use swf&#039;s you want to dynamically tweak later by script the Skeletal Injection Method works better. If you use the swf&#039;s as passive content the Natural Entry Point approach might be something to have a closer look at.

Have fun finding your own ways in ActionScript.

Alex</description>
		<content:encoded><![CDATA[<p>Heippa, nice approach, and indeen a very well written article,</p>
<p>just for anybody considering of adapting the method: The general disadvantage is that you cannot access the content of included library-swf&#8217;s by script, as MTASC does not know them at compile time and complains about not-exsisting properties. So if you use swf&#8217;s you want to dynamically tweak later by script the Skeletal Injection Method works better. If you use the swf&#8217;s as passive content the Natural Entry Point approach might be something to have a closer look at.</p>
<p>Have fun finding your own ways in ActionScript.</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RetroJ</title>
		<link>http://aralbalkan.com/408/comment-page-1#comment-10007</link>
		<dc:creator>RetroJ</dc:creator>
		<pubDate>Mon, 05 Feb 2007 03:28:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-10007</guid>
		<description>Thanks for this very nice article.  It was very helpful, even though I&#039;m writing in haxe, not actionscript.  I did want to mention that the source code examples are very hard to read, at least in the browser I&#039;m using, because the scroll-boxes were too narrow, so I had to constantly scroll left and right to read the code.</description>
		<content:encoded><![CDATA[<p>Thanks for this very nice article.  It was very helpful, even though I&#8217;m writing in haxe, not actionscript.  I did want to mention that the source code examples are very hard to read, at least in the browser I&#8217;m using, because the scroll-boxes were too narrow, so I had to constantly scroll left and right to read the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By:  glantucan</title>
		<link>http://aralbalkan.com/408/comment-page-1#comment-633</link>
		<dc:creator> glantucan</dc:creator>
		<pubDate>Mon, 06 Feb 2006 18:18:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-633</guid>
		<description>Thanks a lot. See you there :D&lt;br /&gt;
Glantucan</description>
		<content:encoded><![CDATA[<p>Thanks a lot. See you there :D<br />
Glantucan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aral Balkan</title>
		<link>http://aralbalkan.com/408/comment-page-1#comment-632</link>
		<dc:creator>Aral Balkan</dc:creator>
		<pubDate>Mon, 06 Feb 2006 17:28:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-632</guid>
		<description>Hey Glantucan, check out the &lt;a href=&quot;http://osflash.org/mailman/listinfo/osflash_osflash.org&quot;&gt;OSFlash mailing list&lt;/a&gt;. It&#039;ll be easier to have this conversation there and others can help out too! :) </description>
		<content:encoded><![CDATA[<p>Hey Glantucan, check out the <a href="http://osflash.org/mailman/listinfo/osflash_osflash.org">OSFlash mailing list</a>. It&#8217;ll be easier to have this conversation there and others can help out too! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By:  glantucan</title>
		<link>http://aralbalkan.com/408/comment-page-1#comment-631</link>
		<dc:creator> glantucan</dc:creator>
		<pubDate>Mon, 06 Feb 2006 17:21:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-631</guid>
		<description>Well, I realized I made a mistake, thinking it&#039;s the compiler who spits out the traces.&lt;br /&gt;
&lt;br /&gt;
I see now you need eclipse and flashout for that.:D &lt;br /&gt;
&lt;br /&gt;
But, as the natural entry point it&#039;s not working in that manner there must be another way, am I right?&lt;br /&gt;
&lt;br /&gt;
Perhaps, this is not the place to ask about that. &lt;br /&gt;
&lt;br /&gt;
Would you kindly tell me where (forum or mailing list) could I ask you or other about this?&lt;br /&gt;
&lt;br /&gt;
Thank you very much&lt;br /&gt;
&lt;br /&gt;
Glantucan&lt;br /&gt;
</description>
		<content:encoded><![CDATA[<p>Well, I realized I made a mistake, thinking it&#8217;s the compiler who spits out the traces.</p>
<p>I see now you need eclipse and flashout for that.:D </p>
<p>But, as the natural entry point it&#8217;s not working in that manner there must be another way, am I right?</p>
<p>Perhaps, this is not the place to ask about that. </p>
<p>Would you kindly tell me where (forum or mailing list) could I ask you or other about this?</p>
<p>Thank you very much</p>
<p>Glantucan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

