<?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>SWFAQ.org</title>
	<atom:link href="http://swfaq.org/feed" rel="self" type="application/rss+xml" />
	<link>http://swfaq.org</link>
	<description>围绕 SWF 的常见问题汇总</description>
	<lastBuildDate>Wed, 05 Oct 2011 13:35:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>a点运动到b点，并伴随运动轨迹..这个原理是怎样的？</title>
		<link>http://swfaq.org/570</link>
		<comments>http://swfaq.org/570#comments</comments>
		<pubDate>Wed, 05 Oct 2011 13:35:48 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>

		<guid isPermaLink="false">http://swfaq.org/570</guid>
		<description><![CDATA[- 作者：lee &#124; yufenglee.blog.com
]]></description>
			<content:encoded><![CDATA[<p>- 作者：lee | yufenglee.blog.com</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/570/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>flash 图层，元件，文档类，编译过程，执行顺序</title>
		<link>http://swfaq.org/569</link>
		<comments>http://swfaq.org/569#comments</comments>
		<pubDate>Wed, 05 Oct 2011 13:35:06 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>

		<guid isPermaLink="false">http://swfaq.org/569</guid>
		<description><![CDATA[- 作者：far
]]></description>
			<content:encoded><![CDATA[<p>- 作者：far</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/569/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>as3中球与不规则图形的碰撞检测</title>
		<link>http://swfaq.org/568</link>
		<comments>http://swfaq.org/568#comments</comments>
		<pubDate>Wed, 05 Oct 2011 13:33:37 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>
		<category><![CDATA[碰撞检测]]></category>

		<guid isPermaLink="false">http://swfaq.org/568</guid>
		<description><![CDATA[- 作者：lhaoo
]]></description>
			<content:encoded><![CDATA[<p>- 作者：lhaoo</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/568/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>如何使用Haxe编译SWC</title>
		<link>http://swfaq.org/566</link>
		<comments>http://swfaq.org/566#comments</comments>
		<pubDate>Wed, 05 Oct 2011 13:31:19 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[haxe]]></category>
		<category><![CDATA[macro]]></category>

		<guid isPermaLink="false">http://swfaq.org/?p=566</guid>
		<description><![CDATA[使用如下的命令即可：
-swf swcName.swc
&#8211;macro include(&#8216;package.path&#8216;)
- 作者：Y.Boy &#124; http://riaoo.com
]]></description>
			<content:encoded><![CDATA[<p>使用如下的命令即可：</p>
<p>-swf <em>swcName.swc</em><br />
&#8211;macro include(&#8216;<em>package.path</em>&#8216;)</p>
<p>- 作者：Y.Boy | http://riaoo.com</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/566/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>TextField自动换行的时候不填充满一行就换下一行？</title>
		<link>http://swfaq.org/563</link>
		<comments>http://swfaq.org/563#comments</comments>
		<pubDate>Mon, 09 May 2011 13:11:48 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>

		<guid isPermaLink="false">http://swfaq.org/?p=563</guid>
		<description><![CDATA[TextField自动换行的时候不填充满一行就换下一行,(比如一个英语单词过长，自动把单词换至另一行)，而我需要断开改单词，而填满一行，应该怎么做呢？
- 作者：fei0kite &#124; www.fzer.org
]]></description>
			<content:encoded><![CDATA[<p>TextField自动换行的时候不填充满一行就换下一行,(比如一个英语单词过长，自动把单词换至另一行)，而我需要断开改单词，而填满一行，应该怎么做呢？</p>
<p>- 作者：fei0kite | www.fzer.org</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/563/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>AIR程序关闭函数</title>
		<link>http://swfaq.org/562</link>
		<comments>http://swfaq.org/562#comments</comments>
		<pubDate>Mon, 08 Nov 2010 09:26:42 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[fscommand]]></category>

		<guid isPermaLink="false">http://swfaq.org/562/</guid>
		<description><![CDATA[fscommand(&#8220;quit&#8221;,&#8221;true&#8221;)
- 作者：KARONL &#124; http://karonl.com
]]></description>
			<content:encoded><![CDATA[<p>fscommand(&#8220;quit&#8221;,&#8221;true&#8221;)</p>
<p>- 作者：KARONL | http://karonl.com</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/562/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>为什么有的swf加密之后看不到资源了，这是一个什么样的加密机制？</title>
		<link>http://swfaq.org/561</link>
		<comments>http://swfaq.org/561#comments</comments>
		<pubDate>Fri, 01 Oct 2010 09:22:30 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>
		<category><![CDATA[加密]]></category>

		<guid isPermaLink="false">http://swfaq.org/561/</guid>
		<description><![CDATA[- 作者：mu630
]]></description>
			<content:encoded><![CDATA[<p>- 作者：mu630</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/561/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>swf文件在播放器中播放流畅，但是通过在网页中由其他swf调用的时候，却播放迟缓，为什么？</title>
		<link>http://swfaq.org/559</link>
		<comments>http://swfaq.org/559#comments</comments>
		<pubDate>Sat, 21 Aug 2010 03:44:39 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>

		<guid isPermaLink="false">http://swfaq.org/?p=559</guid>
		<description><![CDATA[swf文件在播放器中播放流畅，但是通过在网页中由其他swf调用的时候，却播放迟缓，那位大虾有过这样的经历，帮忙解释下？
- 作者：Thinkingpey
]]></description>
			<content:encoded><![CDATA[<p>swf文件在播放器中播放流畅，但是通过在网页中由其他swf调用的时候，却播放迟缓，那位大虾有过这样的经历，帮忙解释下？</p>
<p>- 作者：Thinkingpey</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/559/feed</wfw:commentRss>
		<slash:comments>418</slash:comments>
		</item>
		<item>
		<title>flash player的右键菜单的“全局设置”信息保存在哪里？</title>
		<link>http://swfaq.org/552</link>
		<comments>http://swfaq.org/552#comments</comments>
		<pubDate>Mon, 16 Aug 2010 06:58:15 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[全局设置]]></category>

		<guid isPermaLink="false">http://swfaq.org/?p=552</guid>
		<description><![CDATA[假如Windows XP系统是安装在C盘的，flash player的右键菜单的“全局设置”信息保存在以下路径：
C:\Documents and Settings\Administrator\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys
- 作者：SWFAQ &#124; http://swfaq.org/
]]></description>
			<content:encoded><![CDATA[<p>假如Windows XP系统是安装在C盘的，flash player的右键菜单的“全局设置”信息保存在以下路径：</p>
<p>C:\Documents and Settings\Administrator\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys</p>
<p>- 作者：SWFAQ | http://swfaq.org/</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/552/feed</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>使用 allowNetworking 参数</title>
		<link>http://swfaq.org/550</link>
		<comments>http://swfaq.org/550#comments</comments>
		<pubDate>Mon, 16 Aug 2010 06:57:08 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[allowNetworking]]></category>

		<guid isPermaLink="false">http://swfaq.org/?p=550</guid>
		<description><![CDATA[http://help.adobe.com/zh_CN/ActionScript/3.0_ProgrammingAS3/WS1EFE2EDA-026D-4d14-864E-79DFD56F87C6.html
- 作者：SWFAQ &#124; http://swfaq.org/
]]></description>
			<content:encoded><![CDATA[<p><a href="http://help.adobe.com/zh_CN/ActionScript/3.0_ProgrammingAS3/WS1EFE2EDA-026D-4d14-864E-79DFD56F87C6.html">http://help.adobe.com/zh_CN/ActionScript/3.0_ProgrammingAS3/WS1EFE2EDA-026D-4d14-864E-79DFD56F87C6.html</a></p>
<p>- 作者：SWFAQ | http://swfaq.org/</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/550/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>AllowScriptAccess 参数详解</title>
		<link>http://swfaq.org/548</link>
		<comments>http://swfaq.org/548#comments</comments>
		<pubDate>Mon, 16 Aug 2010 06:56:02 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[AllowScriptAccess]]></category>

		<guid isPermaLink="false">http://swfaq.org/?p=548</guid>
		<description><![CDATA[http://help.adobe.com/zh_CN/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7c9b.html
- 作者：SWFAQ &#124; http://swfaq.org/
]]></description>
			<content:encoded><![CDATA[<p><a href="http://help.adobe.com/zh_CN/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7c9b.html">http://help.adobe.com/zh_CN/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7c9b.html</a></p>
<p>- 作者：SWFAQ | http://swfaq.org/</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/548/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>flash网站自适应屏幕类</title>
		<link>http://swfaq.org/547</link>
		<comments>http://swfaq.org/547#comments</comments>
		<pubDate>Mon, 16 Aug 2010 06:55:31 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>

		<guid isPermaLink="false">http://swfaq.org/547/</guid>
		<description><![CDATA[如何写个flash自适应屏幕类 做全屏网站方便利用
- 作者：boy
]]></description>
			<content:encoded><![CDATA[<p>如何写个flash自适应屏幕类 做全屏网站方便利用</p>
<p>- 作者：boy</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/547/feed</wfw:commentRss>
		<slash:comments>521</slash:comments>
		</item>
		<item>
		<title>谁有配置 flex+amfphp+mysql 到自己博客上的经验的？</title>
		<link>http://swfaq.org/546</link>
		<comments>http://swfaq.org/546#comments</comments>
		<pubDate>Mon, 16 Aug 2010 06:54:44 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>
		<category><![CDATA[amfphp]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://swfaq.org/546/</guid>
		<description><![CDATA[本地测试发布都没有问题，就是上传到博客空间后，用 amfphpbrowser 测试连接数据库没有问题，但是自己的 swf 始终无法连接到服务器端，这是为什么呢
- 作者：CC &#124; cc-space.com
]]></description>
			<content:encoded><![CDATA[<p>本地测试发布都没有问题，就是上传到博客空间后，用 amfphpbrowser 测试连接数据库没有问题，但是自己的 swf 始终无法连接到服务器端，这是为什么呢</p>
<p>- 作者：CC | cc-space.com</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/546/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>为什么指定Vector对象的长度，运行速度更快？</title>
		<link>http://swfaq.org/544</link>
		<comments>http://swfaq.org/544#comments</comments>
		<pubDate>Thu, 12 Aug 2010 08:23:40 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Vector]]></category>
		<category><![CDATA[优化]]></category>

		<guid isPermaLink="false">http://swfaq.org/544/</guid>
		<description><![CDATA[每次Vector大小增加时，都将分配一个新的内存块。Vector的当前内容会复制到新内存块中。这种额外的分配和复制数据会降低性能。所以，尽量在创建Vector对象时，能将长度设为固定值就设为固定值。
- 作者：SWFAQ &#124; http://swfaq.org/
]]></description>
			<content:encoded><![CDATA[<p>每次Vector大小增加时，都将分配一个新的内存块。Vector的当前内容会复制到新内存块中。这种额外的分配和复制数据会降低性能。所以，尽量在创建Vector对象时，能将长度设为固定值就设为固定值。</p>
<p>- 作者：SWFAQ | http://swfaq.org/</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/544/feed</wfw:commentRss>
		<slash:comments>396</slash:comments>
		</item>
		<item>
		<title>FlashCS4或FlashCS5如何进行断点调试？</title>
		<link>http://swfaq.org/542</link>
		<comments>http://swfaq.org/542#comments</comments>
		<pubDate>Tue, 10 Aug 2010 12:49:58 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>
		<category><![CDATA[flash CS4]]></category>
		<category><![CDATA[flash CS5]]></category>
		<category><![CDATA[断点调试]]></category>

		<guid isPermaLink="false">http://swfaq.org/?p=542</guid>
		<description><![CDATA[- 作者：LiuY
]]></description>
			<content:encoded><![CDATA[<p>- 作者：LiuY</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/542/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>flex-iframe组件的弹窗不显示在最前端？</title>
		<link>http://swfaq.org/540</link>
		<comments>http://swfaq.org/540#comments</comments>
		<pubDate>Mon, 19 Jul 2010 06:10:55 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>
		<category><![CDATA[flex-iframe]]></category>

		<guid isPermaLink="false">http://swfaq.org/?p=540</guid>
		<description><![CDATA[我使用的是flex-iframe组件，发现一个问题，就是swf内嵌入网页后，该网页会一直处在最上面的位置，比如点击一个按钮弹出Alert窗口，却发现这个Alert窗口躲在了网页后面，关都关不了，真是让我哭笑不得啊！不知有人遇见过这个问题没，如何解决？谢谢!
- Anonymous
]]></description>
			<content:encoded><![CDATA[<p>我使用的是flex-iframe组件，发现一个问题，就是swf内嵌入网页后，该网页会一直处在最上面的位置，比如点击一个按钮弹出Alert窗口，却发现这个Alert窗口躲在了网页后面，关都关不了，真是让我哭笑不得啊！不知有人遇见过这个问题没，如何解决？谢谢!</p>
<p>- Anonymous</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/540/feed</wfw:commentRss>
		<slash:comments>210</slash:comments>
		</item>
		<item>
		<title>flex可以将几个不同的数据流写成不同的文件并全部压缩到一个压缩包里吗</title>
		<link>http://swfaq.org/539</link>
		<comments>http://swfaq.org/539#comments</comments>
		<pubDate>Thu, 15 Jul 2010 03:56:42 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>

		<guid isPermaLink="false">http://swfaq.org/539/</guid>
		<description><![CDATA[待回答。
- 作者：yjl
]]></description>
			<content:encoded><![CDATA[<p>待回答。</p>
<p>- 作者：yjl</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/539/feed</wfw:commentRss>
		<slash:comments>511</slash:comments>
		</item>
		<item>
		<title>ActionScript中Function的call()方法和apply()方法</title>
		<link>http://swfaq.org/537</link>
		<comments>http://swfaq.org/537#comments</comments>
		<pubDate>Sun, 04 Jul 2010 15:10:58 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[apply]]></category>
		<category><![CDATA[call]]></category>

		<guid isPermaLink="false">http://swfaq.org/?p=537</guid>
		<description><![CDATA[        今天看到function的call和apply这两个方法，上网查了一下，有人说这两个方法是用来动态改变函数指向，并给了一个例子：
import customize.my_class;
public var _property:String;
public function init():void
{
    var fn:Function = new Function();
    fn = function(&#8230;args):void
    {
        this._property = args;
    }
    var __obj:my_class = new my_class();
    //fn.call(__obj, &#8220;给属性赋值&#8221;);
    fn.apply(__obj, new Array(&#8220;给属性赋值&#8221;));
    trace(__obj._property);
}
=====================================
定义的my_class类
public class my_class
{
    public var _property:String;
    public function my_class()
    {
        this._property = &#8220;somiok&#8221;;
    }
}
        从上面代码可见fn函数是用函数表达式形式申明的，此时是可以动态改变函数指向的（也就是函数的this关键字随着函数的附着而改变）。而我用函数语句形式试了一下,函数并不能动态改变自己的指向，只能起到执行函数的作用。
import customize.my_class;
public var _property:String;
public function init():void
{
    var __obj:my_class = [...]]]></description>
			<content:encoded><![CDATA[<p>        今天看到function的call和apply这两个方法，上网查了一下，有人说这两个方法是用来动态改变函数指向，并给了一个例子：</p>
<blockquote><p>import customize.my_class;<br />
public var _property:String;<br />
public function init():void<br />
{<br />
    var fn:Function = new Function();<br />
    fn = function(&#8230;args):void<br />
    {<br />
        this._property = args;<br />
    }</p>
<p>    var __obj:my_class = new my_class();<br />
    //fn.call(__obj, &#8220;给属性赋值&#8221;);<br />
    fn.apply(__obj, new Array(&#8220;给属性赋值&#8221;));<br />
    trace(__obj._property);<br />
}</p></blockquote>
<p>=====================================<br />
<strong>定义的my_class类</strong></p>
<blockquote><p>public class my_class<br />
{<br />
    public var _property:String;<br />
    public function my_class()<br />
    {<br />
        this._property = &#8220;somiok&#8221;;<br />
    }<br />
}</p></blockquote>
<p>        从上面代码可见fn函数是用函数表达式形式申明的，此时是可以动态改变函数指向的（也就是函数的this关键字随着函数的附着而改变）。而我用函数语句形式试了一下,函数并不能动态改变自己的指向，只能起到执行函数的作用。</p>
<blockquote><p>import customize.my_class;<br />
public var _property:String;<br />
public function init():void<br />
{<br />
    var __obj:my_class = new my_class();<br />
    //fn.call(__obj, &#8220;给属性赋值&#8221;);<br />
    fn.apply(__obj, new Array(&#8220;给属性赋值&#8221;));<br />
    trace(__obj._property);<br />
}</p>
<p>private function fn(&#8230;args):void<br />
{<br />
    this._property = args.toString();<br />
}</p></blockquote>
<p>        后来查了黑羽老大的书：函数语句定义法和函数表达式定义法的不同还体现在this关键字的记忆上。使用函数语句定义法，则this关键字牢牢指向当前函数定义的域；若使用函数表达式定义法，则随着函数附着的对象不同，this关键字也随之改变。语句定义法需先声明后调用的原则。</p>
<p><strong>总结：</strong>如果函数是函数语句定义的形式：则call方法和apply方法只起到执行函数的作用。<br />
如果函数是函数表达式定义形式：则call方法和apply方法起到动态改变函数指向，同时改变被指向类的一些属性。</p>
<p>- 作者：古风依云 | http://hi.baidu.com/crkay</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/537/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>关于Flash Player的垃圾回收</title>
		<link>http://swfaq.org/533</link>
		<comments>http://swfaq.org/533#comments</comments>
		<pubDate>Mon, 28 Jun 2010 08:13:00 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Garbage Collection]]></category>
		<category><![CDATA[gc]]></category>
		<category><![CDATA[垃圾回收]]></category>

		<guid isPermaLink="false">http://swfaq.org/?p=533</guid>
		<description><![CDATA[        Flash Player的垃圾回收指的是从内存中删除不再需要的对象的操作。此过程会释放不再被引用的实例所使用的内存。
       Flash Player 在应用程序生命周期内会根据需要执行垃圾回收。但取消对对象的引用不会触发垃圾回收。因此，删除对某个对象的所有引用之后，垃圾收集器不一定会释放该对象所用的内存。此对象只是成为垃圾回收的候选对象。
       为新资源分配内存通常会触发垃圾回收。如果新资源需要的内存无法通过当前分配获得，垃圾收集器就会运行并释放标记为释放的内存。因此，即使您删除了对某个对象的所有引用，也可能不会立即将该对象作为垃圾回收，但在创建并使用其它实例时，则很可能会将该对象作为垃圾回收。可以在应用程序处于空闲状态时，观察其内存分配情况。在您开始与空闲应用程序交互之前，即使存在标记为回收的对象，空闲应用程序的内存使用情况通常也不会发生更改。
       Flash Player 以多字节块的方式分配内存，而不是一次分配一个字节。如果某个块的一部分标记为垃圾回收，而其它部分并未作此标记，则不会释放此块。垃圾收集器会尝试将内存块中所有未使用的部分组合为可以释放的较大的块，但并不是在垃圾收集器每次运行时都会做此尝试。
PS：debug版本的Flash Player可以使用 System.gc() 方法手动进行垃圾回收。对于非debug版本的Flash Player，请了解一下 Loader.unloadAndStop(gc:Boolean) 方法。
- 作者：Y.Boy &#124; http://riaoo.com/
]]></description>
			<content:encoded><![CDATA[<p>        Flash Player的垃圾回收指的是从内存中删除不再需要的对象的操作。此过程会释放不再被引用的实例所使用的内存。</p>
<p>       Flash Player 在应用程序生命周期内会根据需要执行垃圾回收。但取消对对象的引用不会触发垃圾回收。因此，删除对某个对象的所有引用之后，垃圾收集器不一定会释放该对象所用的内存。此对象只是成为垃圾回收的候选对象。</p>
<p>       <strong><span style="color: #ff0000;">为新资源分配内存通常会触发垃圾回收。</span>如果新资源需要的内存无法通过当前分配获得，垃圾收集器就会运行并释放标记为释放的内存。</strong>因此，即使您删除了对某个对象的所有引用，也可能不会立即将该对象作为垃圾回收，但在创建并使用其它实例时，则很可能会将该对象作为垃圾回收。可以在应用程序处于空闲状态时，观察其内存分配情况。在您开始与空闲应用程序交互之前，即使存在标记为回收的对象，空闲应用程序的内存使用情况通常也不会发生更改。</p>
<p>       Flash Player 以多字节块的方式分配内存，而不是一次分配一个字节。如果某个块的一部分标记为垃圾回收，而其它部分并未作此标记，则不会释放此块。垃圾收集器会尝试将内存块中所有未使用的部分组合为可以释放的较大的块，但并不是在垃圾收集器每次运行时都会做此尝试。</p>
<p><strong>PS</strong>：debug版本的Flash Player可以使用 System.gc() 方法手动进行垃圾回收。对于非debug版本的Flash Player，请了解一下 Loader.unloadAndStop(gc:Boolean) 方法。</p>
<p>- 作者：Y.Boy | http://riaoo.com/</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/533/feed</wfw:commentRss>
		<slash:comments>753</slash:comments>
		</item>
		<item>
		<title>PrintJob 和 FlexPrintJob 区别？</title>
		<link>http://swfaq.org/531</link>
		<comments>http://swfaq.org/531#comments</comments>
		<pubDate>Wed, 23 Jun 2010 08:41:06 +0000</pubDate>
		<dc:creator>Y.Boy</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Question]]></category>
		<category><![CDATA[FlexPrintJob]]></category>
		<category><![CDATA[PrintJob]]></category>

		<guid isPermaLink="false">http://swfaq.org/531/</guid>
		<description><![CDATA[- Anonymous
]]></description>
			<content:encoded><![CDATA[<p>- Anonymous</p>
]]></content:encoded>
			<wfw:commentRss>http://swfaq.org/531/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

