<?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; Flash</title>
	<atom:link href="http://www.acroidea.com/index.php/tag/flash/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>Flash中彩色图变黑白图</title>
		<link>http://www.acroidea.com/index.php/2010/07/06/flash-colorful-to-black-white/</link>
		<comments>http://www.acroidea.com/index.php/2010/07/06/flash-colorful-to-black-white/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 03:31:06 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=447</guid>
		<description><![CDATA[这两天在看ARToolKit，发现了里面有一段代码，是将彩色的图片变成黑白的。 做了一个简单的例子： [as3] package { import flash.display.*; import flash.geom.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.filters.*; public class Test...]]></description>
			<content:encoded><![CDATA[<p>这两天在看ARToolKit，发现了里面有一段代码，是将彩色的图片变成黑白的。</p>
<p>做了一个简单的例子：</p>
<p>[as3]<br />
package<br />
{<br />
	import flash.display.*;<br />
	import flash.geom.*;<br />
	import flash.events.*;<br />
	import flash.net.*;<br />
	import flash.utils.*;<br />
	import flash.filters.*;</p>
<p>	public class Test extends Sprite<br />
	{<br />
		private static const ZERO_POINT:Point = new Point();<br />
		private static const MONO_FILTER:ColorMatrixFilter = new ColorMatrixFilter([<br />
			0.2989, 0.5866, 0.1145, 0, 0,<br />
			0.2989, 0.5866, 0.1145, 0, 0,<br />
			0.2989, 0.5866, 0.1145, 0, 0,<br />
			0, 0, 0, 1, 0<br />
		]);</p>
<p>		public function Test()<br />
		{<br />
			var char:Char = new Char();<br />
			var inbmp:BitmapData = new BitmapData(char.width, char.height, true, 0&#215;000000);<br />
			inbmp.draw(char);</p>
<p>			var outbmp:BitmapData = new BitmapData(inbmp.width, inbmp.height, false, 0&#215;0);<br />
			outbmp.applyFilter(inbmp, inbmp.rect, ZERO_POINT, MONO_FILTER);</p>
<p>			addChild(new Bitmap(outbmp));<br />
		}<br />
	}<br />
}<br />
[/as3]</p>
<p>Test.as作为一个Fla文件的文档类，Char是Fla中的一个可显示的对象。看代码的意思是对原始的彩色图片中的RGB色作一个计算：<br />
新R = 新G = 新B = 0.2989 * R + 0.5866 * G + 0.1145 * B;<br />
整不明白0.2989，0.5866，0.1145这三个常数从何而来，不过图确实变成黑白的了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2010/07/06/flash-colorful-to-black-white/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[转][翻译]Flash现实增强技术入门指南</title>
		<link>http://www.acroidea.com/index.php/2010/07/02/flash-augmented-reality-flartoolkit/</link>
		<comments>http://www.acroidea.com/index.php/2010/07/02/flash-augmented-reality-flartoolkit/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 06:45:47 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[FlarToolkit]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=440</guid>
		<description><![CDATA[转自：http://www.asbinbin.com/?p=8 由于最近在研究Flash的3D及AR（Argument Reality）技术。因此这段时间集中读了一些相关方面的资料。谈不上分享经验，先翻译一篇Mikko Haapoja的文章作为开始吧。这篇博文是他在Saqoosha的《FlarToolkit入门指南》的 基础上进一步对Spark类库中的FlarToolkit（一个实现Flash AR技术的开源类库）做了比较详细的入门指导。（注：本人首次尝试翻译，欢迎大家指正。转载请注明出处） ok.开始吧————————————————— 《FlarToolkit/Flash 现实增强技术入门指南》 翻译：盐酸酸 原文地址：http://www.mikkoh.com/blog/?p=182 最近我正在尝试着研究一下FlarToolkit。什么是FlarToolkit？FlarToolkit是一 个实现Flash 现实增强技术的开源类。我在另一篇帖子里介绍了有关 它的更多细节。 我打算先讲解一下如何基于FlarToolkit开发。FlarToolkit开发时比较困难的 一点是代码内几乎所有的注释都是日文，所以如果你打算查看代码（而且你不会日语），你就不得不耗费更多的精力去研究。 开始之前，先下载这个例子（点我下载）。这个例子基于Saqoosha的简易方块的例子，但是更加简单易读。 OK，我们现在就开始学习FlarToolkit啦！ 第一步：下载...]]></description>
			<content:encoded><![CDATA[<p>转自：<a href="http://www.asbinbin.com/?p=8" target="_blank">http://www.asbinbin.com/?p=8</a></p>
<p>由于最近在研究Flash的3D及AR（Argument Reality）技术。因此这段时间集中读了一些相关方面的资料。谈不上分享经验，先翻译一篇<strong>Mikko  Haapoja</strong>的文章作为开始吧。这篇博文是他在Saqoosha的<strong>《FlarToolkit入门指南》</strong>的 基础上进一步对Spark类库中的FlarToolkit（一个实现Flash  AR技术的开源类库）做了比较详细的入门指导。（注：本人首次尝试翻译，欢迎大家指正。转载请注明出处）<br />
ok.开始吧—————————————————</p>
<p><strong>《FlarToolkit/Flash 现实增强技术入门指南》</strong><br />
翻译：<a href="http://www.asbinbin.com/" target="_blank">盐酸酸</a> 原文地址：<a href="http://www.mikkoh.com/blog/?p=182" target="_blank">http://www.mikkoh.com/blog/?p=182</a></p>
<p>最近我正在尝试着研究一下<strong>FlarToolkit</strong>。什么是FlarToolkit？FlarToolkit是一 个实现<strong>Flash 现实增强技术</strong>的开源类。我在<a href="http://www.mikkoh.com/blog/?p=129" target="_blank">另一篇帖子</a>里介绍了有关 它的更多细节。<br />
我打算先讲解一下如何基于FlarToolkit开发。FlarToolkit开发时比较困难的 一点是代码内几乎所有的注释都是日文，所以如果你打算查看代码（而且你不会日语），你就不得不耗费更多的精力去研究。<br />
开始之前，先下载这个例子（<a href="http://www.mikkoh.com/blog/wp-content/uploads/2008/12/learningflartoolkit.zip" target="_blank">点我下载</a>）。这个例子基于Saqoosha的简易方块的例子，但是更加简单易读。<br />
OK，我们现在就开始学习FlarToolkit啦！</p>
<p><strong>第一步：下载</strong><br />
在一开始，我访问了Saqoosha的博客，正打算用Google  Translater把页面翻译一下时，却发现了我最熟悉的三个字母“SVN”。HAH…有了它就好办了，我们先利用SVN工具把FlarToolkit项目全部下载吧。<br />
<strong>FlarToolkit项目的SVN url:</strong><br />
<a href="http://www.libspark.org/svn/as3/FLARToolKit/trunk" target="_blank">http://www.libspark.org/svn/as3/FLARToolKit/trunk</a><br />
（译者注：SVN工具大家应该都很熟悉了吧，如果你不知道什么是SVN，建议你先看看<a href="http://www.subversion.org.cn/" target="_blank">SVN中文站</a> 。原文作者也提供了一个<a href="http://code.google.com/p/papervision3d/wiki/Download_from_SVN" target="_blank">参考链接</a>，是PV3D的SVN下载帮助）</p>
<p><strong>第二步：查看例子和源码</strong><br />
在我想了解怎样使用某个类库之前，都会先去查看一下它提供的例子及源码。现在我来总结一下我在学习FlarToolkit过程中的一些收获。<br />
首先开始于Saqoosha的SimpleCube例子。我个人并不太喜欢他这个应用的写法（当 然从对象可复用的角度上说它是非常不错的）。<br />
在那个例子中有三个类：<strong>ARAppBase，PV3DARApp，和 SimpleCube<br />
</strong><br />
三个类分别控制着AR应用的一个部分。但是这样的代码读起来比较困难，因为<strong>PV3DARApp</strong>继承自<strong>ARAppBase</strong>， 而<strong>SimpleCube</strong>继承自<strong>PV3DARApp</strong>。为了便于阅读学习，我把上面的 三个类合并到了一起。（当然这样并不符合可复用的原则）<br />
<strong>FlarApp一共包含5个部分：</strong><br />
<strong>1.摄像头参数文件</strong><br />
<strong>2.标记文件</strong><br />
<strong>3.标记检测器</strong><br />
<strong>4.Flar Base Node</strong>（译者注：其实这个FLARBaseNode的实例就是我们装载3D物体的容器，下 面会有详细的解释）<br />
<strong>5.Papervision</strong>（译者注：这是一个flash的 3D引擎）</p>
<p><strong>摄像头参数</strong><br />
该摄像头参数文件是从外部加载的二进制文件。一开始我不知道它到底是如何而来，我到 Saqoosha的博客上去询问，他回复说这是由一个ARToolkit的一个附属程序生成的 （注：FlarToolkit是由ARToolkit演化而来，ARToolkit是现实增强技术在C++及Java等 开发语言上的实现）。这个程序名为<strong>“</strong><strong>calib_camera2”</strong>。<br />
Calib_camera2创建这个二进制的摄像头参数文件，这个文件是用来纠正从摄像头获取图像的扭曲及变形的。你可以从<a href="http://www.hitl.washington.edu/artoolkit/download/" target="_blank">这里</a>下载这个程序。但我想还是使用FlarToolkit中提供的这个原始的<strong>“camera_para.dat”</strong>文 件会更好。（我想大多数人都会这么做的）</p>
<p><strong>标记文件</strong><br />
标记文件中保存的是一个图案，Flar会在你的摄像头获取的影像中寻找这个图案。在我的制作的项目中它在这个路径下<strong>“lib/mikko.pat”</strong>。 如果你打开这个文件，你会发现有4个16 ×  48矩阵。它们分别代表着标志4个不同的方向。Flar会将你的标记图案看作一个16×16的二维码。文件中的每一个矩阵是16 ×  48，是因为要包含三种颜色（红，绿，蓝）<br />
Saqoosha已经建立了一个Air应用来制作这些标记文件。你可以下载该Air程序从<a href="http://saqoosha.net/lab/FLARToolKit/MarkerGenerator/MakerGenerator.air" target="_blank">这里</a> 。<br />
可以按照下列步骤创建一个标记文件：<br />
1.标志设计使用以下规格,你可以在方框中放置各种你想用的图形。但是我想一些棱角分明的图案会更适合些。</p>
<p>2.打印出你设计好的图案，启动刚才下载的Air程序，并将你打印好的图案放到摄像头前。当程序中有一个红色的框出现在你的图案周围后，点击<strong>“save  pattern”</strong>。生成工作就完成啦。<br />
这是整个应用中比较关键的步骤。</p>
<p><strong>标记检测器</strong><br />
标记检测器的作用就是从你摄像头中获取的bitmapdata中获取标记文件中定义的图案。一旦它找到定义的图案就会告知程序，程序就会从检测器中获得一 个变换矩阵来摆布FlarBaseNode了。</p>
<p><strong>FlarBaseNode</strong><br />
这个FlarBaseNode其实就是用来显示Papervision  3D物体的容器。利用从标记检测器中得到的变换矩阵来控制我们的3D物体的3维空间坐标。</p>
<p><strong>Papervision</strong><br />
它是Flar App的最后一块拼图了。我真的不想对它讲太多的细节了。如果你对这个3D引擎感兴趣可以直接到Google Code中找到它（<a href="http://code.google.com/p/papervision3d/" target="_blank">点这里到PV3D的 页面</a>）</p>
<p><strong>一些注意事项：</strong><br />
1.编译时遇到错误：<br />
<strong>Error: Attempted access of inaccessible property  _projectionthrough a reference with static  typeorg.libspark.flartoolkit.pv3d:FLARCamera3D.</strong></p>
<p>可以这样解决这个问题</p>
<p>到这个类中<strong>org.papervision3d.cameras.Camera3D</strong><br />
修改这个变量的命名空间<br />
<strong>private var  _projection:Matrix3D;</strong><br />
改为<br />
<strong>protected var  _projection:Matrix3D;</strong><br />
这并不会破坏PV3D的功能，只是用来让FlarToolkit中的FlarCamera3D可以调用Camera3d 类。</p>
<p>2.这个问题我也不知道为什么是这样。因为某些原因，你不得不设置Papervision的viewport为两倍。如果你不这样，你的3D物体不 会出现在你的视频显示范围内。但即使这样做了，有时候显示也并不太完美。在Saqoosha的例子中，他将viewport又平移了-4像素。我一直不喜 欢这样把摄像头中的东西都放大了两倍显示在那里。<br />
好，现在该轮到你了。有什么问题，欢迎大家交流。我不知道所有的答案，但我会尽我所能回答这些问题。<br />
–End–<br />
翻译完了，其中大部分是意译。如果有错误，欢迎大家留言指正。——盐酸酸</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2010/07/02/flash-augmented-reality-flartoolkit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flash CS5的重大BUG?无法打开保存的文件</title>
		<link>http://www.acroidea.com/index.php/2010/06/24/flash-cs5-bug-can-not-open-saved-file/</link>
		<comments>http://www.acroidea.com/index.php/2010/06/24/flash-cs5-bug-can-not-open-saved-file/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 01:38:19 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[CS5]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=411</guid>
		<description><![CDATA[之前用的Flash CS5是从别的网站下的，怀疑是版本有问题，重新从官网下载了一个安装，发现还是有同样的问题。 一个原本CS4的FLA文件，用Flash CS5另存一下就不能再正常打开了。并不是所有的FLA文件都会这样，但是对于一个特定的FlA总会出现这样的错误。 这是保存前的文件，大小有120KB： 另存为CS5格式后，文件变小了很多，只有59KB了。 双击文件，已经打不开了。 在点击最近打开的文件后，输出窗口报的错误： 而此时，我的Flash CS5是最新的，已经安装完一个更新，显示没有可用的更新的。]]></description>
			<content:encoded><![CDATA[<p>之前用的Flash CS5是从别的网站下的，怀疑是版本有问题，重新从官网下载了一个安装，发现还是有同样的问题。<br />
一个原本CS4的FLA文件，用Flash CS5另存一下就不能再正常打开了。并不是所有的FLA文件都会这样，但是对于一个特定的FlA总会出现这样的错误。</p>
<p>这是保存前的文件，大小有120KB：</p>
<p><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_file_cs4.jpg"><img class="aligncenter size-full wp-image-418" title="flash_cs5_file_cs4" src="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_file_cs4.jpg" alt="" width="583" height="101" /></a></p>
<p><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_file_cs4.jpg"><br />
</a><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_0.jpg"><img class="aligncenter size-full wp-image-413" title="flash_cs5_0" src="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_0.jpg" alt="" width="564" height="427" /></a><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_2.jpg"><img class="aligncenter size-full wp-image-414" title="flash_cs5_2" src="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_2.jpg" alt="" width="342" height="232" /></a></p>
<p>另存为CS5格式后，文件变小了很多，只有59KB了。</p>
<p><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_2.jpg"></a><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_file_cs5.jpg"><img class="aligncenter size-full wp-image-415" title="flash_cs5_file_cs5" src="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_file_cs5.jpg" alt="" width="589" height="68" /></a></p>
<p>双击文件，已经打不开了。</p>
<p><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_file_cs5.jpg"></a><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_3.jpg"><img class="aligncenter size-full wp-image-416" title="flash_cs5_3" src="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_3.jpg" alt="" width="519" height="141" /></a></p>
<p>在点击最近打开的文件后，输出窗口报的错误：</p>
<p><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_3.jpg"></a><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_4.jpg"><img class="aligncenter size-full wp-image-417" title="flash_cs5_4" src="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_4.jpg" alt="" width="647" height="393" /></a></p>
<p>而此时，我的Flash CS5是最新的，已经安装完一个更新，显示没有可用的更新的。</p>
<p><a href="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_update_to_date.jpg"><img class="aligncenter size-full wp-image-419" title="flash_cs5_update_to_date" src="http://www.acroidea.com/wp-content/uploads/2010/06/flash_cs5_update_to_date.jpg" alt="" width="524" height="318" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2010/06/24/flash-cs5-bug-can-not-open-saved-file/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Adobe Flash CS5 序列号</title>
		<link>http://www.acroidea.com/index.php/2010/06/23/adobe-flash-cs5-key/</link>
		<comments>http://www.acroidea.com/index.php/2010/06/23/adobe-flash-cs5-key/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 12:58:04 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Adobe]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=406</guid>
		<description><![CDATA[1302-1626-3178-6899-0532-6377 1302-1677-8266-4817-9642-8550 1302-1859-8081-9967-3214-4256 1302-1461-2638-7097-8855-1352 1302-1882-7958-1279-8900-9943 1302-1666-6298-3225-9340-4868 1302-1856-1610-7184-8664-4749 1302-1629-3421-1743-8666-3332 1302-1580-7460-5684-0624-4217 1302-1164-5093-4927-9598-6013 1302-1464-0921-2126-3896-7995 1302-1421-8825-9033-5513-9483 1302-1882-1509-5127-8217-7350]]></description>
			<content:encoded><![CDATA[<p>1302-1626-3178-6899-0532-6377<br />
1302-1677-8266-4817-9642-8550<br />
1302-1859-8081-9967-3214-4256<br />
1302-1461-2638-7097-8855-1352<br />
1302-1882-7958-1279-8900-9943<br />
1302-1666-6298-3225-9340-4868<br />
1302-1856-1610-7184-8664-4749<br />
1302-1629-3421-1743-8666-3332<br />
1302-1580-7460-5684-0624-4217<br />
1302-1164-5093-4927-9598-6013<br />
1302-1464-0921-2126-3896-7995<br />
1302-1421-8825-9033-5513-9483<br />
1302-1882-1509-5127-8217-7350</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2010/06/23/adobe-flash-cs5-key/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<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>Adobe CS5 安装失败出现Exit Code: 7的解决方法</title>
		<link>http://www.acroidea.com/index.php/2010/06/23/adobe-cs5-install-error-exit-code-7/</link>
		<comments>http://www.acroidea.com/index.php/2010/06/23/adobe-cs5-install-error-exit-code-7/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 12:11:53 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[软件使用]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[ERROR]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=397</guid>
		<description><![CDATA[之前有安装过Adobe CS5 Master Collection，但是后来发现Flash CS5出现了一个怪异的问题，在将某些CS4版本的文件保存为CS5后出现文件再也打不开的问题，就怀疑是这个版本有问题，于是就卸载了，从官网上重新下载了一个版本来安装，先是下了一个Flash CS5，安装时一直出现： Exit Code: 7 这样的错误。没办法，又下了一个Adobe CS5 Master Collection，安装时出现了同样的错误，大体上的错误信息是： Exit Code: 7 -------------------------------------- Summary -------------------------------------- -...]]></description>
			<content:encoded><![CDATA[<p>之前有安装过Adobe CS5 Master Collection，但是后来发现Flash CS5出现了一个怪异的问题，在将某些CS4版本的文件保存为CS5后出现文件再也打不开的问题，就怀疑是这个版本有问题，于是就卸载了，从官网上重新下载了一个版本来安装，先是下了一个Flash CS5，安装时一直出现：<br />
<pre>Exit Code: 7</pre><br />
这样的错误。没办法，又下了一个Adobe CS5 Master Collection，安装时出现了同样的错误，大体上的错误信息是：<br />
<pre><pre>
Exit Code: 7

-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 93 error(s), 66 warning(s)
WARNING: The payload with AdobeCode:&nbsp;&nbsp;{CFC9F871-7C40-40B6-BE4A-B98A5B309716} has recommended dependency on:
WARNING:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Family: Adobe Web Suite CS5
WARNING:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProductName: Adobe Media Encoder CS5 X64
WARNING:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinVersion: 0.0.0.0
WARNING:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
WARNING:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Removing this payload from the dependency list.
WARNING: Payload {DC452AC2-E7C5-4FBA-9162-F14F652E9196} Adobe Flash CS5_AdobeFlash11-en_USLanguagePack is already installed and the session payload {14A2CC02-4638-405D-8190-ECD7BFD32D6E} Adobe Flash CS5_AdobeFlash11-en_USLanguagePack has no upgrage/conflict relationship with it.
WARNING: Payload {6CBB5000-010A-11DF-8C87-0024E8692489} DeviceCentral_DeviceCentral3LP-en_GB is already installed and the session payload {1D830E80-28A4-11DF-A025-0024E8692489} DeviceCentral_DeviceCentral3LP-en_GB has no upgrage/conflict relationship with it.
WARNING: Payload {1AD9BE12-7850-440B-B925-5416FD526F7E} Adobe Flash CS5_AdobeMobileExtension_Flash11-en_US is already installed and the session payload {26B0DF8D-3A8D-4BA9-B131-3B0D9EE87655} Adobe Flash CS5_AdobeMobileExtension_Flash11-en_US has no upgrage/conflict relationship with it.
WARNING: Payload {74102D0E-082F-48c7-93C5-C71D5AA9F68F} Adobe Flash Player 10 Plugin is already installed and the session payload {40F95A03-885A-45fb-9A14-486BEFEDDF34} Adobe Flash Player 10 Plugin has no upgrage/conflict relationship with it.
WARNING: Payload {FB7F30B6-BFBF-4d2c-9F61-B5533659ACBE} Adobe Flash Player 10 Plugin is already installed and the session payload {40F95A03-885A-45fb-9A14-486BEFEDDF34} Adobe Flash Player 10 Plugin has no upgrage/conflict relationship with it.
WARNING: Payload {8FFDDFCA-7540-47F9-928B-1C2CA9CFADF0} Adobe Flash CS5_AdobeMobileExtension_Flash11-mul is already installed and the session payload {579FDC01-BA85-49E7-B16A-2C4CB55F7ACD} Adobe Flash CS5_AdobeMobileExtension_Flash11-mul has no upgrage/conflict relationship with it.
WARNING: Payload {4113D4C1-A4B3-4d3f-921A-8A8DEA2D7E1B} Adobe Flash Player 10 ActiveX is already installed and the session payload {7E5AA19B-0B85-4f44-BA26-728851489200} Adobe Flash Player 10 ActiveX has no upgrage/conflict relationship with it.
WARNING: Payload {5EE868D6-7B6B-49ee-AF60-09B1358AFFD7} Adobe Flash Player 10 ActiveX is already installed and the session payload {7E5AA19B-0B85-4f44-BA26-728851489200} Adobe Flash Player 10 ActiveX has no upgrage/conflict relationship with it.
WARNING: Payload {0A195449-BB77-4F77-B967-0EA64B0970E6} Adobe Flash CS5 is already installed and the session payload {CFC9F871-7C40-40B6-BE4A-B98A5B309716} Adobe Flash CS5 has no upgrage/conflict relationship with it.
WARNING: Payload {55010CE4-4388-4B9A-9345-2521AC6A212E} Adobe AIR is already installed and the session payload {F6FA54C9-3E8F-4416-905C-DA5398DF9640} Adobe AIR has no upgrage/conflict relationship with it.
WARNING: OS requirements not met for {694213D7-1E0E-4C8F-B822-E2E3680C0FCE}
WARNING: OS requirements not met for {6E505C8F-2896-11DF-9B64-0013724DD917}
WARNING: OS requirements not met for {CFC9F871-7C40-40B6-BE4A-B98A5B309716}
WARNING: OS requirements not met for {E4E188D2-27D5-4E4C-92CE-87F9D24AD2F6}
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
WARNING: Payload cannot be installed due to dependent operation failure
ERROR: The payload with AdobeCode:&nbsp;&nbsp;{CFC9F871-7C40-40B6-BE4A-B98A5B309716} has required dependency on:
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Family: CoreTech
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProductName: Adobe Player for Embedding x64
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinVersion: 0.0.0.0
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Removing this dependency from list. Product may function improperly.
ERROR: The payload with AdobeCode:&nbsp;&nbsp;{CFC9F871-7C40-40B6-BE4A-B98A5B309716} has required dependency on:
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Family: Shared Technology
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProductName: Photoshop Camera Raw (64 bit)
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinVersion: 0.0.0.0
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Removing this dependency from list. Product may function improperly.
ERROR: The payload with AdobeCode:&nbsp;&nbsp;{CFC9F871-7C40-40B6-BE4A-B98A5B309716} has required dependency on:
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Family: CoreTech
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProductName: AdobeCMaps x64 CS5
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinVersion: 0.0.0.0
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Removing this dependency from list. Product may function improperly.
ERROR: The payload with AdobeCode:&nbsp;&nbsp;{CFC9F871-7C40-40B6-BE4A-B98A5B309716} has required dependency on:
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Family: CoreTech
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProductName: Adobe Linguistics CS5 x64
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinVersion: 0.0.0.0
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Removing this dependency from list. Product may function improperly.
ERROR: The payload with AdobeCode:&nbsp;&nbsp;{CFC9F871-7C40-40B6-BE4A-B98A5B309716} has required dependency on:
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Family: CoreTech
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProductName: AdobePDFL x64 CS5
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinVersion: 0.0.0.0
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Removing this dependency from list. Product may function improperly.
ERROR: The payload with AdobeCode:&nbsp;&nbsp;{CFC9F871-7C40-40B6-BE4A-B98A5B309716} has required dependency on:
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Family: CoreTech
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProductName: AdobeTypeSupport x64 CS5
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinVersion: 0.0.0.0
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Removing this dependency from list. Product may function improperly.
ERROR: The payload with AdobeCode:&nbsp;&nbsp;{CFC9F871-7C40-40B6-BE4A-B98A5B309716} has required dependency on:
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Family: CoreTech
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProductName: Adobe WinSoft Linguistics Plugin CS5 x64
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinVersion: 0.0.0.0
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
ERROR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Removing this dependency from list. Product may function improperly.
ERROR: Verifying payload integerity : Failed with code 1
ERROR: MsiConfigureProductEx failed with error: 1612
ERROR: Payload {1D830E80-28A4-11DF-A025-0024E8692489} has an action &quot;install&quot; but no resultState
ERROR: The following payload errors were found during install:
ERROR:&nbsp;&nbsp;- Adobe CSXS Infrastructure CS5: Install failed
ERROR:&nbsp;&nbsp;- Microsoft_VC90_ATL_x86: Install failed
ERROR:&nbsp;&nbsp;- SiteCatalyst NetAverages: Install failed
ERROR:&nbsp;&nbsp;- Microsoft_VC90_CRT_x86: Install failed
ERROR:&nbsp;&nbsp;- Adobe Bridge CS5: Install failed
ERROR:&nbsp;&nbsp;- Microsoft_VC80_ATL_x86: Install failed
ERROR:&nbsp;&nbsp;- Adobe Flash CS5_AdobeFlash11-en_USLanguagePack: Install failed
ERROR:&nbsp;&nbsp;- Adobe Flash CS5_AdobeMobileExtension_Flash11-en_US: Install failed
ERROR:&nbsp;&nbsp;- Adobe XMP Panels CS5: Install failed
ERROR:&nbsp;&nbsp;- Adobe Player for Embedding: Install failed
ERROR:&nbsp;&nbsp;- AIR2 For Adobe Flash Pro: Failed due to Language Pack installation failure
ERROR:&nbsp;&nbsp;- Suite Shared Configuration CS5: Install failed
ERROR:&nbsp;&nbsp;- Photoshop Camera Raw: Install failed
ERROR:&nbsp;&nbsp;- AdobeColorCommonSetCMYK: Install failed
ERROR:&nbsp;&nbsp;- AdobeHelp: Install failed
ERROR:&nbsp;&nbsp;- Camera Profiles Installer: Install failed
ERROR:&nbsp;&nbsp;- Adobe Flash Player 10 Plugin: Install failed
ERROR:&nbsp;&nbsp;- AdobeColorJA CS5: Install failed
ERROR:&nbsp;&nbsp;- Adobe ReviewPanel CS5: Install failed
ERROR:&nbsp;&nbsp;- Adobe Flash CS5_AdobeMobileExtension_Flash11-mul: Install failed
ERROR:&nbsp;&nbsp;- Adobe BrowserLab CS Live: Install failed
ERROR:&nbsp;&nbsp;- Microsoft_VC90_MFC_x86: Install failed
ERROR:&nbsp;&nbsp;- CSXS Story Extension: Install failed
ERROR:&nbsp;&nbsp;- Adobe Linguistics CS5: Install failed
ERROR:&nbsp;&nbsp;- PDF Settings CS5: Install failed
ERROR:&nbsp;&nbsp;- AdobeTypeSupport CS5: Install failed
ERROR:&nbsp;&nbsp;- AdobeColorCommonSetRGB: Install failed
ERROR:&nbsp;&nbsp;- Adobe Flash Player 10 ActiveX: Install failed
ERROR:&nbsp;&nbsp;- Adobe CSXS Extensions CS5: Install failed
ERROR:&nbsp;&nbsp;- AdobeOutputModule: Install failed
ERROR:&nbsp;&nbsp;- AIR2 For Adobe Flash Pro_AIR2_Flash11-en_US: Install failed
ERROR:&nbsp;&nbsp;- DynamiclinkSupport: Install failed
ERROR:&nbsp;&nbsp;- Adobe WinSoft Linguistics Plugin CS5: Install failed
ERROR:&nbsp;&nbsp;- AdobeColorEU CS5: Install failed
ERROR:&nbsp;&nbsp;- AdobePDFL CS5: Install failed
ERROR:&nbsp;&nbsp;- AdobeCMaps CS5: Install failed
ERROR:&nbsp;&nbsp;- AdobeColorNA CS5: Install failed
ERROR:&nbsp;&nbsp;- Adobe SwitchBoard 2.0: Install failed
ERROR:&nbsp;&nbsp;- Adobe Flash CS5: Failed due to Language Pack installation failure
ERROR:&nbsp;&nbsp;- Microsoft_VC80_MFC_x86: Install failed
ERROR:&nbsp;&nbsp;- Pixel Bender Toolkit: Install failed
ERROR:&nbsp;&nbsp;- Microsoft_VC80_MFCLOC_x86: Install failed
ERROR:&nbsp;&nbsp;- Players For Adobe Flash Pro: Install failed
ERROR:&nbsp;&nbsp;- AdobeJRE: Install failed
ERROR:&nbsp;&nbsp;- Adobe ExtendScript Toolkit CS5: Install failed
ERROR:&nbsp;&nbsp;- TLF For Adobe Flash Pro: Install failed
ERROR:&nbsp;&nbsp;- Adobe AIR: Install failed
-------------------------------------------------------------------------------------
</pre></pre><br />
网上搜索了很多，都没找到解决办法，于是只能自己解决了。<br />
“C:\Program Files (x86)\Common Files\Adobe\Installers\Creative Suite 5 Master Collection 5.0 xx-xx-xxxx.log.gz”解压了这个文件（xx-xx-xxxx是安装时的日期），查看里面的具体出错信息。发现里面有这样一段：<br />
<pre><pre>
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Installer Operation: ModifyThirdPartyPayloadOperation
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Modify Thirdparty payload
Repairing third party payload with source: D:\Users\Christopher\Desktop\Adobe CS5 Master Collection\Adobe CS5\payloads\Microsoft_VC90_CRT_x86\Microsoft_VC90_CRT_x86.msi
Repairing third party payload
MsiSourceListAddSource for&nbsp;&nbsp;D:\Users\Christopher\Desktop\Adobe CS5 Master Collection\Adobe CS5\payloads\Microsoft_VC90_CRT_x86\Microsoft_VC90_CRT_x86.msi is 0
MsiSourceListSetInfo with updated name: Microsoft_VC90_CRT_x86.msi, Result: 0
Payload source is not removable so not updating media info
Configuring MSI ProductCode: {08D2E121-7F6A-43EB-97FD-629B44903403}
Setting AFLPath C:\Program Files (x86)\Common Files\Adobe\Installers\{288DB08D-0708-4A94-B055-55B99E39EB62}
MsiConfigureProductEx command line:
 ADOBE_SETUP=1 MSIRESTARTMANAGERCONTROL=Disable REBOOT=ReallySuppress&nbsp;&nbsp; REINSTALL=ALL REINSTALLMODE=pvoums REBOOT=ReallySuppress PROPERTY_FILE=&quot;C:\Users\CHRIST~1\AppData\Local\Temp\adbE7FB.tmp&quot;
1: 0 2: 1033 3: 1252 
1: 0 2: Microsoft_VC90_CRT_x86.msi 3: {08D2E121-7F6A-43EB-97FD-629B44903403} 4: {08D2E121-7F6A-43EB-97FD-629B44903403}; 5: 0 6: 0 7: 1 8: 0 
1: 2 2: 0 
1: 2 2: 1 
[&nbsp;&nbsp;&nbsp;&nbsp;6124] Wed Jun 23 19:07:33 2010 ERROR
MsiConfigureProductEx failed with error: 1612
</pre></pre><br />
相信就是Microsoft_VC90_CRT_x86.msi这个文件有问题了。<br />
到安装文件夹里找到了这个文件（在Adobe CS5 Master Collection\Adobe CS5\payloads\Microsoft_VC80_CRT_x86里）。双击这个安装文件，哈哈，出现了这样的界面：<br />
<a href="http://www.acroidea.com/wp-content/uploads/2010/06/ms_x86_install.jpg"><img src="http://www.acroidea.com/wp-content/uploads/2010/06/ms_x86_install.jpg" alt="" title="ms_x86_install" width="507" height="369" class="aligncenter size-full wp-image-398" /></a><br />
看样子，这个程序是被安装了，而“Adobe CS5 Master Collection\Adobe CS5\payloads\”目录下有好多个“Microsoft_”开头的文件夹，其中某些是以“_x86”结尾的，有些是以“_x86_x64”结尾的，我不机子是Windows 7 64位的，不知道是不是应该装“_x86_x64”结尾的而不应该装“_x86”结尾的。管不了那么多了，反正先都点一遍，如果出现的画面显示已经安装的就都卸载了。<br />
重新双击安装程序安装，终于，这一次正常了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2010/06/23/adobe-cs5-install-error-exit-code-7/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Silverlight看上去是斗不过Flash的</title>
		<link>http://www.acroidea.com/index.php/2010/05/25/silverlight-will-not-defeat-flash/</link>
		<comments>http://www.acroidea.com/index.php/2010/05/25/silverlight-will-not-defeat-flash/#comments</comments>
		<pubDate>Tue, 25 May 2010 08:02:01 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=277</guid>
		<description><![CDATA[前一阵子的一个Silverlight项目让我感觉到Silverlight明显的不如Flash，在网页富媒体上，以现在的Silverlight，是没办法斗过Flash的，至少在富媒体广告方面是这样的。 Silverlight中的字体处理实在是没法跟Flash比的，只要随便嵌入字体都会让文件变大很多，在广告对文件大小要求很严格的情况下，这是无法容忍的。 Silverlight的XAP文件本质上是一个ZIP压缩文件，并没有作特别的文件格式优化，这点比Flash可差多了，Flash的文件对于导入的图片等资源都可以优化，Silverlight确只是简单地嵌入。 在动画方面Silverlight也明显是落后于Flash的，甚至作一个遮罩都没有Flash那么方便。 动态语言有时似乎更合适作这方面的工作，而C#似乎有点古板了（虽然C#4里已经加入了动态类型，但是我还没有用过呢）。 如今HTML5似乎也很火的样子，看来Silverlight在网页富媒体上的前途不容乐观啊，虽然很多做.net的程序员蛮喜欢它的，但是市场决定一切，最终用户从来都不管什么技术的。]]></description>
			<content:encoded><![CDATA[<p>前一阵子的一个Silverlight项目让我感觉到Silverlight明显的不如Flash，在网页富媒体上，以现在的Silverlight，是没办法斗过Flash的，至少在富媒体广告方面是这样的。</p>
<p>Silverlight中的字体处理实在是没法跟Flash比的，只要随便嵌入字体都会让文件变大很多，在广告对文件大小要求很严格的情况下，这是无法容忍的。</p>
<p>Silverlight的XAP文件本质上是一个ZIP压缩文件，并没有作特别的文件格式优化，这点比Flash可差多了，Flash的文件对于导入的图片等资源都可以优化，Silverlight确只是简单地嵌入。</p>
<p>在动画方面Silverlight也明显是落后于Flash的，甚至作一个遮罩都没有Flash那么方便。</p>
<p>动态语言有时似乎更合适作这方面的工作，而C#似乎有点古板了（虽然C#4里已经加入了动态类型，但是我还没有用过呢）。</p>
<p>如今HTML5似乎也很火的样子，看来Silverlight在网页富媒体上的前途不容乐观啊，虽然很多做.net的程序员蛮喜欢它的，但是市场决定一切，最终用户从来都不管什么技术的。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2010/05/25/silverlight-will-not-defeat-flash/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>FlashPlayer 9 与 10不同之处</title>
		<link>http://www.acroidea.com/index.php/2009/06/10/differ-flashplayer-9-10/</link>
		<comments>http://www.acroidea.com/index.php/2009/06/10/differ-flashplayer-9-10/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 09:51:06 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.acroidea.com/?p=184</guid>
		<description><![CDATA[发现了一些FlashPlayer 9 与FlashPlayer 10之间的不一样之处，很是怪异。 处理XML： 在Flash 10中将播放器设为Player 9后下面代码执行结果为 [xml] world [/xml] 而设为Player 10后执行结果为 [xml] world [/xml] //以下为代码 [as3] var xml:XML...]]></description>
			<content:encoded><![CDATA[<p>发现了一些FlashPlayer 9 与FlashPlayer 10之间的不一样之处，很是怪异。 处理XML： 在Flash 10中将播放器设为Player 9后下面代码执行结果为<br />
[xml]<br />
<site></p>
<p>world</p>
<p></site><br />
[/xml]<br />
而设为Player 10后执行结果为<br />
[xml]</p>
<p>world</p>
<p>[/xml]<br />
//以下为代码<br />
[as3]<br />
var xml:XML = <config><site></site></config>;<br />
xml = xml.site[0].appendChild(&#8220;
<p>world</p>
<p>&#8220;);<br />
trace(xml);<br />
[/as3]<br />
而下面这个代码的执行结果确又是一样的 //代码<br />
[as3]<br />
var xml:XML = <config><site></site></config>;<br />
xml = xml.site[0].appendChild(
<p>world</p>
<p>);<br />
trace(xml);<br />
[/as3]<br />
结果都是 [xml]<site>
<p>world</p>
<p> </site>[/xml] 有点晕，不知道是何原因。所以为了防止播放器的不一致，遇到这种appendChild()里面放置字符串的情况还是改用类似下面的写法，算Flash狠了。<br />
[as3]<br />
var xml:XML = <config><site></site></config>;<br />
xml = xml.site[0].appendChild(new XML(&#8220;
<p>world</p>
<p>&#8220;));<br />
trace(xml);<br />
[/as3]<br />
这样，两个播放器也就一致了。 代码的执行顺序： 这个很有问题，如果两个代码执行顺序不一致，那可能运行的效果就完全不一致。不过两个版本确实在这方面存在差异。 如果我们只是简单地新建一个Flash文件，在里面新建一个MovieClip并且在其第一帧上增加下面的代码：<br />
[as3]<br />
trace(&#8220;onframe1 before call gotoandplay 10&#8243;);<br />
gotoAndStop(10);<br />
trace(&#8220;on frame 1 after call gotoandplay 10&#8243;);<br />
[/as3]<br />
在其第10帧处插入下面的代码：<br />
[as3]<br />
trace(&#8220;now on frame 10&#8243;);<br />
[/as3]<br />
把文件的设置中的播放器设成 Flash Player 9 或者 Flash Player 10 其执行结果是一致的，都是： onframe1 before call gotoandplay 10 on frame 1 after call gotoandplay 10 now on frame 10 也就是说是执行完第一帧上的所有代码后再执行第十帧上的代码，这一点应该是跟我们想像的一致的，也没什么异议。 但是我们改一种写法，删除刚才这个文件中的这个MovieClip中的第一帧的代码，将这个MoiveClip的Class设置成TestMC，并且新建一个TestMC.as的文件，内部代码为：<br />
[as3]<br />
package<br />
{<br />
    import flash.display.MovieClip;</p>
<p>    public class TestMC extends MovieClip<br />
    {<br />
        public function TestMC()<br />
        {<br />
            stop();<br />
            trace(&#8216;[use class]before gotoAndStop 10&#8242;);<br />
            gotoAndStop(10);<br />
            trace(&#8220;[use class]after gotoAndStop 10&#8243;);<br />
        }<br />
    }<br />
}<br />
[/as3]<br />
这样一来，在播放器设成 Flash Player 9时执行的结果是： [use class]before gotoAndStop 10 [use class]after gotoAndStop 10 now on frame 10 跟刚才的上面的顺序也是一致的，不过在将播放器设成 Flash Player 10时，执行结果却是： [use class]before gotoAndStop 10 now on frame 10 [use class]after gotoAndStop 10 也就是说这样一来，先执行被调用的帧上的代码，然后再继续现有的代码，等于是把“gotoAndStop”到的相应帧上的代码插入到现有的代码中执行，这个顺序跟之前的是完全不一样的。到底是哪一种执行的顺序是更合理的？不是很好说，不过作为一个专业级的程序员，一个好的习惯是尽量少在帧上写代码。 点击此处下载与此相关的测试文件。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acroidea.com/index.php/2009/06/10/differ-flashplayer-9-10/feed/</wfw:commentRss>
		<slash:comments>7</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>
	</channel>
</rss>
