<?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>parpue.net &#187; デザイン</title>
	<atom:link href="http://parpue.net/category/design/feed" rel="self" type="application/rss+xml" />
	<link>http://parpue.net</link>
	<description>Flash, Flex, デザイン等自分の好きなことを好きなようにやってます</description>
	<lastBuildDate>Wed, 12 Aug 2009 17:46:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>８ビット世代を一本釣りする8bitcafeに行ってきた。</title>
		<link>http://parpue.net/design/954</link>
		<comments>http://parpue.net/design/954#comments</comments>
		<pubDate>Wed, 08 Jul 2009 16:30:41 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[cafe]]></category>
		<category><![CDATA[デザイン]]></category>
		<category><![CDATA[日記]]></category>
		<category><![CDATA[8bit]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=954</guid>
		<description><![CDATA[				
				公式サイトを見てから気になって気になって。
				会社帰りに友人を誘い行ってきました。
				
				店の中には、ＷＥＢページの雰囲気からも感じられる懐かしい時代の、
				ファミコンやスーパー [...]]]></description>
			<content:encoded><![CDATA[				<p><img src="http://parpue.net/wp-content/uploads/2009/07/8bitcafe.jpg" alt="8bitcafe" title="8bitcafe" width="550" height="270" class="alignnone size-full wp-image-953" style="border:solid 1px #ccc"/></p>
				<p>公式サイトを見てから気になって気になって。<br />
				会社帰りに友人を誘い行ってきました。</p>
				<p><span id="more-954"></span></p>
				<p>店の中には、ＷＥＢページの雰囲気からも感じられる懐かしい時代の、<br />
				ファミコンやスーパーファミコンのＲＯＭなどが並んでいました。<br />
				それから感動したのが発売当時、話題にはなったものの、<br />
				たかがコントローラーのくせに1万9800円という価格から、<br />
				小学生の俺には手を出せずにいた<a href="http://ja.wikipedia.org/wiki/%E3%83%91%E3%83%AF%E3%83%BC%E3%82%B0%E3%83%AD%E3%83%BC%E3%83%96" target="_blank">パワーグローブ</a>が陳列されていたこと。<br />
				まさか実在していたとは・・・。</p>
				<p><a href="http://parpue.net/wp-content/uploads/2009/07/0012.jpg" rel="shadowbox[post-954];player=img;"><img src="http://parpue.net/wp-content/uploads/2009/07/0012-224x300.jpg" alt="0012" title="0012" width="224" height="300" class="alignnone size-medium wp-image-959" /></a></p>
				<p>その他珍しい物として、任天堂の黒歴史である<a href="http://ja.wikipedia.org/wiki/%E3%83%90%E3%83%BC%E3%83%81%E3%83%A3%E3%83%AB%E3%83%9C%E3%83%BC%E3%82%A4">バーチャルボーイ</a>もありました。<br />
				実はバーチャルボーイは、発売当時、ダイエーのゲームコーナーの展示品で死ぬほど遊んでました。<br />
				正直、おもしろかった。俺は欲しいなと思っていた。<br />
				しばらく悩んだ末、俺は同じ時期に話題になっていたプレステの方を購入した。<br />
				当時この決断をした俺、なかなかの判断力。</p>
				<p>大人になった今、俺はＸＢＯＸ３６０を買うべきか、プレステ３を買うべきか、<br />
				まったく判断できずに過ごしています。</p>
				<p><a href="http://parpue.net/wp-content/uploads/2009/07/0023.jpg" rel="shadowbox[post-954];player=img;"><img src="http://parpue.net/wp-content/uploads/2009/07/0023-224x300.jpg" alt="0023" title="0023" width="224" height="300" class="alignnone size-medium wp-image-964" /></a>  <a href="http://parpue.net/wp-content/uploads/2009/07/0034.jpg" rel="shadowbox[post-954];player=img;"><img src="http://parpue.net/wp-content/uploads/2009/07/0034-300x225.jpg" alt="0034" title="0034" width="300" height="225" class="alignnone size-medium wp-image-965" /></a><br />
				<font size="-1">店内にはゲームスペースも。グーニーズと迷宮組曲は今でも1時間でクリアする自信がある。</font></p>
				<p>とまぁ一部の層から、このような懐かしい話題が思わずこぼれるような、<br />
				そんな優しい雰囲気のカフェでした。</p>
				<p>ただし入り口は新宿三丁目駅を出るのも階段、五階まで階段という、<br />
				体力の落ちたファミコン世代にちょっぴり厳しいところもあります。<br />
				体力作りして、是非攻略してみてください。</p>
				<p><a href="http://8bitcafe.net/" target="_blank">http://8bitcafe.net/</a><br />
				<a href="http://8bitcafe.net/" target="_blank"><img src="http://parpue.net/wp-content/uploads/2009/07/pict8bit.jpg" alt="pict8bit" title="pict8bit" width="388" height="284" class="alignnone size-full wp-image-970" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/design/954/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>卓上iphoneホルダーに　LEANS handy phone holder　を買ってみた</title>
		<link>http://parpue.net/design/826</link>
		<comments>http://parpue.net/design/826#comments</comments>
		<pubDate>Wed, 01 Jul 2009 15:16:13 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[デザイン]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=826</guid>
		<description><![CDATA[				
				
				
				iphone用に卓上携帯ホルダー、LEANS handy phone holderを購入してみました。
				
				どこかのBlogで見かけて、浮いてるような感じに惹かれ一発買 [...]]]></description>
			<content:encoded><![CDATA[				<div align="center">
				<div style="width:450px;margin-left:auto;margin-right:auto"><img src="http://parpue.net/wp-content/uploads/2009/07/001.jpg" alt="001" title="001" width="450" height="196" class="aligncenter size-full wp-image-827" /></div>
				</div>
				<p>iphone用に卓上携帯ホルダー、<a href="http://hb.afl.rakuten.co.jp/hgc/0a519ad4.00a84696.0a519ad5.0c2b84a9/?pc=http%3a%2f%2fitem.rakuten.co.jp%2fn-l%2f467429%2f&#038;m=http%3a%2f%2fm.rakuten.co.jp%2fn-l%2fi%2f10000975%2f" target="_blank">LEANS handy phone holder</a>を購入してみました。</p>
				<p><span id="more-826"></span></p>
				<p>どこかのBlogで見かけて、浮いてるような感じに惹かれ一発買いしちゃいました。<br />
				手軽におけて、使うときはひっぺがす、そんな使い心地です。</p>
				<div style="margin-left:auto;margin-right:auto;align:center;text-align:center">
				<img src="http://parpue.net/wp-content/uploads/2009/07/003.jpg" alt="003" title="003" width="348" height="377" class="aligncenter size-full wp-image-831" style="border:solid 1px #333"/>　　<img src="http://parpue.net/wp-content/uploads/2009/07/002.jpg" alt="002" title="002" width="300" height="377" class="aligncenter size-full wp-image-832" style="border:solid 1px #333"/></div>
				<p>粘着性シリコンパットに結構がっちり吸い付きます。</p>
				<div style="margin-left:auto;margin-right:auto;align:center;text-align:center">
				<img src="http://parpue.net/wp-content/uploads/2009/07/005.jpg" alt="005" title="005" width="400" height="300" class="aligncenter size-full wp-image-842" style="border:solid 1px #333" />　　<img src="http://parpue.net/wp-content/uploads/2009/07/004.jpg" alt="004" title="004" width="400" height="300" class="aligncenter size-full wp-image-843"  style="border:solid 1px #333"/>
				</div>
				<p>外観はこんな感じ。</p>
				<p>横向きにもなり、また、これにおいたまま指先操作もしやすかったです。<br />
				明日会社に持って行こう。</p>
				<p><a href="http://hb.afl.rakuten.co.jp/hgc/0a519ad4.00a84696.0a519ad5.0c2b84a9/?pc=http%3a%2f%2fitem.rakuten.co.jp%2fn-l%2f467429%2f&#038;m=http%3a%2f%2fm.rakuten.co.jp%2fn-l%2fi%2f10000975%2f" target="_blank"><img src="http://hbb.afl.rakuten.co.jp/hgb/?pc=http%3a%2f%2fthumbnail.image.rakuten.co.jp%2f%400_mall%2fn-l%2fcabinet%2fikou_20090630_001%2fimg10561985604.jpg%3f_ex%3d80x80&#038;m=http%3a%2f%2fthumbnail.image.rakuten.co.jp%2f%400_mall%2fn-l%2fcabinet%2fikou_20090630_001%2fimg10561985604.jpg%3f_ex%3d64x64" border="0"></a>　<a href="http://hb.afl.rakuten.co.jp/hgc/0a519ad4.00a84696.0a519ad5.0c2b84a9/?pc=http%3a%2f%2fitem.rakuten.co.jp%2fn-l%2fleans_handy_phone_holder_wh%2f&#038;m=http%3a%2f%2fm.rakuten.co.jp%2fn-l%2fi%2f10000024%2f" target="_blank"><img src="http://hbb.afl.rakuten.co.jp/hgb/?pc=http%3a%2f%2fthumbnail.image.rakuten.co.jp%2f%400_mall%2fn-l%2fcabinet%2f00645624%2fimg55462080.jpg%3f_ex%3d80x80&#038;m=http%3a%2f%2fthumbnail.image.rakuten.co.jp%2f%400_mall%2fn-l%2fcabinet%2f00645624%2fimg55462080.jpg%3f_ex%3d64x64" border="0"></a>　<a href="http://hb.afl.rakuten.co.jp/hgc/0a519ad4.00a84696.0a519ad5.0c2b84a9/?pc=http%3a%2f%2fitem.rakuten.co.jp%2fn-l%2f1547243%2f&#038;m=http%3a%2f%2fm.rakuten.co.jp%2fn-l%2fi%2f10001343%2f" target="_blank"><img src="http://hbb.afl.rakuten.co.jp/hgb/?pc=http%3a%2f%2fthumbnail.image.rakuten.co.jp%2f%400_mall%2fn-l%2fcabinet%2fikou_20090630_001%2fimg10565020393.jpg%3f_ex%3d80x80&#038;m=http%3a%2f%2fthumbnail.image.rakuten.co.jp%2f%400_mall%2fn-l%2fcabinet%2fikou_20090630_001%2fimg10565020393.jpg%3f_ex%3d64x64" border="0"></a></p>
				<p>iphone購入後、周辺アクセサリをネットでいくつか買ったので、<br />
				明日からもアマゾン先生からアイテムが続々届きます。ワクワク。</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/design/826/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>下北沢アニメーション制作ワークショップに参加してきました。</title>
		<link>http://parpue.net/design/708</link>
		<comments>http://parpue.net/design/708#comments</comments>
		<pubDate>Thu, 28 May 2009 08:23:41 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[デザイン]]></category>
		<category><![CDATA[日記]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[下北沢映画祭]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=708</guid>
		<description><![CDATA[				5月10日に、下北沢映画祭主催の、
				アニメーション制作を体験できるワークショップに行ってきました。
				→ http://ameblo.jp/shimokitafilm/day-20090427.ht [...]]]></description>
			<content:encoded><![CDATA[				<p>5月10日に、下北沢映画祭主催の、<br />
				アニメーション制作を体験できるワークショップに行ってきました。</p>
				<p>→ <a href="http://ameblo.jp/shimokitafilm/entry-10256749845.html" target="_blank">http://ameblo.jp/shimokitafilm/day-20090427.html</a></p>
				<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/NrW8QTgfAQI&#038;hl=ja&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/NrW8QTgfAQI&#038;hl=ja&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object><br />
				主催者様に作品・ワークショップの様子をYoutubeアップロードしていただきました。</p>
				<p><span id="more-708"></span></p>
				<p>ちょこちょこ私の姿も見切れてますが、<br />
				２；１０〜あたりからmasahyroの名前で作成したものが私です。</p>
				<p>個人的に、アニメーションをFlashでしか体験したことがなかったので、<br />
				基本的な部分について学んでみたかったのと、<br />
				バンドのPVみたいなものをアニメーションで作成したいと前々から思っており、<br />
				思い切って参加してみました。</p>
				<p>スタジオ練習のため、途中で抜けることとなり、<br />
				制作時間は1時間ほどしかなく、思った完成系は作れなかったけど、とても楽しかった。<br />
				学生時代教科書に大量生産したぱらぱら漫画が思い出される・・・。</p>
				<p>最近の制作活動は、主にパソコンで、マウスでというものばかりだったんだけど、<br />
				なんだか手を動かす楽しさを再確認できました。<br />
				今後はもうちょっと、手を動かしていこうと思う今日この頃。</p>
				<p>また、このようなワークショップがあれば参加してみたいと思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/design/708/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PaperVision3Dで３Dダンボー</title>
		<link>http://parpue.net/web/601</link>
		<comments>http://parpue.net/web/601#comments</comments>
		<pubDate>Sat, 11 Apr 2009 04:16:43 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[PaperVision3D]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[デザイン]]></category>
		<category><![CDATA[Papervision3D]]></category>
		<category><![CDATA[ダンボー]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=601</guid>
		<description><![CDATA[				
				これも誰かやってそうだけど、簡単そうな題材だったから・・・
				
				例によってFlashPlayer１０以上で確認しています。
				■ ダンボーDemo
				■ Demo2 ぬるぬる動 [...]]]></description>
			<content:encoded><![CDATA[				<p><img src="http://parpue.net/wp-content/uploads/2009/04/danboo.png" alt="danboo" title="danboo" width="500" height="300" class="alignnone size-full wp-image-600" /></p>
				<p>これも誰かやってそうだけど、簡単そうな題材だったから・・・</p>
				<p><span id="more-601"></span></p>
				<p>例によってFlashPlayer１０以上で確認しています。</p>
				<p>■ <a href="http://parpue.net/wp-content/uploads/2009/04/danbo3dproj.swf" rel="shadowbox;height=500;width=500">ダンボーDemo</a></p>
				<p>■ <a href='http://parpue.net/wp-content/uploads/2009/04/danbo3dproj1.swf' rel="shadowbox;height=500;width=500">Demo2 ぬるぬる動かしてみた</a></p>
				<p> <a href='http://parpue.net/wp-content/uploads/2009/04/danbo3dproj2.swf' rel="shadowbox;height=500;width=500"><img src="http://parpue.net/wp-content/uploads/2009/04/danbobobo.png" alt="danbobobo" title="danbobobo" width="450" height="333" class="alignnone size-full wp-image-615" /><br />
				■Demo3 カメラもマウスに追従、重いかも</a></p>
				<p>PaperVision3D、手軽でおもしろいなー</p>
				<p><br/><br/><br/><br/><br/><br />
				<img src="http://parpue.net/wp-content/uploads/2009/04/danbo_measure.jpg" alt="danbo_measure" title="danbo_measure" width="400" height="300" class="alignnone size-full wp-image-619" /><br />
				きっちりと計測しました！</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/601/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PaperVision3Dで引き続き遊んでみる</title>
		<link>http://parpue.net/web/552</link>
		<comments>http://parpue.net/web/552#comments</comments>
		<pubDate>Tue, 07 Apr 2009 17:59:09 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[デザイン]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[Papervision3D]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=552</guid>
		<description><![CDATA[				謎のエコ生物。
				
				*追記　FlashPlayer9だとなんかおかしい。
				続き、重いかも
				↓
				
				
				
				習作でした。
				おもしろかったけど・・いった [...]]]></description>
			<content:encoded><![CDATA[				<p>謎のエコ生物。<br />
				<a href="http://parpue.net/wp-content/uploads/2009/04/pic4.png" rel="shadowbox[post-552];player=img;"><img src="http://parpue.net/wp-content/uploads/2009/04/pic4.png" alt="pic4" title="pic4" width="441" height="201" class="alignnone size-full wp-image-553" /></a><br />
				*追記　FlashPlayer9だとなんかおかしい。</p>
				<p>続き、重いかも<br />
				↓<br />
				<span id="more-552"></span></p>
				<div style="background-color:#000000;width:500px;height:500px;margin-left:50px;border:solid 1px">
				<object width="500" height="500" bgcolor="#000000" data="http://parpue.net/wp-content/uploads/2009/04/ecoemon.swf" type="application/x-shockwave-flash"><param name="id" value="ecoemon" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="sameDomain" /><param name="src" value="http://parpue.net/wp-content/uploads/2009/04/ecoemon.swf"/></object></div>
				<p>習作でした。<br />
				おもしろかったけど・・いったい何をやっていたんだ・・・。寝よう。</p>
				<p>　地球のテクスチャデータ<br />
				　→　<a href="http://www.oera.net/How2/TextureMaps2.htm" target="_blank">http://www.oera.net/How2/TextureMaps2.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/552/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>友人の写真展 ART IN TIME &amp; STYLE MIDTOWN VOL.06</title>
		<link>http://parpue.net/design/484</link>
		<comments>http://parpue.net/design/484#comments</comments>
		<pubDate>Wed, 01 Apr 2009 02:54:29 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[デザイン]]></category>
		<category><![CDATA[日記]]></category>
		<category><![CDATA[ミッドタウン]]></category>
		<category><![CDATA[写真]]></category>
		<category><![CDATA[村上友重]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=484</guid>
		<description><![CDATA[				友人が、今日から東京ミッドタウン内で、
				写真展に参加します。
				ので、宣伝
				菅原一剛 × 村上友重
				
				4/1（水）-6/28（日）
				Shop Hour 11:00-2 [...]]]></description>
			<content:encoded><![CDATA[				<p>友人が、今日から東京ミッドタウン内で、<br />
				写真展に参加します。</p>
				<p>ので、宣伝</p>
				<p>菅原一剛 × 村上友重</p>
				<p><img src="http://parpue.net/wp-content/uploads/2009/04/timestyle.jpg" alt="timestyle" title="timestyle" width="209" height="300" class="size-full wp-image-485" /></p>
				<p>4/1（水）-6/28（日）<br />
				Shop Hour 11:00-21:00　無休<br />
				オープニングレセプション　4/1（水）18:00-21:00<br />
				<a href="http://news.punctum.jp/?eid=1072912" target="_blank">http://news.punctum.jp/?eid=1072912</a></p>
				<p>村上さん。</p>
				<p>古い友人なんですが自分の好きなことをひたすら続けてて、<br />
				実は密かにリスペクトしてます。</p>
				<p>今日オープニングレセプションなので、顔出してきます。</p>
				<p><span id="more-484"></span><br />
				<a href="http://parpue.net/wp-content/uploads/2009/04/rimg0346.jpg" rel="shadowbox[post-484];player=img;"><br />
				<img src="http://parpue.net/wp-content/uploads/2009/04/rimg0346-150x150.jpg" alt="みてきた" title="rimg0346" width="150" height="150" class="size-thumbnail wp-image-488" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/design/484/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashグラフィックコンポーネントDegrafaを試す</title>
		<link>http://parpue.net/web/432</link>
		<comments>http://parpue.net/web/432#comments</comments>
		<pubDate>Wed, 25 Mar 2009 14:54:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[デザイン]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[Degrafa]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=432</guid>
		<description><![CDATA[				MoonGiftで紹介されていたDegrafaを試してみた。
				
				
				■参考リンク
				→Flash向けのグラフィックスフレームワーク「Degrafa」
				→http://www.degrafa.org/
				
				公式のサンプルたちがおもしろい
				これでFlex標準コンポーネントのスキンも作成できるようです。
				Flexコンポーネント使いつつも我流Flex画面とかもできます。
				ついでに見つけた反射効果のライブラリも使いました
				→Live “reflection” component
				■作ってみたデモ
				
				反射とかやったせいでちょっと重い・・・。オブジェクトの描画は全部ＭＸＭＬだけで行ってます。
				公式のサンプルをいくつか落として、ドキュメントも適当に読んで、
				ちょっと理解した程度ですが、
				MXMLで、線や、円などの描画オブジェクトを配置していき、
				塗りや、線の太さなどもMXMLで定義できるようなものだと思います。
				&#62;&#62;text
				XML:
				
				
				
				&#60;mx:Canvas id="main_canvas" x="5" y="5" width="400" height="258" verticalScrollPolicy="off" horizontalScrollPolicy="off"&#62;
				&#160; &#160; &#160; &#160; 
				&#160; &#160; &#60;degrafa:Surface&#62;
				&#160; &#160; &#160; &#160; &#60;degrafa:fills&#62; 
				
				
				
				
				
				UIComponentを継承しているSurfaceを用意して、
				その上に塗りの定義のfills,線(ストローク)の定義であるstrokes,
				描画オブジェクトGeometryGroupを定義していくことで、描画していく。
				&#62;&#62;text
				XML:
				
				
				
				&#60;degrafa:fills&#62;
				&#160; &#160; &#160; &#160; &#160; &#160; &#60;degrafa:LinearGradientFill id="MainFill" angle="90"&#62;
				&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;degrafa:GradientStop ratio="0" alpha="1" color="#FFFFFF"/&#62;
				&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;degrafa:GradientStop ratio="1" alpha="1" color="#DDDDDD"/&#62;
				&#160; &#160; &#160; &#160; &#60;/degrafa:LinearGradientFill&#62;  [...]]]></description>
			<content:encoded><![CDATA[				<p>MoonGiftで紹介されていたDegrafaを試してみた。<br />
				<img class="alignnone size-full wp-image-454" title="degrafa1" src="http://parpue.net/wp-content/uploads/degrafa1.png" alt="" width="407" height="218" /></p>
				<p><span id="more-432"></span></p>
				<p>■参考リンク<br />
				→<a href="http://www.moongift.jp/2009/03/degrafa/" target="_blank">Flash向けのグラフィックスフレームワーク「Degrafa」</a><br />
				→<a href="http://www.degrafa.org/">http://www.degrafa.org/</a></p>
				<p><a href="http://parpue.net/wp-content/uploads/degrafa.png" rel="shadowbox[post-432];player=img;"><img class="alignnone size-thumbnail wp-image-447" title="degrafa" src="http://parpue.net/wp-content/uploads/degrafa-150x150.png" alt="" width="150" height="150" /></a><br />
				公式のサンプルたちがおもしろい<br />
				これでFlex標準コンポーネントのスキンも作成できるようです。<br />
				Flexコンポーネント使いつつも我流Flex画面とかもできます。</p>
				<p>ついでに見つけた反射効果のライブラリも使いました<br />
				→<a href="http://www.rictus.com/muchado/2006/07/05/live-reflection-component/">Live “reflection” component</a></p>
				<p>■作ってみたデモ<br />
				<object width="410" height="400" data="http://parpue.net/wp-content/uploads/degrafatest.swf" type="application/x-shockwave-flash"><param name="id" value="ColorTest" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><param name="allowScriptAccess" value="sameDomain" /><param name="src" value="http://parpue.net/wp-content/uploads/degrafatest.swf" /></object><br />
				反射とかやったせいでちょっと重い・・・。オブジェクトの描画は全部ＭＸＭＬだけで行ってます。</p>
				<p>公式のサンプルをいくつか落として、ドキュメントも適当に読んで、<br />
				ちょっと理解した程度ですが、<br />
				MXMLで、線や、円などの描画オブジェクトを配置していき、<br />
				塗りや、線の太さなどもMXMLで定義できるようなものだと思います。</p>
				<div class="igBar"><span id="lxml-5"><a href="#" onclick="javascript:showPlainTxt('xml-5'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-5">
				<div class="xml">
				<ol start="5" style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Canvas <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"main_canvas"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"5"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"5"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"400"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"258"</span> <span style="color: #000066;">verticalScrollPolicy</span>=<span style="color: #ff0000;">"off"</span> <span style="color: #000066;">horizontalScrollPolicy</span>=<span style="color: #ff0000;">"off"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:Surface<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:fills<span style="font-weight: bold; color: black;">&gt;</span></span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>
				UIComponentを継承しているSurfaceを用意して、<br />
				その上に塗りの定義のfills,線(ストローク)の定義であるstrokes,<br />
				描画オブジェクトGeometryGroupを定義していくことで、描画していく。</p>
				<div class="igBar"><span id="lxml-6"><a href="#" onclick="javascript:showPlainTxt('xml-6'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-6">
				<div class="xml">
				<ol start="8" style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:fills<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:LinearGradientFill <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"MainFill"</span> <span style="color: #000066;">angle</span>=<span style="color: #ff0000;">"90"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GradientStop <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#FFFFFF"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GradientStop <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#DDDDDD"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:LinearGradientFill<span style="font-weight: bold; color: black;">&gt;</span></span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>
				グラデーション塗りの定義をしてから、</p>
				<div class="igBar"><span id="lxml-7"><a href="#" onclick="javascript:showPlainTxt('xml-7'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-7">
				<div class="xml">
				<ol start="36" style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GeometryGroup<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:RoundedRectangle <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"aa"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"300"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"248"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"40"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"10"</span> <span style="color: #000066;">cornerRadius</span>=<span style="color: #ff0000;">"15"</span> <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{MainFill}"</span> <span style="color: #000066;">stroke</span>=<span style="color: #ff0000;">"{BasicStroke}"</span><span style="font-weight: bold; color: black;">&gt;</span></span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>
				描画オブジェクトに塗りの設定を適用していく。</p>
				<p>おもしろいけど、、、結構めんどくさい。</p>
				<p>でもこれで、MXMLコンポーネントを手軽に作るにはいいかもしれない、です。</p>
				<p>以下全部</p>
				<div class="igBar"><span id="lxml-8"><a href="#" onclick="javascript:showPlainTxt('xml-8'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-8">
				<div class="xml">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>?xml <span style="color: #000066;">version</span>=<span style="color: #ff0000;">"1.0"</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">"utf-8"</span>?<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Application xmlns:<span style="color: #000066;">mx</span>=<span style="color: #ff0000;">"http://www.adobe.com/2006/mxml"</span> <span style="color: #000066;">layout</span>=<span style="color: #ff0000;">"absolute"</span> xmlns:<span style="color: #000066;">degrafa</span>=<span style="color: #ff0000;">"http://www.degrafa.com/2007"</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; xmlns:<span style="color: #000066;">refrector</span>=<span style="color: #ff0000;">"com.rictus.reflector.*"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"410"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"400"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#000000"</span> <span style="color: #000066;">backgroundGradientAlphas</span>=<span style="color: #ff0000;">"[1.0, 1.0]"</span> <span style="color: #000066;">backgroundGradientColors</span>=<span style="color: #ff0000;">"[#010101, #010101]"</span> <span style="color: #000066;">verticalScrollPolicy</span>=<span style="color: #ff0000;">"off"</span> <span style="color: #000066;">horizontalScrollPolicy</span>=<span style="color: #ff0000;">"off"</span> xmlns:<span style="color: #000066;">geometry</span>=<span style="color: #ff0000;">"com.degrafa.geometry.*"</span> <span style="color: #000066;">creationComplete</span>=<span style="color: #ff0000;">"startHandler(event);"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Canvas <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"main_canvas"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"5"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"5"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"400"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"258"</span> <span style="color: #000066;">verticalScrollPolicy</span>=<span style="color: #ff0000;">"off"</span> <span style="color: #000066;">horizontalScrollPolicy</span>=<span style="color: #ff0000;">"off"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:Surface<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:fills<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:LinearGradientFill <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"MainFill"</span> <span style="color: #000066;">angle</span>=<span style="color: #ff0000;">"90"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GradientStop <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#FFFFFF"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GradientStop <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#DDDDDD"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:LinearGradientFill<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:LinearGradientFill <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"TextFill"</span> <span style="color: #000066;">angle</span>=<span style="color: #ff0000;">"90"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GradientStop <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#AAAAAA"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GradientStop <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#444444"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:LinearGradientFill<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:SolidFill <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"CircleFill1"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#000044"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:SolidFill <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"CircleFill2"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#FFFFFF"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:SolidFill <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"CircleFill3"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#333333"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:fills<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:strokes<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:SolidStroke <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#000000"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">weight</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"BasicStroke"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:SolidStroke <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#222222"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">weight</span>=<span style="color: #ff0000;">"3"</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"CircleStroke1"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:LinearGradientStroke <span style="color: #000066;">weight</span>=<span style="color: #ff0000;">"4"</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"insetEdge"</span> <span style="color: #000066;">pixelHinting</span>=<span style="color: #ff0000;">"true"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GradientStop <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">".3"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#366079"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GradientStop <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">".5"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#366079"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GradientStop <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">".3"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#366079"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:LinearGradientStroke<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;">&nbsp;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp;&nbsp;&nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:strokes<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GeometryGroup<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:RoundedRectangle <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"aa"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"300"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"248"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"40"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"10"</span> <span style="color: #000066;">cornerRadius</span>=<span style="color: #ff0000;">"15"</span> <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{MainFill}"</span> <span style="color: #000066;">stroke</span>=<span style="color: #ff0000;">"{BasicStroke}"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:RasterText <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{TextFill}"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"55"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"210&nbsp;"</span> <span style="color: #000066;">fontSize</span>=<span style="color: #ff0000;">"34"</span> <span style="color: #000066;">text</span>=<span style="color: #ff0000;">"Hello!!Degrafa!"</span> <span style="color: #000066;">bold</span>=<span style="color: #ff0000;">"true"</span> <span style="color: #000066;">autoSize</span>=<span style="color: #ff0000;">"left"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:GeometryComposition <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"100"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"150"</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"circle"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:Circle <span style="color: #000066;">radius</span>=<span style="color: #ff0000;">"30"</span> <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{CircleFill1}"</span> <span style="color: #000066;">stroke</span>=<span style="color: #ff0000;">"{CircleStroke1}"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"10"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"10"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:Circle&nbsp; <span style="color: #000066;">radius</span>=<span style="color: #ff0000;">"25"</span> <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{CircleFill2}"</span> <span style="color: #000066;">stroke</span>=<span style="color: #ff0000;">"{CircleStroke1}"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"5"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"5"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:Circle&nbsp; <span style="color: #000066;">radius</span>=<span style="color: #ff0000;">"15"</span> <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{CircleFill3}"</span> <span style="color: #000066;">stroke</span>=<span style="color: #ff0000;">"{CircleStroke1}"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"10"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"10"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:Circle<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:Circle<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;degrafa</span>:filters<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:GlowFilter <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"0.5"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"0x777777"</span> <span style="color: #000066;">blurX</span>=<span style="color: #ff0000;">"10"</span> <span style="color: #000066;">blurY</span>=<span style="color: #ff0000;">"10"</span> <span style="color: #000066;">strength</span>=<span style="color: #ff0000;">"3"</span> <span style="color: #000066;">inner</span>=<span style="color: #ff0000;">"false"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:filters<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;">&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:Circle<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:GeometryComposition<span style="font-weight: bold; color: black;">&gt;</span></span>&nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:RoundedRectangle<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:GeometryGroup<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/degrafa</span>:Surface<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx</span>:Canvas<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;refrector</span>:Reflector <span style="color: #000066;">target</span>=<span style="color: #ff0000;">"{main_canvas}"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">".3"</span> <span style="color: #000066;">falloff</span>=<span style="color: #ff0000;">"{(this.circle.y+100)}"</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"reflector"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; </li>
				<li style="color:#26536A;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Script<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #339933;">&lt;![CDATA[</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; private var add_y:Number = 3;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; private var add_x:Number = 3;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; function startHandler(event:Event):void{</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; this.addEventListener(Event.ENTER_FRAME, this.onEnterHandler);</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; }</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; function onEnterHandler(event:Event):void{</li>
				<li style="color:#26536A;">&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if(circle.x &lt;-3) this.add_x = -add_x;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if(circle.x&gt; 225) this.add_x = -add_x;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(circle.y &lt;0) this.add_y = -add_y;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if(circle.y&gt; 177) this.add_y = -add_y;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; circle.x += add_x;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; circle.y += add_y;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; }</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; ]]&gt;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx</span>:Script<span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx</span>:Application<span style="font-weight: bold; color: black;">&gt;</span></span> </li>
				</ol>
				</div>
				</div>
				</div>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/432/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KORG nanoシリーズ</title>
		<link>http://parpue.net/design/400</link>
		<comments>http://parpue.net/design/400#comments</comments>
		<pubDate>Wed, 07 Jan 2009 18:01:38 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[デザイン]]></category>
		<category><![CDATA[音楽]]></category>
		<category><![CDATA[KORG]]></category>
		<category><![CDATA[nano KEY]]></category>
		<category><![CDATA[nano KONTROL]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=400</guid>
		<description><![CDATA[				あけましておめでとうございます。
				今年もよろしくお願いします。
				何か作り続けることを自分に課すためにやってるこのBlogも、
				ちょっと日々の忙しさにあまり更新しなくなってしまっています。
 [...]]]></description>
			<content:encoded><![CDATA[				<p>あけましておめでとうございます。<br />
				今年もよろしくお願いします。</p>
				<p>何か作り続けることを自分に課すためにやってるこのBlogも、<br />
				ちょっと日々の忙しさにあまり更新しなくなってしまっています。</p>
				<p>書き留めておこうと思っていることも貯まってるので、<br />
				ぼちぼちやろう。</p>
				<p>さて、最近KORGのmidiコントローラーを買ったのですが、<br />
				これがすごくいい！</p>
				<p>学生時代からいろいろとMIDI機器購入したけど、<br />
				今回のが一番満足度高いんじゃなかろうか・・・一番安いのに・・・。</p>
				<p><a href="http://parpue.net/wp-content/uploads/k001.jpg" rel="shadowbox[post-400];player=img;"><img src="http://parpue.net/wp-content/uploads/k001-150x150.jpg" alt="" title="KORG nano KONTROL" width="150" height="150" class="alignnone size-thumbnail wp-image-403" /></a></p>
				<p><span id="more-400"></span></p>
				<p>最近でたばかりのKORG nanoシリーズ。<br />
				MIDIキーボード、MIDIコントローラ、そしてPADの３種類。<br />
				詳しくは<a href="http://www.korg.co.jp/Product/Synthesizer/nano/" target="_blank">公式へ</a>。</p>
				<p>ドラムの入力はマウスでやる人なのでPADは特に不要。<br />
				nano KEYとnano KONTROLを購入。</p>
				<p>音の確認、入力はいつも鍵盤でやっていたのだが、<br />
				鍵盤が場所とるため、小さいのが欲しいと思っていたところに、<br />
				これを見つけて衝動買い。</p>
				<p>４千円〜５千円って思わず買っちゃう価格だよな〜。</p>
				<p>KONTROLは特にいらないと言えばいらなかったんだけど、<br />
				なんか見た目のかわいさに思わず一緒に購入。</p>
				<p>場所もとらないし、おもちゃみたいな外観も良い。<br />
				特に、ノートPC環境での打ち込み用にはもってこいだと思う。</p>
				<p>nano KONTROLのLogicでの使い方だけちょっと悩んだのでメモ。<br />
				参考にさせていただいたサイト　<a href="http://www.elp.co.jp/staffblog/archives/2008/12/mackorg_nano_kontrollogic.html"><br />
				Macで音楽を作る人。KORG nano KONTROLとLogicの話。</a></p>
				<p>再生コントロールのためには、KORGサイトからダウンロードできる、<br />
				KORG KONTROL Editorを使用して、<br />
				再生コントロールのキーをすべてMCCで、動作させる。<br />
				<DIV align="center"><a href="http://parpue.net/wp-content/uploads/e38394e382afe38381e383a3-2.png" rel="shadowbox[post-400];player=img;"><img src="http://parpue.net/wp-content/uploads/e38394e382afe38381e383a3-2-300x261.png" alt="" title="picture_korg" width="300" height="261" class="alignnone size-medium wp-image-413" /></a></div>
				<p>それぞれのボタン、フェーダー等の動作は、<br />
				Logicの環境設定＞コントロールサーフェス＞コントローラアサインメント<br />
				から。</p>
				<p>ミキサーのフェーダーや、エフェクトのつまみなどを操作してから、<br />
				Commandキーと「L」でコントローラーアサインメントを起動して、<br />
				さらにそのあと、nano Kontrolのつまみを動かすことでも適用できた。</p>
				<p><DIV align="center"><a href="http://parpue.net/wp-content/uploads/assignment.png" rel="shadowbox[post-400];player=img;"><img src="http://parpue.net/wp-content/uploads/assignment-300x214.png" alt="" title="assignment" width="300" height="214" class="alignnone size-medium wp-image-418" /></a></div>
				<p>あんまりまだいじってませんが、<br />
				チャンネルストリップをフェーダーバンクの番号に登録しておけば、<br />
				汎用的にミキサー部分は利用できるんじゃないかと思います。</p>
				<p>うーん・・お値打ち価格で、しばらく遊べそうなおもちゃが手に入りました。</p>
				<p><a href="http://parpue.net/wp-content/uploads/rimg0182.jpg" rel="shadowbox[post-400];player=img;"><img src="http://parpue.net/wp-content/uploads/rimg0182-300x225.jpg" alt="" title="rimg0182" width="300" height="225" class="alignnone size-medium wp-image-420" /></a></p>
				<p><iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=parpue-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=B001J8INY2&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=7C570F&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=parpue-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=B001J8INZQ&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=7E5607&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><br />
				<iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=parpue-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=B001H2X192&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=895B03&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe><iframe src="http://rcm-jp.amazon.co.jp/e/cm?t=parpue-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=B001J8KRBY&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=765505&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/design/400/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ライブ告知などなど。</title>
		<link>http://parpue.net/design/391</link>
		<comments>http://parpue.net/design/391#comments</comments>
		<pubDate>Fri, 26 Dec 2008 03:31:23 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[デザイン]]></category>
		<category><![CDATA[音楽]]></category>
		<category><![CDATA[ライブ告知]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=391</guid>
		<description><![CDATA[				更新がだいぶ久しぶりになってしまいました。
				仕事とか、ライブイベントの準備等に、
				日々時間がとられてしまっている状況です。
				というわけで来年2009年1月24日(土）に、
				ライブイ [...]]]></description>
			<content:encoded><![CDATA[				<p>更新がだいぶ久しぶりになってしまいました。</p>
				<p>仕事とか、ライブイベントの準備等に、<br />
				日々時間がとられてしまっている状況です。</p>
				<p>というわけで来年2009年1月24日(土）に、<br />
				ライブイベント「続・気道確保（仮）」に、<br />
				2バンドでダブルブッキングで出演します。<br />
				フライヤーも作らせていただきました。</p>
				<div style="margin-left:auto;margin-right:auto;width:300px">
				<a href="http://parpue.net/wp-content/uploads/kidokakuho_flat_800.png" rel="shadowbox[post-391];player=img;"><img src="http://parpue.net/wp-content/uploads/kidokakuho_flat_800-219x300.png" alt="続・気道確保（仮）" title="kidokakuho_flat_800" width="219" height="300" class="size-medium wp-image-393" /></a>
				</div>
				<p><a href="http://pinepan.com/kk_2/">告知ページはこちら</a></p>
				<p>2009年 1月 24日 土曜日　新宿ヘッドパワー<br />
				<b>パインぱん主催イベント</b><br />
				<a href="http://www.pinepan.com/kk_2/" target="_blank"><b>『続・気道確保（仮）』</b></a><br />
				仮までが正式タイトルです。</p>
				<p><a href="http://www.headpower.co.jp/" target="_blank"><b>新宿HEAD POWER</b></a></p>
				<p>OPEN 17:00　START 17:30-<br />
				CAHRGE ￥1,000 + 1d ￥500</p>
				<p>出演バンド<br />
				<a href="http://setacho.tripod.com/" target="_blank"><b>世田谷アンジー</b> ～超合金安産型～</a><br />
				<a href="http://bleedingtwin.ninja-web.net/mustafolic.html" target="_blank"><b>Mustafolic Explosion</b></a><br />
				<a href="http://chocolataste-planner.jp/" target="_blank"><b>chocolataste planner</b></a><br />
				<a href="http://sound.jp/zcrew/" target="_blank"><b>EZO-EDO</b>(ZCREW HP)</a><br />
				<a href="http://www.geocities.jp/tsukitopistol/top.html" target="_blank"><b>バトルガンジー</b></a><br />
				<a href="http://www.pinepan.com/" target="_blank"><b>パインぱん</b></a></p>
				<p>chocolataste-planner、およびパインぱんでベース弾きます。</p>
				<p>よろしくお願いします</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/design/391/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIVe3Dで３Dテンキー</title>
		<link>http://parpue.net/web/355</link>
		<comments>http://parpue.net/web/355#comments</comments>
		<pubDate>Thu, 30 Oct 2008 11:37:47 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[デザイン]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[FIVe3D]]></category>
		<category><![CDATA[Flex3]]></category>
		<category><![CDATA[テンキー]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=355</guid>
		<description><![CDATA[				
				久しぶりにFIVe3Dの配布サイトみたら、
				なんか奇麗な３Dキーボードのデモが増えていました。
				ふと思いついたので、もうちょっとリアルな形で
				自分も３Dテンキーデモをパク作成してみました。
				デモとソース↓
				
				
				
				
				最初にキーをマウスでプッシュしてフォーカスを与えてください。
				テンキーや、キーボードの数字キーとも連動して動きます。
				計算機機能はおまけ程度につけました、ちゃんと動かないので真剣に使わないでくださいｗ　(^-^;
				
				このテンキーはキーひとつを生成するSquareKeyクラスと、
				SquareKeyをテンキーの数だけ生成するTenkey3Dクラスから成っています。
				FIVe3Dはベクターベースの３D描画ライブラリで、
				重なり順は考慮しないので、後ろにあるものから描画していく必要があります。
				今回はキーは、影を出すためのbottom、
				画面に見えてる３面のtop, front, sideのSprite3Dを組み合わせてキーひとつ分を作っています。
				なので、右側からしか見下ろせません(^-^;;
				同様に、キーを配置するTenkey３Dクラスでも、
				後ろの方に配置されるキーから順番においていっています。
				Tenkey3Dクラスで、"tenkeyDown"イベント、"tenkeyUp"イベントで、
				どのキーが押されたかを検知できるようにしています。
				&#62;&#62;text
				ACTIONSCRIPT:
				
				
				
				Tenkey3D.addTenkeyEventListener&#40;type:String, listener:Function&#41;; 
				
				
				
				
				listenerは、入力されたキーの文字列を引数として呼び出されます。
				↓以下テンキーを生成するソース、計算部は適当に作ったので・・・載せない(^-^;;;
				キーひとつ分のSquareKeyクラス
				&#62;&#62;text
				ACTIONSCRIPT:
				
				
				
				package
				&#123;
				&#160; &#160; import five3D.display.DynamicText3D;
				&#160; &#160; import five3D.display.Sprite3D;
				&#160; &#160; import five3D.typography.HelveticaBold;
				&#160; &#160; 
				&#160; &#160; import flash.events.Event;
				&#160; &#160; import flash.events.MouseEvent;
				&#160; &#160; import flash.filters.DropShadowFilter;
				&#160; &#160; 
				&#160; &#160; public class SquareKey extends Sprite3D
				&#160; &#160; &#123;
				&#160; &#160; &#160; &#160; private var top:Sprite3D;
				&#160; &#160; &#160; &#160; private var front:Sprite3D;
				&#160; &#160; &#160; &#160; private var side:Sprite3D;
				&#160; &#160; &#160;  [...]]]></description>
			<content:encoded><![CDATA[				<p><img src="http://parpue.net/wp-content/uploads/tenkey.png" alt="" title="3dtenkey" width="300" height="137" class="alignnone size-medium wp-image-356" /></p>
				<p>久しぶりにFIVe3Dの配布サイトみたら、<br />
				なんか奇麗な３Dキーボードのデモが増えていました。</p>
				<p>ふと思いついたので、もうちょっとリアルな形で<br />
				自分も３Dテンキーデモを<s>パク</s>作成してみました。</p>
				<p>デモとソース↓<br />
				<span id="more-355"></span></p>
				<div style="text-align:center;width:100%">
				<div style="border:solid 1px;width:500px;margin-right:auto;margin-left:auto">
				<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="FIVe3DWorld" width="500" height="400" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="http://parpue.net/wp-content/uploads/five3dworld.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#fcfcfc" /><param name="allowScriptAccess" value="sameDomain" /><embed src="http://parpue.net/wp-content/uploads/five3dworld.swf" quality="high" bgcolor="#fcfcfc" width="500" height="400" name="FIVe3DWorld" align="middle" play="true" loop="false" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"></embed></object></div>
				<p>最初にキーをマウスでプッシュしてフォーカスを与えてください。<br />
				テンキーや、キーボードの数字キーとも連動して動きます。<br />
				<strong>計算機機能はおまけ程度につけました、ちゃんと動かないので真剣に使わないでくださいｗ　(^-^;</strong>
				</div>
				<p>このテンキーはキーひとつを生成するSquareKeyクラスと、<br />
				SquareKeyをテンキーの数だけ生成するTenkey3Dクラスから成っています。</p>
				<p>FIVe3Dはベクターベースの３D描画ライブラリで、<br />
				重なり順は考慮しないので、後ろにあるものから描画していく必要があります。<br />
				今回はキーは、影を出すためのbottom、<br />
				画面に見えてる３面のtop, front, sideのSprite3Dを組み合わせてキーひとつ分を作っています。<br />
				なので、右側からしか見下ろせません(^-^;;</p>
				<p>同様に、キーを配置するTenkey３Dクラスでも、<br />
				後ろの方に配置されるキーから順番においていっています。</p>
				<p>Tenkey3Dクラスで、"tenkeyDown"イベント、"tenkeyUp"イベントで、<br />
				どのキーが押されたかを検知できるようにしています。</p>
				<div class="igBar"><span id="lactionscript-12"><a href="#" onclick="javascript:showPlainTxt('actionscript-12'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-12">
				<div class="actionscript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">Tenkey3D.<span style="color: #006600;">addTenkeyEventListener</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span>:<span style="color: #0066CC;">String</span>, listener:<span style="color: #000000; font-weight: bold;">Function</span><span style="color: #66cc66;">&#41;</span>; </li>
				</ol>
				</div>
				</div>
				</div>
				<p>listenerは、入力されたキーの文字列を引数として呼び出されます。</p>
				<p>↓以下テンキーを生成するソース、計算部は適当に作ったので・・・載せない(^-^;;;</p>
				<p>キーひとつ分のSquareKeyクラス</p>
				<div class="igBar"><span id="lactionscript-13"><a href="#" onclick="javascript:showPlainTxt('actionscript-13'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-13">
				<div class="actionscript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">package</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> five3D.<span style="color: #006600;">display</span>.<span style="color: #006600;">DynamicText3D</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> five3D.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite3D</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> five3D.<span style="color: #006600;">typography</span>.<span style="color: #006600;">HelveticaBold</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">MouseEvent</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">filters</span>.<span style="color: #006600;">DropShadowFilter</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> SquareKey <span style="color: #0066CC;">extends</span> Sprite3D</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> top:Sprite3D;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> front:Sprite3D;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> side:Sprite3D;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> bottom:Sprite3D;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> sq_width:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;color:#800000;">100</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> sq_height:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;color:#800000;">100</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> sq_tall:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;color:#800000;">60</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> _key:<span style="color: #0066CC;">String</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> _onKeyDown:<span style="color: #000000; font-weight: bold;">Function</span> = <span style="color: #000000; font-weight: bold;">null</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> _onKeyUp:<span style="color: #000000; font-weight: bold;">Function</span> = <span style="color: #000000; font-weight: bold;">null</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">key</span>:<span style="color: #0066CC;">String</span>, <span style="color: #0066CC;">width</span>:<span style="color: #0066CC;">Number</span>, <span style="color: #0066CC;">height</span>:<span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#41;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _key = <span style="color: #0066CC;">key</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sq_width = <span style="color: #0066CC;">width</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sq_height = <span style="color: #0066CC;">height</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> diff:<span style="color: #0066CC;">Number</span> = sq_tall*<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">tan</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">10</span> * <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">PI</span> / <span style="color: #cc66cc;color:#800000;">180</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bottom = <span style="color: #000000; font-weight: bold;">new</span> Sprite3D;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bottom.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0xCCCCCC<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bottom.<span style="color: #006600;">graphics3D</span>.<span style="color: #006600;">drawRect</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>,<span style="color: #cc66cc;color:#800000;">0</span>,sq_width + <span style="color: #cc66cc;color:#800000;">2</span> * diff ,sq_height + <span style="color: #cc66cc;color:#800000;">2</span> * diff<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bottom.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bottom.<span style="color: #006600;">rotationX</span> = -<span style="color: #cc66cc;color:#800000;">90</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bottom.<span style="color: #006600;">z</span> = sq_height + diff;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bottom.<span style="color: #006600;">x</span> = -diff;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bottom.<span style="color: #006600;">y</span> = sq_tall;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top = <span style="color: #000000; font-weight: bold;">new</span> Sprite3D;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0xFFFFFF<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">graphics3D</span>.<span style="color: #006600;">drawRect</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>,<span style="color: #cc66cc;color:#800000;">0</span>,sq_width,sq_height<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">rotationX</span> = -<span style="color: #cc66cc;color:#800000;">90</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">z</span> = sq_height;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">focusRect</span> = <span style="color: #000000; font-weight: bold;">false</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> dropShadow:DropShadowFilter = <span style="color: #000000; font-weight: bold;">new</span> DropShadowFilter;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dropShadow.<span style="color: #006600;">blurX</span> = <span style="color: #cc66cc;color:#800000;">10</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dropShadow.<span style="color: #006600;">blurY</span> = <span style="color: #cc66cc;color:#800000;">10</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dropShadow.<span style="color: #0066CC;">color</span> = 0x000000;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dropShadow.<span style="color: #006600;">inner</span> = <span style="color: #000000; font-weight: bold;">false</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dropShadow.<span style="color: #006600;">angle</span> = <span style="color: #cc66cc;color:#800000;">45</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dropShadow.<span style="color: #006600;">strength</span> = <span style="color: #cc66cc;color:#800000;">0</span>.<span style="color: #cc66cc;color:#800000;">4</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bottom.<span style="color: #006600;">filters</span> = <span style="color: #66cc66;">&#91;</span>dropShadow<span style="color: #66cc66;">&#93;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>bottom<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>top<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> keys:<span style="color: #0066CC;">Array</span> = <span style="color: #0066CC;">key</span>.<span style="color: #0066CC;">split</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"<span style="color: #000099; font-weight: bold;">\n</span>"</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;color:#800000;">0</span>;i&lt;keys.<span style="color: #0066CC;">length</span>;i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> letter:DynamicText3D = <span style="color: #000000; font-weight: bold;">new</span> DynamicText3D<span style="color: #66cc66;">&#40;</span>HelveticaBold<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">key</span>.<span style="color: #006600;">length</span>&gt; <span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#41;</span> letter.<span style="color: #0066CC;">size</span> = <span style="color: #cc66cc;color:#800000;">30</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> letter.<span style="color: #0066CC;">size</span> = <span style="color: #cc66cc;color:#800000;">50</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; letter.<span style="color: #0066CC;">color</span> = 0x666666;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; letter.<span style="color: #0066CC;">text</span> = keys<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; letter.<span style="color: #006600;">x</span> = <span style="color: #cc66cc;color:#800000;">10</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; letter.<span style="color: #006600;">y</span> = <span style="color: #cc66cc;color:#800000;">10</span> + <span style="color: #cc66cc;color:#800000;">35</span> * i;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>letter<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; front = <span style="color: #000000; font-weight: bold;">new</span> Sprite3D;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; front.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0xEEEEEE<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; front.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">moveTo</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>, <span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; front.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span>sq_width, <span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; front.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span>sq_width+diff, sq_tall<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; front.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span>-diff, sq_tall<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; front.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>, <span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; front.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; front.<span style="color: #006600;">rotationX</span> = -<span style="color: #cc66cc;color:#800000;">10</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>front<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> sideBase:Sprite3D = <span style="color: #000000; font-weight: bold;">new</span> Sprite3D;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; side = <span style="color: #000000; font-weight: bold;">new</span> Sprite3D;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; side.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0xCCCCCC<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; side.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">moveTo</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>,<span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; side.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span>sq_height, <span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; side.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span>sq_height+diff, sq_tall<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; side.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span>-diff, sq_tall<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; side.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>, <span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; side.<span style="color: #006600;">graphics3D</span>.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; side.<span style="color: #006600;">rotationX</span> = -<span style="color: #cc66cc;color:#800000;">10</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sideBase.<span style="color: #006600;">x</span> = sq_width;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sideBase.<span style="color: #006600;">rotationY</span> = -<span style="color: #cc66cc;color:#800000;">90</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sideBase.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>side<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>sideBase<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; side = <span style="color: #000000; font-weight: bold;">new</span> Sprite3D;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, mousePressHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_UP</span>, mouseUpHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_OUT</span>, mouseUpHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #0066CC;">useHandCursor</span> = <span style="color: #000000; font-weight: bold;">true</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #006600;">buttonMode</span> = <span style="color: #000000; font-weight: bold;">true</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> mousePressHandler<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keydown<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> mouseUpHandler<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keyup<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">get</span> <span style="color: #0066CC;">key</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> _key;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> keydown<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">y</span> = <span style="color: #cc66cc;color:#800000;">13</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>._onKeyDown != <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0066CC;">this</span>._onKeyDown<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>._key<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> keyup<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">y</span> = <span style="color: #cc66cc;color:#800000;">0</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>._onKeyUp != <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0066CC;">this</span>._onKeyUp<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>._key<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> addKeyEventListener<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span>:<span style="color: #0066CC;">String</span>, listener:<span style="color: #000000; font-weight: bold;">Function</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span> == <span style="color: #ff0000;">"keydown"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>._onKeyDown = listener;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span> == <span style="color: #ff0000;">"keyup"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>._onKeyUp = listener;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>キーを並べるTenkey3Dクラス</p>
				<div class="igBar"><span id="lactionscript-14"><a href="#" onclick="javascript:showPlainTxt('actionscript-14'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-14">
				<div class="actionscript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">package <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> five3D.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite3D</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">KeyboardEvent</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">ui</span>.<span style="color: #006600;">Keyboard</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Tenkey3D <span style="color: #0066CC;">extends</span> Sprite3D</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> keylist:<span style="color: #0066CC;">Array</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> numlock_key:SquareKey;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _onTenkeyDown:<span style="color: #000000; font-weight: bold;">Function</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _onTenkeyUp:<span style="color: #000000; font-weight: bold;">Function</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> Tenkey3D<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_width:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">100</span> + <span style="color: #cc66cc;color:#800000;">2</span> * <span style="color: #cc66cc;color:#800000;">60</span>*<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">tan</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">10</span> * <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">PI</span> / <span style="color: #cc66cc;color:#800000;">180</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_base:Sprite3D = <span style="color: #000000; font-weight: bold;">new</span> Sprite3D;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">z</span> = <span style="color: #cc66cc;color:#800000;">120</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_base<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; numlock_key = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Num<span style="color: #000099; font-weight: bold;">\n</span>Lock"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>numlock_key<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; numlock_key.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">4</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_div:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"/"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_div<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_div.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">4</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_div.<span style="color: #006600;">x</span> = key_width;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_div<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_mul:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"*"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_mul<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_mul.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">4</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_mul.<span style="color: #006600;">x</span> = key_width*<span style="color: #cc66cc;color:#800000;">2</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_mul<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_sub:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"-"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_sub<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_sub.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">4</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_sub.<span style="color: #006600;">x</span> = key_width*<span style="color: #cc66cc;color:#800000;">3</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_sub<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_7:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"7"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_7<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_7.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">3</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_8:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"8"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_8<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_8.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">3</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_8.<span style="color: #006600;">x</span> = key_width;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_9:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"9"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_9<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_9.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">3</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_9.<span style="color: #006600;">x</span> = key_width*<span style="color: #cc66cc;color:#800000;">2</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_7<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_8<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_9<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_4:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"4"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_4<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_4.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">2</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_5:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"5"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_5<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_5.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">2</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_5.<span style="color: #006600;">x</span> = key_width;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_6:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"6"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_6<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_6.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">2</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_6.<span style="color: #006600;">x</span> = key_width*<span style="color: #cc66cc;color:#800000;">2</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_4<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_5<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_6<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_add:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"+"</span>, <span style="color: #cc66cc;color:#800000;">100</span>, <span style="color: #cc66cc;color:#800000;">220</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_add<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_add.<span style="color: #006600;">z</span> = key_width*<span style="color: #cc66cc;color:#800000;">2</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_add.<span style="color: #006600;">x</span> = key_width*<span style="color: #cc66cc;color:#800000;">3</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_add<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_1:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"1"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_1<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_1.<span style="color: #006600;">z</span> = key_width;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_2:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"2"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_2<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_2.<span style="color: #006600;">z</span> = key_width;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_2.<span style="color: #006600;">x</span> = key_width;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_3:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"3"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_3<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_3.<span style="color: #006600;">z</span> = key_width;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_3.<span style="color: #006600;">x</span> = key_width*<span style="color: #cc66cc;color:#800000;">2</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_1<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_2<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_3<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_0:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"0"</span>,<span style="color: #cc66cc;color:#800000;">220</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_0<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_0<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_dot:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"."</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_dot<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_dot.<span style="color: #006600;">x</span> = key_width*<span style="color: #cc66cc;color:#800000;">2</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_dot<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_enter:SquareKey = <span style="color: #000000; font-weight: bold;">new</span> SquareKey<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Enter"</span>,<span style="color: #cc66cc;color:#800000;">100</span>,<span style="color: #cc66cc;color:#800000;">220</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_base.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>key_enter<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_enter.<span style="color: #006600;">x</span> = key_width*<span style="color: #cc66cc;color:#800000;">3</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>key_enter<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>KeyboardEvent.<span style="color: #006600;">KEY_DOWN</span>, keydownHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>KeyboardEvent.<span style="color: #006600;">KEY_UP</span>, keyupHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">ENTER_FRAME</span>, enterHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">0</span>; i &lt;keylist.<span style="color: #0066CC;">length</span>; i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> skey:SquareKey = keylist<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; skey.<span style="color: #006600;">addKeyEventListener</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"keydown"</span>, tenkeyDownHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> tenkeyDownHandler<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">key</span>:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>._onTenkeyDown != <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0066CC;">this</span>._onTenkeyDown<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">key</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span>&nbsp; <span style="color: #000000; font-weight: bold;">function</span> keyConvert<span style="color: #66cc66;">&#40;</span>keyCode:<span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_str:<span style="color: #0066CC;">String</span> = <span style="color: #000000; font-weight: bold;">null</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">48</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_0</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"0"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">190</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_DECIMAL</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"."</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">49</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"1"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">50</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_2</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"2"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">51</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_3</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"3"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">52</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_4</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"4"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">53</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_5</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"5"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">54</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_6</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"6"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">55</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_7</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"7"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">56</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_8</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"8"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">57</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_9</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"9"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">191</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_DIVIDE</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"/"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">186</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_MULTIPLY</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"*"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">189</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_SUBTRACT</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"-"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == <span style="color: #cc66cc;color:#800000;">187</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_ADD</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"+"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == Keyboard.<span style="color: #0066CC;">ENTER</span> || keyCode == Keyboard.<span style="color: #006600;">NUMPAD_ENTER</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"Enter"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keyCode == Keyboard.<span style="color: #0066CC;">BACKSPACE</span> || keyCode == Keyboard.<span style="color: #0066CC;">DELETE</span> || </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; keyCode == Keyboard.<span style="color: #006600;">ESCAPE</span> || keyCode == Keyboard.<span style="color: #006600;">numLock</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; key_str = <span style="color: #ff0000;">"clear"</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> key_str;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> keydownHandler<span style="color: #66cc66;">&#40;</span>event:KeyboardEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_str:<span style="color: #0066CC;">String</span> = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">keyConvert</span><span style="color: #66cc66;">&#40;</span>event.<span style="color: #006600;">keyCode</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>key_str<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;color:#800000;">0</span>; i&lt;this.<span style="color: #006600;">keylist</span>.<span style="color: #0066CC;">length</span>;i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keylist<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">key</span> == key_str<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">keydown</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> pressKey<span style="color: #66cc66;">&#40;</span>key_str:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;color:#800000;">0</span>; i&lt;this.<span style="color: #006600;">keylist</span>.<span style="color: #0066CC;">length</span>;i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keylist<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">key</span> == key_str<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">keydown</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">keyup</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> keyupHandler<span style="color: #66cc66;">&#40;</span>event:KeyboardEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> key_str:<span style="color: #0066CC;">String</span> = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">keyConvert</span><span style="color: #66cc66;">&#40;</span>event.<span style="color: #006600;">keyCode</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>key_str<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;color:#800000;">0</span>; i&lt;this.<span style="color: #006600;">keylist</span>.<span style="color: #0066CC;">length</span>;i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>keylist<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">key</span> == key_str<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keylist<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">keyup</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> enterHandler<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>Keyboard.<span style="color: #006600;">numLock</span><span style="color: #66cc66;">&#41;</span> numlock_key.<span style="color: #006600;">keydown</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> numlock_key.<span style="color: #006600;">keyup</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> addTenkeyEventListener<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span>:<span style="color: #0066CC;">String</span>, listener:<span style="color: #000000; font-weight: bold;">Function</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span> == <span style="color: #ff0000;">"tenkeyDown"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>._onTenkeyDown = listener;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span> == <span style="color: #ff0000;">"tenkeyUp"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>._onTenkeyUp = listener;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/355/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
