<?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>愚人呓语 &#187; 学海沉舟 · [技术]</title>
	<atom:link href="http://eidiot.net/category/learning/feed/" rel="self" type="application/rss+xml" />
	<link>http://eidiot.net</link>
	<description>eidiot's blog. My flapdoodles.</description>
	<lastBuildDate>Tue, 06 Jul 2010 10:33:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Robotlegs 的 LazyMediator 扩展</title>
		<link>http://eidiot.net/2010/03/10/robotlegs-utility-lazymediator/</link>
		<comments>http://eidiot.net/2010/03/10/robotlegs-utility-lazymediator/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 14:42:57 +0000</pubDate>
		<dc:creator>eidiot</dc:creator>
				<category><![CDATA[学海沉舟 · [技术]]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[robotlegs]]></category>

		<guid isPermaLink="false">http://eidiot.net/?p=543</guid>
		<description><![CDATA[Read in English: Robotlegs Utility LazyMediator 为了游戏中有更好的性能为 Robotlegs 写了一个 LazyMediator 扩展。 如何使用 在 context 里 override mediatorMap 的 getter 方法: return _mediatorMap &#124;&#124; &#40;_mediatorMap = new LazyMediatorMap&#40;contextView, injector&#41;&#41;; 在 view 类的构造函数里增加: new LazyMediatorActivator&#40;this&#41;; 作用 LazyMediatorMap 不监听显示列表里所有的 ADDED_TO_STAGE 事件而检测所有被添加到显示列表的显示对象。 如何工作 当 view 被添加到 stage 或从 stage 移除时 LazyMediatorActivator 广播 LazyMediatorEvent。 LazyMediatorMap 监听 context 的 LazyMediatorEvent 然后检查对应的 [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://eidiot.net/en/2010/03/10/robotlegs-utility-lazymediator/" class="liinternal">Read in English: Robotlegs Utility LazyMediator</a>
</p>
<p>
	为了游戏中有更好的性能为 <a href="http://robotlegs.org" target="_blank" class="liexternal">Robotlegs</a> 写了一个 <a href="http://github.com/eidiot/robotlegs-utilities-LazyMediator" target="_blank" class="liexternal">LazyMediator 扩展</a>。
</p>
<h5>
	如何使用<br />
</h5>
<ul>
<li>在 context 里 override mediatorMap 的 getter 方法:

<div class="wp_codebox"><table><tr id="p5433"><td class="code" id="p543code3"><pre class="actionscript" style="font-family:monospace;"><span style="color: #b1b100;">return</span> _mediatorMap <span style="color: #66cc66;">||</span> <span style="color: #66cc66;">&#40;</span>_mediatorMap = <span style="color: #000000; font-weight: bold;">new</span> LazyMediatorMap<span style="color: #66cc66;">&#40;</span>contextView, injector<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

</li>
<li>在 view 类的构造函数里增加:

<div class="wp_codebox"><table><tr id="p5434"><td class="code" id="p543code4"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">new</span> LazyMediatorActivator<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

</li>
</ul>
<h5>
	作用<br />
</h5>
<ul>
<li>LazyMediatorMap 不监听显示列表里所有的 ADDED_TO_STAGE 事件而检测所有被添加到显示列表的显示对象。
	</li>
</ul>
<h5>
	如何工作<br />
</h5>
<ul>
<li>当 view 被添加到 stage 或从 stage 移除时 LazyMediatorActivator 广播 LazyMediatorEvent。
	</li>
<li>LazyMediatorMap 监听 context 的 LazyMediatorEvent 然后检查对应的 view。
	</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://eidiot.net/2010/03/10/robotlegs-utility-lazymediator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>as3-signals 的 FlexUnit4 扩展</title>
		<link>http://eidiot.net/2010/01/06/unit-test-utility-for-as3-signals/</link>
		<comments>http://eidiot.net/2010/01/06/unit-test-utility-for-as3-signals/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 13:29:06 +0000</pubDate>
		<dc:creator>eidiot</dc:creator>
				<category><![CDATA[学海沉舟 · [技术]]]></category>
		<category><![CDATA[as3-signals]]></category>
		<category><![CDATA[flexunit]]></category>
		<category><![CDATA[unittest]]></category>

		<guid isPermaLink="false">http://eidiot.net/?p=538</guid>
		<description><![CDATA[Read in English: FlexUnit 4 Utility of as3-signals 为 as3-signals 写了一个 FlexUnit 4 的扩展。 例子: Async.proceedOnEvent&#40;this, new SignalAsync&#40;instance.someSignal&#41;, SignalAsyncEvent.CALLED&#41;; instance.doSomeThingShouldDispatchSomeSignal&#40;&#41;;]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://eidiot.net/en/2010/02/21/as3-signals-utility-for-flexunit-4/" class="liinternal">Read in English: FlexUnit 4 Utility of as3-signals</a>
</p>
<p>
为 <a href="http://github.com/robertpenner/as3-signals" target="_blank" class="liexternal">as3-signals</a> 写了一个 <a href="http://github.com/eidiot/as3-signals-utilities-async" target="_blank" class="liexternal">FlexUnit 4 的扩展</a>。
</p>
<p>
例子:</p>

<div class="wp_codebox"><table><tr id="p5386"><td class="code" id="p538code6"><pre class="actionscript" style="font-family:monospace;">Async.<span style="color: #006600;">proceedOnEvent</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>, <span style="color: #000000; font-weight: bold;">new</span> SignalAsync<span style="color: #66cc66;">&#40;</span>instance.<span style="color: #006600;">someSignal</span><span style="color: #66cc66;">&#41;</span>, SignalAsyncEvent.<span style="color: #006600;">CALLED</span><span style="color: #66cc66;">&#41;</span>;
instance.<span style="color: #006600;">doSomeThingShouldDispatchSomeSignal</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>
</p>
]]></content:encoded>
			<wfw:commentRss>http://eidiot.net/2010/01/06/unit-test-utility-for-as3-signals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Built in unit test support in Flash Builder and more I expected</title>
		<link>http://eidiot.net/2009/12/30/built-in-unit-test-support-in-flash-builder-and-more-i-expected/</link>
		<comments>http://eidiot.net/2009/12/30/built-in-unit-test-support-in-flash-builder-and-more-i-expected/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 10:39:17 +0000</pubDate>
		<dc:creator>eidiot</dc:creator>
				<category><![CDATA[学海沉舟 · [技术]]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[flexunit]]></category>
		<category><![CDATA[tdd]]></category>
		<category><![CDATA[unittest]]></category>

		<guid isPermaLink="false">http://eidiot.net/?p=537</guid>
		<description><![CDATA[Now we have FlexUnit1 and FlexUnit4 support built in Flash Builder beta 2: Create a test suite class Create a test case class Create a test case class of an exist class and choose which methods to test. Right click a test case class and run it. Right click a test suite class and run [...]]]></description>
			<content:encoded><![CDATA[<p>Now we have FlexUnit1 and FlexUnit4 support built in Flash Builder beta 2: </p>
<ul>
<li>Create a test suite class</li>
<li>Create a test case class</li>
<li>Create a test case class of an exist class and choose which methods to test.</li>
<li>Right click a test case class and run it.</li>
<li>Right click a test suite class and run it.</li>
<li>Choose any set of test suites and test cases (test methods) to run.</li>
<li>See test results in FlexUnit Results View</li>
<p>To see more detail <a href="http://www.adobe.com/devnet/flex/articles/flashbuilder4_tdd_03.html" target="_blank" class="liexternal">Click Here</a>.
</ul>
<p>They are good for unit test, but not for TDD (write test before code).<br />
I wish to see some more:</p>
<ul>
<li>Set the source folder for real code and tests folder for test classes.</li>
<li>Create a test case class in the tests folder, and choose if create the class to be tested in the source folder.</li>
<li>Create and update test suite classes automatically in every package in the tests folder.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://eidiot.net/2009/12/30/built-in-unit-test-support-in-flash-builder-and-more-i-expected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用 FlexUnit 和 Robotlegs 尝试 TDD</title>
		<link>http://eidiot.net/2009/12/27/try-tdd-on-robotlegs-with-flexunit/</link>
		<comments>http://eidiot.net/2009/12/27/try-tdd-on-robotlegs-with-flexunit/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 06:49:59 +0000</pubDate>
		<dc:creator>eidiot</dc:creator>
				<category><![CDATA[学海沉舟 · [技术]]]></category>
		<category><![CDATA[fdt]]></category>
		<category><![CDATA[flexunit]]></category>
		<category><![CDATA[robotlegs]]></category>
		<category><![CDATA[tdd]]></category>

		<guid isPermaLink="false">http://eidiot.net/?p=535</guid>
		<description><![CDATA[尝试使用TDD的小例子(视频)。 Download (Right-click and “save as”) ｜ 下载(右键另存为)]]></description>
			<content:encoded><![CDATA[<p><img src="http://eidiot.net/wp-content/plugins/flash-video-player/default_video_player.gif" /><br />
尝试使用TDD的小例子(视频)。<br />
<a href="http://eidiot.net/wp-content/uploads/2009/12/HelloRobotlegsAndFlexUnit.mp4" target="_blank" class="liinternal">Download (Right-click and “save as”)</a> ｜ <a href="http://eidiot.net/wp-content/uploads/2009/12/HelloRobotlegsAndFlexUnit.mp4" target="_blank" class="liinternal">下载(右键另存为)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://eidiot.net/2009/12/27/try-tdd-on-robotlegs-with-flexunit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>我的 FDT 模板文件</title>
		<link>http://eidiot.net/2009/12/01/my-fdt-templates-file/</link>
		<comments>http://eidiot.net/2009/12/01/my-fdt-templates-file/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 06:47:52 +0000</pubDate>
		<dc:creator>eidiot</dc:creator>
				<category><![CDATA[学海沉舟 · [技术]]]></category>
		<category><![CDATA[fdt]]></category>

		<guid isPermaLink="false">http://eidiot.net/?p=533</guid>
		<description><![CDATA[共享出来，也方便自己备份/更新]]></description>
			<content:encoded><![CDATA[<p><a href="http://github.com/eidiot/FDT-Resources/tree/master/templates/" target="_blank" class="liexternal">共享出来</a>，也方便自己备份/更新</p>
]]></content:encoded>
			<wfw:commentRss>http://eidiot.net/2009/12/01/my-fdt-templates-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Robotlegs 视频教程</title>
		<link>http://eidiot.net/2009/11/26/get_time_with_robotlegs/</link>
		<comments>http://eidiot.net/2009/11/26/get_time_with_robotlegs/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 01:25:05 +0000</pubDate>
		<dc:creator>eidiot</dc:creator>
				<category><![CDATA[学海沉舟 · [技术]]]></category>
		<category><![CDATA[fdt]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[robotlegs]]></category>

		<guid isPermaLink="false">http://eidiot.net/?p=532</guid>
		<description><![CDATA[Robotlegs 终于结束RC发布了V1.0，正巧昨晚录了一个简单的视频教程： 在线 &#124; 下载(右键另存为) - - - - - - - - - - A simple video tutorial "Get Time With Robotlegs" (In Chinese): Watch Online &#124; Download (Right-click and “save as”)]]></description>
			<content:encoded><![CDATA[<p><img src="http://eidiot.net/wp-content/plugins/flash-video-player/default_video_player.gif" /><br />
<a href="http://www.robotlegs.org/" target="_blank" class="liexternal">Robotlegs</a> 终于结束RC发布了V1.0，正巧昨晚录了一个简单的视频教程：<br />
<a href="http://eidiot.net/wp-content/uploads/2009/11/GetTimeWithRobotlegs_controller.swf" target="_blank" class="liinternal">在线</a> | <a href="http://eidiot.net/wp-content/uploads/2009/11/GetTimeWithRobotlegs.mp4" target="_blank" class="liinternal">下载(右键另存为)</a></p>
<p>- - - - - - - - - - </p>
<p>A simple video tutorial "Get Time With Robotlegs" (In Chinese):<br />
<a href="http://eidiot.net/wp-content/uploads/2009/11/GetTimeWithRobotlegs_controller.swf" target="_blank" class="liinternal">Watch Online</a> | <a href="http://eidiot.net/wp-content/uploads/2009/11/GetTimeWithRobotlegs.mp4" target="_blank" class="liinternal">Download (Right-click and “save as”)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://eidiot.net/2009/11/26/get_time_with_robotlegs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Robotlegs 中文文档</title>
		<link>http://eidiot.net/2009/11/10/robotlegs-documentation-zh-cn/</link>
		<comments>http://eidiot.net/2009/11/10/robotlegs-documentation-zh-cn/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 02:12:38 +0000</pubDate>
		<dc:creator>eidiot</dc:creator>
				<category><![CDATA[学海沉舟 · [技术]]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[robotlegs]]></category>

		<guid isPermaLink="false">http://eidiot.net/?p=531</guid>
		<description><![CDATA[Robotlegs 的 最佳实践 文档已经基本 翻译完毕: 点此查看. 因为 Robotlegs 目前还是v1.0RC6，代码和文档都还没有 lock，后面还会有一些增改。英文水平有限，翻译质量不高，如果发现明显的翻译错误请帮忙指出。 RobotLegs 应该会是继 PureMVC 之后最流行的Flex/Flash框架，有Flash社区很多牛人(比如《FlashMX编程与创意实现》的作者 Robert Penner)加入开发支持，请一起期待吧。]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.robotlegs.org/" target="_blank" class="liexternal">Robotlegs</a> 的 <a href="http://wiki.github.com/robotlegs/robotlegs-framework/best-practices" target="_blank" class="liexternal">最佳实践</a> 文档已经基本 <a href="http://wiki.github.com/eidiot/robotlegs-framework/372299" target="_blank" class="liexternal">翻译完毕</a>: <a href="http://wiki.github.com/eidiot/robotlegs-framework/372299" target="_blank" class="liexternal">点此查看</a>.<br />
<br />
因为 <a href="http://www.robotlegs.org/" target="_blank" class="liexternal">Robotlegs</a> 目前还是v1.0RC6，代码和文档都还没有 lock，后面还会有一些增改。英文水平有限，翻译质量不高，如果发现明显的翻译错误请帮忙指出。<br />
<br />
RobotLegs 应该会是继 <a href="http://puremvc.org/" target="_blank" class="liexternal">PureMVC</a> 之后最流行的Flex/Flash框架，有Flash社区很多牛人(比如《FlashMX编程与创意实现》的作者 <a href="http://robertpenner.com/flashblog/" target="_blank" class="liexternal">Robert Penner</a>)加入开发支持，请一起期待吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://eidiot.net/2009/11/10/robotlegs-documentation-zh-cn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>赞一下FDT3.5Bete1的常量完成功能</title>
		<link>http://eidiot.net/2009/08/28/autocompletion-for-contant-convention-in-fdt35/</link>
		<comments>http://eidiot.net/2009/08/28/autocompletion-for-contant-convention-in-fdt35/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 03:03:19 +0000</pubDate>
		<dc:creator>eidiot</dc:creator>
				<category><![CDATA[学海沉舟 · [技术]]]></category>
		<category><![CDATA[fdt]]></category>

		<guid isPermaLink="false">http://eidiot.net/?p=530</guid>
		<description><![CDATA[一直不满FDT没有支持[Event]标签，这次的FDT3.5Beta终于提供了这项功能，并且有了我一直期待的常量自动完成，赞~ 在方法或者构造函数的参数里： 或者属性里： 使用一个同名的常量枚举类中的值： 在输入参数： 或者设置属性时： 就能看到FDT的自动完成了。 注意参数或者属性名要和常量枚举类同名(actionName - ActionName)。 //---------- 顺便带上[Event]标签支持给不熟悉FlexBuilder中此项功能的tx： 定义事件常量： 在广播类中声明[Event]标签： 自动完成：]]></description>
			<content:encoded><![CDATA[<p>一直不满FDT没有支持[Event]标签，这次的FDT3.5Beta终于提供了这项功能，并且有了我一直期待的常量自动完成，赞~<br />
<br />
在方法或者构造函数的参数里：<br />
<img src="http://eidiot.net/wp-content/uploads/2009/08/DemoAction_Constructor.png" alt="DemoAction_Constructor" /><br />
<span id="more-530"></span>或者属性里：<br />
<img src="http://eidiot.net/wp-content/uploads/2009/08/DemoAction_Property.png" alt="DemoAction_Property" /><br />
使用一个同名的常量枚举类中的值：<br />
<img src="http://eidiot.net/wp-content/uploads/2009/08/ActionName.png" alt="ActionName" /><br />
在输入参数：<br />
<img src="http://eidiot.net/wp-content/uploads/2009/08/AutoComp_Cons_1.png" alt="AutoComp_Cons_1" /><br />
或者设置属性时：<br />
<img src="http://eidiot.net/wp-content/uploads/2009/08/AutoComp_Cons_2.png" alt="AutoComp_Cons_2" /><br />
就能看到FDT的自动完成了。<br />
<font color="red">注意参数或者属性名要和常量枚举类同名(actionName - ActionName)。</font><br />
<br />
//----------  顺便带上[Event]标签支持给不熟悉FlexBuilder中此项功能的tx：<br />
<br />
定义事件常量：<br />
<img src="http://eidiot.net/wp-content/uploads/2009/08/DemoEvent.png" alt="DemoEvent" /><br />
在广播类中声明[Event]标签：<br />
<img src="http://eidiot.net/wp-content/uploads/2009/08/DemoModel.png" alt="DemoModel" /><br />
自动完成：<br />
<img src="http://eidiot.net/wp-content/uploads/2009/08/AutoComp_Event.png" alt="AutoComp_Event" /></p>
]]></content:encoded>
			<wfw:commentRss>http://eidiot.net/2009/08/28/autocompletion-for-contant-convention-in-fdt35/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>eclipse.ini in mac</title>
		<link>http://eidiot.net/2009/06/03/eclipse-dot-ini-in-mac/</link>
		<comments>http://eidiot.net/2009/06/03/eclipse-dot-ini-in-mac/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 07:05:06 +0000</pubDate>
		<dc:creator>eidiot</dc:creator>
				<category><![CDATA[学海沉舟 · [技术]]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[fdt]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://eidiot.net/?p=529</guid>
		<description><![CDATA[在mac上装了FDT，却找不到eclipse.ini文件编辑内存限制。Google加摸索，终于搞定：在eclipse安装目录右击eclipse程序，选“显示包内容”，eclipse.ini就在 Content/MacOS下。 Mac确实比Windows好用。决定抛弃小黑，长期霸占老婆的小白了]]></description>
			<content:encoded><![CDATA[<p>在mac上装了FDT，却找不到eclipse.ini文件编辑内存限制。Google加摸索，终于搞定：在eclipse安装目录右击eclipse程序，选“显示包内容”，eclipse.ini就在 Content/MacOS下。<br />
Mac确实比Windows好用。决定抛弃小黑，长期霸占老婆的小白了 <img src='http://eidiot.net/wp-content/plugins/smilies-themer/JBIG/beauty.gif' alt='[beauty]' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://eidiot.net/2009/06/03/eclipse-dot-ini-in-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>查看Flex生成的AS代码</title>
		<link>http://eidiot.net/2008/10/30/see-generated-as-code-from-flex-mxml/</link>
		<comments>http://eidiot.net/2008/10/30/see-generated-as-code-from-flex-mxml/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 04:15:32 +0000</pubDate>
		<dc:creator>eidiot</dc:creator>
				<category><![CDATA[学海沉舟 · [技术]]]></category>
		<category><![CDATA[Flex Builder]]></category>

		<guid isPermaLink="false">http://eidiot.net/?p=492</guid>
		<description><![CDATA[　　Flex的MXML先要编译成AS，然后再编译成SWF。通过 keep-generated-actionscript 编译参数可以保存这些代码。这对学习Flex的Framework很有帮助。 右击项目，选择 Properties，选择 Flex Compiler ，在 Additional compiler arguments: 下加上 -keep-generated-actionscript： 在项目的 src 目录下将生成一个 generated 文件夹： 除了项目对应的 -generated.as 和 -interface.as 外，还有一些 Style.as 和 _properties.as: 另外，Flex Framework 的源代码可以在这里找到： [Flex Builder 安装路径]\sdks\[Flex 版本号]\frameworks\projects\framework\src 在我的机器上是： D:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.1.0\frameworks\projects\framework\src]]></description>
			<content:encoded><![CDATA[<p>　　Flex的MXML先要编译成AS，然后再编译成SWF。通过 <strong>keep-generated-actionscript</strong> 编译参数可以保存这些代码。这对学习Flex的Framework很有帮助。<br />
<br />
右击项目，选择 <strong>Properties</strong>，选择 <strong>Flex Compiler</strong> ，在 <strong>Additional compiler arguments:</strong> 下加上 <strong>-keep-generated-actionscript</strong>：<br />
<img src="http://eidiot.net/wp-content/uploads/2008/10/mxmltoas/compiler_argument.gif" alt="add compiler argument" /><br />
<span id="more-492"></span><br />
在项目的 src 目录下将生成一个 generated 文件夹：<br />
<img src="http://eidiot.net/wp-content/uploads/2008/10/mxmltoas/generated_folder.gif" alt="generated folder" /><br />
<br />
除了项目对应的 -generated.as 和 -interface.as 外，还有一些 Style.as 和 _properties.as:<br />
<img src="http://eidiot.net/wp-content/uploads/2008/10/mxmltoas/generated_files.gif" alt="generated files" /><br />
<br />
另外，Flex Framework 的源代码可以在这里找到：<br />
<strong>[Flex Builder 安装路径]</strong>\sdks\<strong>[Flex 版本号]</strong>\frameworks\projects\framework\src<br />
在我的机器上是：<br />
D:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.1.0\frameworks\projects\framework\src</p>
]]></content:encoded>
			<wfw:commentRss>http://eidiot.net/2008/10/30/see-generated-as-code-from-flex-mxml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
