<?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; flash</title>
	<atom:link href="http://www.askgame.com.cn/index.php/game/tag/flash/feed" rel="self" type="application/rss+xml" />
	<link>http://www.askgame.com.cn</link>
	<description>一切对我而言都是游戏! Everything is Game!</description>
	<lastBuildDate>Thu, 02 Feb 2012 05:58:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flash开发中一个小小的调试技巧</title>
		<link>http://www.askgame.com.cn/index.php/game/126</link>
		<comments>http://www.askgame.com.cn/index.php/game/126#comments</comments>
		<pubDate>Wed, 25 Feb 2009 06:30:41 +0000</pubDate>
		<dc:creator>癫狂蚊子</dc:creator>
				<category><![CDATA[我的代码世界]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.askgame.com.cn/?p=126</guid>
		<description><![CDATA[开发中经常会遇到需要trace的地方，刚在看Lua脚本中有一个用于调试模式下的标志位感觉不错，下次加到Flash的开发中来。 方式很简单： 1、定义一个全局变量 var debug=true; 2、再任何需要进行跟踪的地方都判断这个标志位，比如： &#8230;&#8230;.. if(debug) { trace("生命值:"+role.hp); trace("魔力值:"+role.mp); } &#8230;&#8230;. 这样我们随时都可以通过改变标志来决定是否输出跟踪信息了。 同理，在游戏开发中我们可以准备两份数据。例如： if(debug) { loadMap("mapTest.map"); } else { loadMap("city001.map"); }]]></description>
		<wfw:commentRss>http://www.askgame.com.cn/index.php/game/126/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>使用actionscript来设置flash的滤镜效果</title>
		<link>http://www.askgame.com.cn/index.php/game/86</link>
		<comments>http://www.askgame.com.cn/index.php/game/86#comments</comments>
		<pubDate>Mon, 05 Jan 2009 07:36:22 +0000</pubDate>
		<dc:creator>癫狂蚊子</dc:creator>
				<category><![CDATA[我的代码世界]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[滤镜]]></category>

		<guid isPermaLink="false">http://www.askgame.com.cn/?p=86</guid>
		<description><![CDATA[我们都知道,在一个FLASH里面的影片剪辑是可以在滤镜面板控制其色彩等等一些信息的,比如说在某些时候,我们需要一个影片剪辑成为黑白(比如去年的5.12之后的互连网黑白事件,又比如游戏中一个角色的死亡),就可以用到这个方法,但往往我们需要用actionscript来控制这种滤镜,今天小试了一下这个滤镜的用法,主要是黑白的效果,代码贴上: import flash.filters.ColorMatrixFilter; var matrix:Array = new Array(); matrix = matrix.concat([0.3, 0.3, 0.3,0, 0]); // red matrix = matrix.concat([0.3,0.3, 0.3, 0, 0]); // green matrix = matrix.concat([0.3, 0.3, 0.3, 0, 0]); // blue matrix = matrix.concat([0, 0, 0, 1, 0]); // alpha var filter:ColorMatrixFilter = new ColorMatrixFilter(matrix); mc.filters = new Array(filter); 应该来说很并不是很难,把相对应的数组传递给相对应的滤镜,并将mc这个影片剪辑的滤镜属性设置一下即可,但是,这个数值却着实很麻烦,红、绿、蓝及alpha通道的信息并不是每个人都能调的很好的，比如说我！在网上找了下，意外发现官网有个很强大的工具，如下： bingo，搞定]]></description>
		<wfw:commentRss>http://www.askgame.com.cn/index.php/game/86/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3制作的点名FLASH(银河选秀)</title>
		<link>http://www.askgame.com.cn/index.php/game/6</link>
		<comments>http://www.askgame.com.cn/index.php/game/6#comments</comments>
		<pubDate>Fri, 31 Oct 2008 05:20:46 +0000</pubDate>
		<dc:creator>癫狂蚊子</dc:creator>
				<category><![CDATA[我的代码世界]]></category>
		<category><![CDATA[actionccript 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.askgame.com.cn/?p=6</guid>
		<description><![CDATA[上课的时候,常常需要随机叫一位学生上来演示某个东西怎么做,以便于知道学生的掌握情况,以前,小宝做了个选秀的小FLASH,通读取外部文档,取出其中的某个学生名字,但因为嵌入的字符太多,文件有7M左右的大小,早些天自己也仿照小宝的flash自己用as3写了一下,不过每个新班都要重新去输入名字,太麻烦,每个班还要换不同的名单,我的同事想到一个好点子,因为每个教室的机子都是一样的摆放,所以用机子的位置来代替名字,省去了很多事,flash贴下面,程序是我写的,美工是我同事做的.过几天,我把其中的代码贴出来.]]></description>
		<wfw:commentRss>http://www.askgame.com.cn/index.php/game/6/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

