<?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>Acroidea &#187; Flex</title>
	<atom:link href="http://www.acroidea.com/index.php/category/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.acroidea.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Jul 2010 09:31:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Adobe Master Collection CS5 序列号</title>
		<link>http://www.acroidea.com/index.php/2010/06/23/adobe-master-collection-cs5-key/</link>
		<comments>http://www.acroidea.com/index.php/2010/06/23/adobe-master-collection-cs5-key/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 12:56:03 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Adobe]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=403</guid>
		<description><![CDATA[1325-1362-1605-5283-4503-0798 1325-1611-8084-8850-3979-8598 1325-1910-3678-4143-1807-7232 1325-1108-2590-5017-6231-8888 1325-1888-0801-0419-8292-7861 1325-1199-4421-3511-5257-1821]]></description>
			<content:encoded><![CDATA[<p>1325-1362-1605-5283-4503-0798<br />
1325-1611-8084-8850-3979-8598<br />
1325-1910-3678-4143-1807-7232<br />
1325-1108-2590-5017-6231-8888<br />
1325-1888-0801-0419-8292-7861<br />
1325-1199-4421-3511-5257-1821</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2010/06/23/adobe-master-collection-cs5-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash程序员常用软件及开源程序</title>
		<link>http://www.acroidea.com/index.php/2010/05/20/softs-and-open-sources-for-flash%e7%a8%8b%e5%ba%8f%e5%91%98%e5%b8%b8%e7%94%a8%e8%bd%af%e4%bb%b6%e5%8f%8a%e5%bc%80%e6%ba%90%e7%a8%8b%e5%ba%8f/</link>
		<comments>http://www.acroidea.com/index.php/2010/05/20/softs-and-open-sources-for-flash%e7%a8%8b%e5%ba%8f%e5%91%98%e5%b8%b8%e7%94%a8%e8%bd%af%e4%bb%b6%e5%8f%8a%e5%bc%80%e6%ba%90%e7%a8%8b%e5%ba%8f/#comments</comments>
		<pubDate>Thu, 20 May 2010 14:21:06 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=227</guid>
		<description><![CDATA[常用软件 1.Firefox浏览器,主要用于Flash的调试. Firefox附加插件: firebug flashtracer,调试时查看Flash调试信息. webdeveloper,最常用的就是在调试时禁用缓存. flashplayer debugger 配合flashtracer,如果不是这个版本的FlashPlayer的话,无法正常打印调试信息. 2.FlashDevelop 一个开源的Flash开发工具. 3.Adobe Flash CS3 Professional 4.Flash CS4 5.Adobe Flash Builder...]]></description>
			<content:encoded><![CDATA[<p>常用软件</p>
<p>1.Firefox浏览器,主要用于Flash的调试.<br />
Firefox附加插件:<br />
firebug<br />
flashtracer,调试时查看Flash调试信息.<br />
webdeveloper,最常用的就是在调试时禁用缓存.<br />
<a href="http://www.adobe.com/support/flashplayer/downloads.html" target="_blank">flashplayer debugger</a> 配合flashtracer,如果不是这个版本的FlashPlayer的话,无法正常打印调试信息.</p>
<p>2.FlashDevelop 一个开源的Flash开发工具.</p>
<p>3.Adobe Flash CS3 Professional</p>
<p>4.Flash CS4</p>
<p>5.Adobe Flash Builder 4</p>
<p>6.Adobe Photoshop CS4</p>
<p>7.Sothink SWF Decompiler,用于反编译SWF文件.</p>
<p>8.Vizzy,调试Flash时查看调试信息,与flashtracer相同,但是不依赖具体浏览器,只要浏览器装的flashplayer是debugger版的就行.</p>
<p>9.IIS,Flash网站本地调试时使用.</p>
<p>常用开源程序</p>
<p>1.TweenLite,实现动画效果.</p>
<p>2.SwfObject,网页中嵌入SWF.</p>
<p>3.SwfAddress,实现Flash网页的Deeplink.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2010/05/20/softs-and-open-sources-for-flash%e7%a8%8b%e5%ba%8f%e5%91%98%e5%b8%b8%e7%94%a8%e8%bd%af%e4%bb%b6%e5%8f%8a%e5%bc%80%e6%ba%90%e7%a8%8b%e5%ba%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使Flex编译的swc文件在Flash下可用</title>
		<link>http://www.acroidea.com/index.php/2009/04/18/using-flex-swc-files-in-the-flash-cs3-authoring-environment/</link>
		<comments>http://www.acroidea.com/index.php/2009/04/18/using-flex-swc-files-in-the-flash-cs3-authoring-environment/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 04:51:22 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=172</guid>
		<description><![CDATA[一直不明白如何将很多的类编译成一个swc文件，并且在Flash里可用，就像Google Map Flash API一样，今天终于找到了。http://vincent.the.tsao.googlepages.com/ 这篇文章有很详细的说明。现转于此： Using Flex SWC Files in the Flash CS3 Authoring Environment by Vincent Tsao Last updated:...]]></description>
			<content:encoded><![CDATA[<p>一直不明白如何将很多的类编译成一个swc文件，并且在Flash里可用，就像Google Map Flash API一样，今天终于找到了。<strong>http://vincent.the.tsao.googlepages.com/</strong> 这篇文章有很详细的说明。现转于此：</p>
<div id="header">
<div class="wrapper">
<h3 id="page-title">
<div id="g_title">Using Flex SWC Files in the Flash CS3 Authoring  Environment</div>
</h3>
<p class="description">
<div id="g_description">
<p>by Vincent Tsao</p></div>
</div>
</div>
<p><!-- /editable --><!-- /wrapper --><!-- /header --></p>
<div id="main-content">
<div class="wrapper">
<div class="content-item">
<div id="g_body"><strong>Last updated:</strong> 24-August-2008</p>
<p><strong>Problem</strong></p>
<p>Many API’s or code libraries written  in ActionScript 3 and compiled into SWC files are meant for use with Flex tools  and are unable to be imported into the Flash CS3 Authoring Environment.  This  tutorial will show you how you can (theoretically) take any SWC made for Flex  and use it in Flash CS3.</p>
<p><strong>Resources</strong></p>
<p>You will need the  following programs/tools:</p>
<ul>
<li>Flash CS3</li>
<li>Flex SDK 2.0.1 with Hotfix 3</li>
</ul>
<p>(note that we are intentionally NOT  using Flex SDK 3.0)</p>
<p>You can get Flex SDK 2.0.1 with Hotfix 3 here:<br />
<a href="http://labs.adobe.com/technologies/flex/sdk/flex2sdk.html" target="_blank">http://labs.adobe.com/technologies/flex/sdk/flex2sdk.html</a></p>
<p><strong>Explanation</strong></p>
<p>If  you just want the steps, you can skip down to the next section, but this  describes why the method works.  When we say “Flex SWC”, what we really mean is  a code-only SWC file which contains no DisplayObject components.  Only SWC files  with a DisplayObject component can be imported into the Flash CS3 Authoring  Environment.  Thus in order to make a Flex SWC usable in Flash CS3, we use the  Flex SDK’s <strong>compc</strong> tool to statically link it with a stub SWC file  generated in Flash CS3 that is a DisplayObject.  We require the Flex SDK 2.0.1  Hotfix 3 version of <strong>compc</strong> because Flex SDK 3.0’s <strong>compc</strong> utility  generates SWC files of version 1.2 and Flash CS3 can only use SWC files of  version 1.0.  More over, earlier versions of the Flex SDK 2.0.1 <strong>compc</strong> utility could not read SWC files compiled by the Flash CS3 authoring  environment, thus the need for Hotfix 3.  So the newly compiled SWC file is  actually two SWC files put into one – a DisplayObject SWC and the original Flex  SWC and can therefore be used within Flash  CS3.</p>
<p><strong>Steps</strong></p>
<p><span style="text-decoration: underline;">Part I: Creating a Stub DisplayObject SWC in  Flash CS3</span></p>
<ol>
<li>Create a new ActionScript 3 FLA file in Flash CS3.</li>
<li>Create a new symbol in the library (you do not need to create an instance of  it), name it whatever you want.</li>
<li>Go into your library and right click on the symbol you just created.  Select  “Component Definition…”</li>
<li>Type in whatever you want your component to be called as the class name (no  spaces).</li>
<li>Under the options part, check all the boxes and ensure the minimum Flash  Player is 9 and the minimum ActionScript version is 3.</li>
<li>Leave everything else alone, press OK.</li>
<li>Right click the symbol again in your library and select and select  “Linkage…”</li>
<li>Check the “Export for ActionScript” box and the “Export in first frame” box  should be automatically checked as well.</li>
<li>The class name should be the same name you gave it earlier.</li>
<li>Ensure the base class is indeed MovieClip, click OK.</li>
<li>Right click the symbol again in your library and select “Export SWC File…”</li>
<li>Pick a place to save it.</li>
</ol>
<p><span style="text-decoration: underline;">Part II: Putting the two SWC Files  Together</span></p>
<ol>
<li>Use the compc program to wrap what you have just created with the Flex SWC  you want to use in the Flash CS3 authoring environment.  Here is a simple  example:<code>compc -source-path+=. -output=bin\map_flash_1_6.swc&nbsp;&nbsp;-include-libraries=.\GoogleMapsFlashAPI.swc,.\map_flex_1_6.swc</code>Note  the above command is all on one line (no line breaks). The file  “map_flash_1_6.swc” is the name we choose for the component we output.  “GoogleMapsFlashAPI.swc” is the name of the SWC we created in Flash CS3 in Step  1 and “map_flex_1_6.swc” is the SWC you want to be able to use in Flash  CS3.</li>
<li>Place your newly generated SWC file in your Flash components folder. It  should be something like “\Adobe Flash CS3\en\Configuration\Components\”. If you  are unsure where this is located on your computer, Google it.</li>
<li>Open the FLA file you want to import the SWC into and open the Components  panel (Ctrl+F7 in Windows).</li>
<li>Reload the Components panel if necessary.</li>
<li>Drag your SWC file into your library (note: that there does NOT need to be  an instance of the SWC on your stage since it would be useless).</li>
</ol>
<p>Please let me know if this does not work.<br />
My contact is  vincent.the.tsao [--at--] gmail [--dot--] com</p></div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2009/04/18/using-flex-swc-files-in-the-flash-cs3-authoring-environment/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Firefox下Flash层叠显示的怪异现象</title>
		<link>http://www.acroidea.com/index.php/2008/08/14/problem-of-flash-show-in-firefox/</link>
		<comments>http://www.acroidea.com/index.php/2008/08/14/problem-of-flash-show-in-firefox/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 09:30:46 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[IFrame]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=88</guid>
		<description><![CDATA[在Firefox下看上面两个层叠的Flash的显示，效果会很怪异，两个Flash在显示时，层次混乱。下面是相应的代码： &#60;div style=&#8221;z-index:30;&#8221;&#62; &#60;object classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0&#8243; width=&#8221;550&#8243; height=&#8221;400&#8243;&#62; &#60;param name=&#8221;movie&#8221; value=&#8221;test0.swf&#8221; /&#62; &#60;param name=&#8221;quality&#8221; value=&#8221;high&#8221; /&#62; &#60;embed src=&#8221;test0.swf&#8221; quality=&#8221;high&#8221; pluginspage=&#8221;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&#8221;...]]></description>
			<content:encoded><![CDATA[<div style="z-index: 30;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="src" value="http://www.acroidea.com/wp-content/uploads/Flash/Others/FirefoxIFrame/test0.swf" /><embed type="application/x-shockwave-flash" width="550" height="400" src="http://www.acroidea.com/wp-content/uploads/Flash/Others/FirefoxIFrame/test0.swf" quality="high"></embed></object></div>
<div style="z-index: 100; margin-top: -300px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="src" value="http://www.acroidea.com/wp-content/uploads/Flash/Others/FirefoxIFrame/test1.swf" /><embed type="application/x-shockwave-flash" width="550" height="400" src="http://www.acroidea.com/wp-content/uploads/Flash/Others/FirefoxIFrame/test1.swf" quality="high"></embed></object></div>
<div>在Firefox下看上面两个层叠的Flash的显示，效果会很怪异，两个Flash在显示时，层次混乱。下面是相应的代码：</div>
<div>&lt;div style=&#8221;z-index:30;&#8221;&gt;</div>
<div>&lt;object classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0&#8243; width=&#8221;550&#8243; height=&#8221;400&#8243;&gt;<br />
&lt;param name=&#8221;movie&#8221; value=&#8221;test0.swf&#8221; /&gt;<br />
&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; /&gt;<br />
&lt;embed src=&#8221;test0.swf&#8221;</div>
<div>quality=&#8221;high&#8221; pluginspage=&#8221;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&#8221;</div>
<div>type=&#8221;application/x-shockwave-flash&#8221; width=&#8221;550&#8243; height=&#8221;400&#8243;&gt;</div>
<div>&lt;/embed&gt;<br />
&lt;/object&gt;<br />
&lt;/div&gt;</div>
<div>&lt;div style=&#8221;z-index:100; margin-top:-300px;&#8221;&gt;</div>
<div>&lt;object classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0&#8243; width=&#8221;550&#8243; height=&#8221;400&#8243;&gt;<br />
&lt;param name=&#8221;movie&#8221; value=&#8221;test1.swf&#8221; /&gt;<br />
&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; /&gt;<br />
&lt;embed src=&#8221;test1.swf&#8221; quality=&#8221;high&#8221; pluginspage=&#8221;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&#8221; type=&#8221;application/x-shockwave-flash&#8221; width=&#8221;550&#8243; height=&#8221;400&#8243;&gt;&lt;/embed&gt;<br />
&lt;/object&gt;<br />
&lt;/div&gt;</div>
<div>在IE下显示没有这个问题。不知道是Firefox的问题，还是Firefox下的Flashplayer的问题。我想了一个解决这个问题的办法，就是将其中的一个或者两个都分别放到另外的页面里，然后通过iframe来加载，而不是直接使用object标签。</div>
<div>下面将主页面index.html的body里面的代码改成下面这样：</div>
<div>&lt;div&gt;<br />
&lt;iframe src=&#8221;frame.html&#8221; width=&#8221;550&#8243; height=&#8221;400&#8243; frameborder=&#8221;0&#8243;&gt;&lt;/iframe&gt;<br />
&lt;/div&gt;<br />
&lt;div style=&#8221;margin-top:-300px&#8221;&gt;<br />
&lt;object classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0&#8243; width=&#8221;550&#8243; height=&#8221;400&#8243;&gt;<br />
&lt;param name=&#8221;movie&#8221; value=&#8221;test1.swf&#8221; /&gt;<br />
&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; /&gt;<br />
&lt;embed src=&#8221;test1.swf&#8221; quality=&#8221;high&#8221; pluginspage=&#8221;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&#8221; type=&#8221;application/x-shockwave-flash&#8221; width=&#8221;550&#8243; height=&#8221;400&#8243;&gt;&lt;/embed&gt;<br />
&lt;/object&gt;<br />
&lt;/div&gt;</div>
<div>页面frame.html的body里面的代码如下：</div>
<div>&lt;object classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0&#8243; width=&#8221;550&#8243; height=&#8221;400&#8243;&gt;<br />
&lt;param name=&#8221;movie&#8221; value=&#8221;test0.swf&#8221; /&gt;<br />
&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; /&gt;<br />
&lt;embed src=&#8221;test0.swf&#8221; quality=&#8221;high&#8221; pluginspage=&#8221;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&#8221; type=&#8221;application/x-shockwave-flash&#8221; width=&#8221;550&#8243; height=&#8221;400&#8243;&gt;&lt;/embed&gt;<br />
&lt;/object&gt;</div>
<div>显示效果如下：</div>
<div style="margin-top: -300px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="src" value="http://www.acroidea.com/wp-content/uploads/Flash/Others/FirefoxIFrame/test1.swf" /><embed type="application/x-shockwave-flash" width="550" height="400" src="http://www.acroidea.com/wp-content/uploads/Flash/Others/FirefoxIFrame/test1.swf" quality="high"></embed></object></div>
<div>试了一下这样，在Firefox2和Firefox3（包括Mac下的）都能正常，不过，Windows下的Safari还是不能正常，庆幸的是Mac上的Safari是正常的，毕竟没人会在Windows下用Safari看网页吧。</div>
<div></div>
<div><span style="text-decoration: underline;">Windows Firefox  3.6中已经不存在这样的问题。</span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2008/08/14/problem-of-flash-show-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 3 编译Library的问题及解决方法</title>
		<link>http://www.acroidea.com/index.php/2008/07/02/problems-about-flex-3-compile-library/</link>
		<comments>http://www.acroidea.com/index.php/2008/07/02/problems-about-flex-3-compile-library/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 00:06:18 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=20</guid>
		<description><![CDATA[这两个搞了一个flash，因为项目比较大，所以我想将一些较为基础的类的代码打到一个包里，本以为很简单的事情，搞了半天也没搞出来。我是用的flex 3做的开发。 问题是，如果将所有的类放到一个 actionscript project 中，Flex 在编译时，事实上并不会将本项目文件夹下的所有类代码都包进来，它似乎只关心它要用到的一些代码。这一点跟VS是完全不一样的。我想或许哪边有这一个选项的设置，可惜找了半天也没找到，试着用flash编译项目，也是一个样的。晕死… actionscript project 搞不定就重搞了一个 flex library project， 不过发现也是有问题的，我是想让它生成.swf的文件，不过flex library project默认是在bin文件夹下生成一个.swc的文件。得解压了才会出现一个library.swf，这还是不能满足我的要求。后来发现可以通过设置一些编译的参数来达到目的，不过，文件名还是叫library.swf，只是不是将它跟另一个文件打包成一个.swc文件，而是放到一个目录里。唉，也算是基本达到目的了吧。至于设置编译参数的参考，可以到 http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_04.html 上看看，而事实上我倒是没有用这个方法，太烦，这就是我最讨厌的非微软阵营的一大特点，很多简单的事确复杂化了。我用了ant来编译的。具体方法参考 http://www.jakehilton.com/?q=node/27 ，只是这篇文章里的相应的编译参数要更改。下面代码是我的大致的设置：...]]></description>
			<content:encoded><![CDATA[<p>这两个搞了一个flash，因为项目比较大，所以我想将一些较为基础的类的代码打到一个包里，本以为很简单的事情，搞了半天也没搞出来。我是用的flex 3做的开发。
</p>
<p>
问题是，如果将所有的类放到一个 actionscript project 中，Flex 在编译时，事实上并不会将本项目文件夹下的所有类代码都包进来，它似乎只关心它要用到的一些代码。这一点跟VS是完全不一样的。我想或许哪边有这一个选项的设置，可惜找了半天也没找到，试着用flash编译项目，也是一个样的。晕死… </p>
<p>
actionscript project 搞不定就重搞了一个 flex library project， 不过发现也是有问题的，我是想让它生成.swf的文件，不过flex library project默认是在bin文件夹下生成一个.swc的文件。得解压了才会出现一个library.swf，这还是不能满足我的要求。后来发现可以通过设置一些编译的参数来达到目的，不过，文件名还是叫library.swf，只是不是将它跟另一个文件打包成一个.swc文件，而是放到一个目录里。唉，也算是基本达到目的了吧。至于设置编译参数的参考，可以到 http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_04.html  上看看，而事实上我倒是没有用这个方法，太烦，这就是我最讨厌的非微软阵营的一大特点，很多简单的事确复杂化了。我用了ant来编译的。具体方法参考 http://www.jakehilton.com/?q=node/27  ，只是这篇文章里的相应的编译参数要更改。下面代码是我的大致的设置：<br />
[xml]<br />
<?xml version="1.0" encoding="UTF-8"?></p>
<project name="RpgGame ClientApp Build" default="Compile ClientApp Swf" basedir=".">
<property name="compc" location="C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.0.0\bin\compc.exe"/>
  <target name="Compile ClientApp Swf"><br />
    <exec executable="${compc}" dir="." failonerror="false"><br />
      <arg line="-source-path ."/><br />
      <arg line="-directory=true"/><br />
      <arg line="-output ../WebSite/libraries/app"/><br />
      <arg line="-include-sources ."/><br />
    </exec><br />
  </target>
</project>
[/xml]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2008/07/02/problems-about-flex-3-compile-library/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
