<?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; delta</title>
	<atom:link href="http://www.askgame.com.cn/index.php/game/tag/delta/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/32</link>
		<comments>http://www.askgame.com.cn/index.php/game/32#comments</comments>
		<pubDate>Mon, 24 Nov 2008 09:47:27 +0000</pubDate>
		<dc:creator>癫狂蚊子</dc:creator>
				<category><![CDATA[others]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[delta]]></category>
		<category><![CDATA[鼠标滚轮]]></category>

		<guid isPermaLink="false">http://www.askgame.com.cn/?p=32</guid>
		<description><![CDATA[这几天有个学生问了一个特效,是关于flash中鼠标滚轮的一个侦听问题,平时没有注意过这个事件的侦听,F1了下,找到了AS2中的说明,简单看了一下后,给学生做出了他所要的一个效果,回办公室后补了下这个鼠标事件,特别是在AS3中,说到底,也是MouseEvent中的一个而已,看一下F1的那些属性心里基本就有底了,值得注意的是AS2当中使用鼠标滚轮事件也加了一个侦听器! 简单的做了一个滚轮的效果,代码给出(AS3),希望能给某些人帮助! stage.addEventListener(MouseEvent.MOUSE_WHEEL,wheelHandle); function wheelHandle(e:MouseEvent):void { if (e.ctrlKey) {//是否按下ctrl键 pic.scaleX-=e.delta/100;//delta是滚轮的速度 pic.scaleY-=e.delta/100; } else { pic.scaleX+=e.delta/100; pic.scaleY+=e.delta/100; } } 效果如下,顺便公布一张湖北省博物馆相片一张!^^]]></description>
		<wfw:commentRss>http://www.askgame.com.cn/index.php/game/32/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

