<?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: How to get rid of mx:Script blocks in your MXML</title>
	<atom:link href="http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/feed/" rel="self" type="application/rss+xml" />
	<link>http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/</link>
	<description>Gamedev 2.0</description>
	<lastBuildDate>Fri, 19 Mar 2010 13:45:59 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Troy</title>
		<link>http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/comment-page-1/#comment-9128</link>
		<dc:creator>Troy</dc:creator>
		<pubDate>Wed, 11 Feb 2009 00:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://troygilbert.com/?p=122#comment-9128</guid>
		<description>The contents of the mxml.as file are a cut-n-paste of what you&#039;d normally have between the &lt;mx :Script&gt; blocks.&lt;/mx&gt;</description>
		<content:encoded><![CDATA[<p>The contents of the mxml.as file are a cut-n-paste of what you&#8217;d normally have between the <mx :Script> blocks.</mx></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/comment-page-1/#comment-9127</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 10 Feb 2009 23:53:14 +0000</pubDate>
		<guid isPermaLink="false">http://troygilbert.com/?p=122#comment-9127</guid>
		<description>Thank you! This is exactly what I was looking for, and you are right about this topic being one that isn&#039;t really google friendly!

I haven&#039;t actually tried this yet, but as I read this I&#039;m wondering what the actual code block inside of the mxml.as file is...is it a package?</description>
		<content:encoded><![CDATA[<p>Thank you! This is exactly what I was looking for, and you are right about this topic being one that isn&#8217;t really google friendly!</p>
<p>I haven&#8217;t actually tried this yet, but as I read this I&#8217;m wondering what the actual code block inside of the mxml.as file is&#8230;is it a package?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy</title>
		<link>http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/comment-page-1/#comment-7736</link>
		<dc:creator>Troy</dc:creator>
		<pubDate>Tue, 23 Dec 2008 21:09:39 +0000</pubDate>
		<guid isPermaLink="false">http://troygilbert.com/?p=122#comment-7736</guid>
		<description>Odd... in a recent project, this failed to work for me. Perhaps the Flex IDE gets confused at a certain scale of project? In test projects, the aforementioned splitting and importing worked like a charm (code-hinting, etc.), but in a recent larger-scale project it didn&#039;t work at all. Hurumph!</description>
		<content:encoded><![CDATA[<p>Odd&#8230; in a recent project, this failed to work for me. Perhaps the Flex IDE gets confused at a certain scale of project? In test projects, the aforementioned splitting and importing worked like a charm (code-hinting, etc.), but in a recent larger-scale project it didn&#8217;t work at all. Hurumph!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy</title>
		<link>http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/comment-page-1/#comment-7735</link>
		<dc:creator>Troy</dc:creator>
		<pubDate>Tue, 23 Dec 2008 21:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://troygilbert.com/?p=122#comment-7735</guid>
		<description>I like the convenience of having the AS and MXML in the same file, but don&#039;t like some of the artifacts -- most of them faults of the IDE.

There&#039;s also the argument that strictly speaking, mark-up (declarative) and code (imperative) should be distinct units.</description>
		<content:encoded><![CDATA[<p>I like the convenience of having the AS and MXML in the same file, but don&#8217;t like some of the artifacts &#8212; most of them faults of the IDE.</p>
<p>There&#8217;s also the argument that strictly speaking, mark-up (declarative) and code (imperative) should be distinct units.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Fendall</title>
		<link>http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/comment-page-1/#comment-7693</link>
		<dc:creator>Tony Fendall</dc:creator>
		<pubDate>Wed, 17 Dec 2008 20:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://troygilbert.com/?p=122#comment-7693</guid>
		<description>I think the one thing people miss in these discussions, is the advantages of having related bits code close together.

I personally like the fact that my components and the code which directly interfaces with those components, are both in the same file.  It makes it easy to develop without having to switch back and forth between multiple files as I go</description>
		<content:encoded><![CDATA[<p>I think the one thing people miss in these discussions, is the advantages of having related bits code close together.</p>
<p>I personally like the fact that my components and the code which directly interfaces with those components, are both in the same file.  It makes it easy to develop without having to switch back and forth between multiple files as I go</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy</title>
		<link>http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/comment-page-1/#comment-6052</link>
		<dc:creator>Troy</dc:creator>
		<pubDate>Mon, 01 Sep 2008 22:00:21 +0000</pubDate>
		<guid isPermaLink="false">http://troygilbert.com/?p=122#comment-6052</guid>
		<description>Doubling the amount of files is not a big deal because that&#039;s the simplest granularity to work with version control at. If you&#039;re working solo, then yes, it can be unnecessary, but in a team environment it wouldn&#039;t be too much of a burden.

And even with good MVC practices, you can still have scenarios where you have plenty of declarative MXML and plenty of imperative AS3... for those situations, this can be useful.</description>
		<content:encoded><![CDATA[<p>Doubling the amount of files is not a big deal because that&#8217;s the simplest granularity to work with version control at. If you&#8217;re working solo, then yes, it can be unnecessary, but in a team environment it wouldn&#8217;t be too much of a burden.</p>
<p>And even with good MVC practices, you can still have scenarios where you have plenty of declarative MXML and plenty of imperative AS3&#8230; for those situations, this can be useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan miller</title>
		<link>http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/comment-page-1/#comment-6010</link>
		<dc:creator>ryan miller</dc:creator>
		<pubDate>Sun, 31 Aug 2008 21:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://troygilbert.com/?p=122#comment-6010</guid>
		<description>yes, but now you&#039;ve doubled the amount of FILES in your project, which I would find annoying.  I&#039;ve never even considered the script block in my MXML to be a big problem.  Maybe because I&#039;ve always used some kind of MVC framework, it&#039;s never gotten out of control.  Also, if your script block is getting huge, that&#039;s a good indicator that you need to break up your MXML into sub-components.</description>
		<content:encoded><![CDATA[<p>yes, but now you&#8217;ve doubled the amount of FILES in your project, which I would find annoying.  I&#8217;ve never even considered the script block in my MXML to be a big problem.  Maybe because I&#8217;ve always used some kind of MVC framework, it&#8217;s never gotten out of control.  Also, if your script block is getting huge, that&#8217;s a good indicator that you need to break up your MXML into sub-components.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy</title>
		<link>http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/comment-page-1/#comment-5974</link>
		<dc:creator>Troy</dc:creator>
		<pubDate>Sun, 31 Aug 2008 02:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://troygilbert.com/?p=122#comment-5974</guid>
		<description>You&#039;re right, it is just a plain old text import, not a distinct compilation unit. The cool (and unexpected) discovery is the fact that the Flex Builder editor considers the import and does the appropriate context auto-complete.</description>
		<content:encoded><![CDATA[<p>You&#8217;re right, it is just a plain old text import, not a distinct compilation unit. The cool (and unexpected) discovery is the fact that the Flex Builder editor considers the import and does the appropriate context auto-complete.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://troygilbert.com/2008/08/how-to-get-rid-of-mxscript-blocks-in-your-mxml/comment-page-1/#comment-5973</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Sat, 30 Aug 2008 23:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://troygilbert.com/?p=122#comment-5973</guid>
		<description>It does seem to good to be true. Coming from more of a layman&#039;s perspective, it seems like a simple code importing like you&#039;d see in C  . Seems like it should work, no?</description>
		<content:encoded><![CDATA[<p>It does seem to good to be true. Coming from more of a layman&#8217;s perspective, it seems like a simple code importing like you&#8217;d see in C  . Seems like it should work, no?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
