<?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; Degrafa</title>
	<atom:link href="http://parpue.net/tag/degrafa/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>Flash,Degrafaで簡単に波を表現 (2)</title>
		<link>http://parpue.net/web/645</link>
		<comments>http://parpue.net/web/645#comments</comments>
		<pubDate>Tue, 14 Apr 2009 18:03:58 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[Degrafa]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=645</guid>
		<description><![CDATA[				Degrafaのベジェ曲線描画に、さらに塗りを指定して、
				もうちょっと見栄えのいい波にしてみました。
				
				
				今回も、重ねた波の分だけ増えただけで、
				コードはMXMLを除いて、１３行といっても、
				MXMLでLineToとかしちゃってるわけなので、ちょっとだけ複雑…。
				塗り（ fill ）、線（strokes）をまず定義して、
				今度は３次ベジェ曲線オブジェクトのCubicBezierではなく、
				波を描くためのパス Path を用意します。
				Pathに、CubicBezierTo,LineToでラインの情報を指示して、
				塗りの指定をして、波を描画します。
				↓波一つ分のパス
				&#62;&#62;text
				XML:
				
				
				
				&#60;Path id="bezier4" x="{bigWaveWidth/2}" y="{height/2-10}" fill="{bigWaveFill}"&#62;
				&#160; &#160; &#60;segments&#62;
				&#160; &#160; &#160; &#160; &#160;&#60;MoveTo x="0" y="0" /&#62;
				&#160; &#160; &#160; &#160; &#160;&#60;CubicBezierTo x="{bigWaveWidth}" y="0" cx="{bigWaveWidth/2}" cy="{-waveHeight}" cx1="{bigWaveWidth/2}" cy1="{waveHeight}" /&#62;
				&#160; &#160; &#160; &#160; &#160;&#60;LineTo x="{bigWaveWidth}" y="{height}"/&#62;
				&#160; &#160; &#160; &#160; &#160;&#60;LineTo x="{0}" y="{height}"/&#62;
				&#160; &#160; &#160; &#160; &#160;&#60;LineTo x="{0}" y="{0}"/&#62;
				&#160; &#160; &#160;&#60;/segments&#62;
				&#60;/Path&#62; 
				
				
				
				
				これを重ねて、前回の記事と同じようにEnterFrameイベントで動かします。
				MXMLでお絵かきしてるようでおもしろいですね。
				SVGインポートして描画したりもできるんで、
				イラレとかで作ってやったほうがはやいかもしれないですね(^-^;;
				今度は、Degrafaでコンポーネントスキンとかにも挑戦してみようかすら。
				以下コードです。
				&#62;&#62;text
				XML:
				
				
				
				&#60;?xml version="1.0" encoding="utf-8"?&#62;
				&#60;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="http://www.degrafa.com/2007"  [...]]]></description>
			<content:encoded><![CDATA[				<p>Degrafaのベジェ曲線描画に、さらに塗りを指定して、<br />
				もうちょっと見栄えのいい波にしてみました。</p>
				<p><span id="more-645"></span></p>
				<p><object width="400" height="220" data="http://parpue.net/wp-content/uploads/2009/04/degrafabezier2.swf" type="application/x-shockwave-flash"><param name="id" value="degrafabezier" /><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/2009/04/degrafabezier2.swf"/></object></p>
				<p>今回も、重ねた波の分だけ増えただけで、<br />
				コードはMXMLを除いて、１３行といっても、<br />
				MXMLでLineToとかしちゃってるわけなので、ちょっとだけ複雑…。</p>
				<p>塗り（ fill ）、線（strokes）をまず定義して、<br />
				今度は３次ベジェ曲線オブジェクトのCubicBezierではなく、<br />
				波を描くためのパス Path を用意します。</p>
				<p>Pathに、CubicBezierTo,LineToでラインの情報を指示して、<br />
				塗りの指定をして、波を描画します。</p>
				<p>↓波一つ分のパス</p>
				<div class="igBar"><span id="lxml-3"><a href="#" onclick="javascript:showPlainTxt('xml-3'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-3">
				<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;Path</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"bezier4"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{bigWaveWidth/2}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height/2-10}"</span> <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{bigWaveFill}"</span><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;segments<span style="font-weight: bold; color: black;">&gt;</span></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;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;MoveTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;CubicBezierTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{bigWaveWidth}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">cx</span>=<span style="color: #ff0000;">"{bigWaveWidth/2}"</span> <span style="color: #000066;">cy</span>=<span style="color: #ff0000;">"{-waveHeight}"</span> cx1=<span style="color: #ff0000;">"{bigWaveWidth/2}"</span> cy1=<span style="color: #ff0000;">"{waveHeight}"</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;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{bigWaveWidth}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{0}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height}"</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;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{0}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{0}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/segments<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<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;/Path<span style="font-weight: bold; color: black;">&gt;</span></span></span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>これを重ねて、前回の記事と同じようにEnterFrameイベントで動かします。<br />
				MXMLでお絵かきしてるようでおもしろいですね。</p>
				<p>SVGインポートして描画したりもできるんで、<br />
				イラレとかで作ってやったほうがはやいかもしれないですね(^-^;;</p>
				<p>今度は、Degrafaでコンポーネントスキンとかにも挑戦してみようかすら。</p>
				<p>以下コードです。</p>
				<div class="igBar"><span id="lxml-4"><a href="#" onclick="javascript:showPlainTxt('xml-4'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-4">
				<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> <span style="color: #000066;">xmlns</span>=<span style="color: #ff0000;">"http://www.degrafa.com/2007"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"400"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"220"</span> <span style="color: #000066;">backgroundColor</span>=<span style="color: #ff0000;">"#FFFFFF"</span> <span style="color: #000066;">enterFrame</span>=<span style="color: #ff0000;">"onEnterHandler(event)"</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; <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;">&nbsp; &nbsp; <span style="color: #339933;">&lt;![CDATA[</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; [Bindable]private var waveHeight:Number = 30;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; [Bindable]private var waveWidth:Number = 410;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; [Bindable]private var bigWaveWidth:Number = 600;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; private function onEnterHandler(event:Event):void{</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; if(this.bezier1.x &lt;-this.waveWidth) this.bezier1.x = this.bezier2.x + waveWidth;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; if(this.bezier2.x &lt;-this.waveWidth) this.bezier2.x = this.bezier1.x + waveWidth;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; this.bezier1.x -= 10;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; this.bezier2.x -= 10;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; if(this.bezier3.x &lt;-this.bigWaveWidth) this.bezier3.x = this.bezier4.x + bigWaveWidth;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; if(this.bezier4.x &lt;-this.bigWaveWidth) this.bezier4.x = this.bezier3.x + bigWaveWidth;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; this.bezier3.x -= 5;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; this.bezier4.x -= 5;</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;">&nbsp; </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;Surface<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- 塗りの指定 --&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;fills<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LinearGradientFill</span> <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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;GradientStop</span> <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"0.7"</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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;GradientStop</span> <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"0.7"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#FFDDDD"</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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/LinearGradientFill<span style="font-weight: bold; color: black;">&gt;</span></span></span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LinearGradientFill</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"smallWaveFill1"</span> <span style="color: #000066;">angle</span>=<span style="color: #ff0000;">"0"</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;GradientStop</span> <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"0.5"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#FF6666"</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;GradientStop</span> <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"0.5"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#FFCC00"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/LinearGradientFill<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LinearGradientFill</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"smallWaveFill2"</span> <span style="color: #000066;">angle</span>=<span style="color: #ff0000;">"0"</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;GradientStop</span> <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"0.5"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#FFCC00"</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;GradientStop</span> <span style="color: #000066;">ratio</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"0.5"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#FF6666"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/LinearGradientFill<span style="font-weight: bold; color: black;">&gt;</span></span></span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;SolidFill</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"bigWaveFill"</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#CCCC00"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"0.5"</span><span style="font-weight: bold; color: black;">/&gt;</span></span>&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;/fills<span style="font-weight: bold; color: black;">&gt;</span></span></span></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; <span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- 線の指定 --&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;strokes<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;SolidStroke</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#666688"</span> <span style="color: #000066;">alpha</span>=<span style="color: #ff0000;">"0.3"</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="color:#26536A;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/strokes<span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!--表示するオブジェクト--&gt;</span></span>&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;GeometryGroup<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;RegularRectangle</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"rect"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"{width-2}"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"{height-2}"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</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="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;GeometryComposition</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"beziers"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Path</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"bezier3"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{-bigWaveWidth/2}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height/2-10}"</span> <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{bigWaveFill}"</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;segments<span style="font-weight: bold; color: black;">&gt;</span></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;MoveTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</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;CubicBezierTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{bigWaveWidth}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">cx</span>=<span style="color: #ff0000;">"{bigWaveWidth/2}"</span> <span style="color: #000066;">cy</span>=<span style="color: #ff0000;">"{-waveHeight}"</span> cx1=<span style="color: #ff0000;">"{bigWaveWidth/2}"</span> cy1=<span style="color: #ff0000;">"{waveHeight}"</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;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{bigWaveWidth}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height}"</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;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{0}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height}"</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;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{0}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{0}"</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;/segments<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/Path<span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Path</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"bezier4"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{bigWaveWidth/2}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height/2-10}"</span> <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{bigWaveFill}"</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;segments<span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;MoveTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;CubicBezierTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{bigWaveWidth}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">cx</span>=<span style="color: #ff0000;">"{bigWaveWidth/2}"</span> <span style="color: #000066;">cy</span>=<span style="color: #ff0000;">"{-waveHeight}"</span> cx1=<span style="color: #ff0000;">"{bigWaveWidth/2}"</span> cy1=<span style="color: #ff0000;">"{waveHeight}"</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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{bigWaveWidth}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{0}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height}"</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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{0}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{0}"</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;/segments<span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/Path<span style="font-weight: bold; color: black;">&gt;</span></span></span></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; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Path</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"bezier1"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{-waveWidth/2}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height/2}"</span> <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{smallWaveFill1}"</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;segments<span style="font-weight: bold; color: black;">&gt;</span></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;MoveTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</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;CubicBezierTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{waveWidth}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">cx</span>=<span style="color: #ff0000;">"{waveWidth/2}"</span> <span style="color: #000066;">cy</span>=<span style="color: #ff0000;">"{-waveHeight}"</span> cx1=<span style="color: #ff0000;">"{waveWidth/2}"</span> cy1=<span style="color: #ff0000;">"{waveHeight}"</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;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{waveWidth}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height}"</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;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{0}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height}"</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;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{0}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{0}"</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;/segments<span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/Path<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Path</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"bezier2"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{waveWidth/2}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height/2}"</span> <span style="color: #000066;">fill</span>=<span style="color: #ff0000;">"{smallWaveFill2}"</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;segments<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;MoveTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;CubicBezierTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{waveWidth}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">cx</span>=<span style="color: #ff0000;">"{waveWidth/2}"</span> <span style="color: #000066;">cy</span>=<span style="color: #ff0000;">"{-waveHeight}"</span> cx1=<span style="color: #ff0000;">"{waveWidth/2}"</span> cy1=<span style="color: #ff0000;">"{waveHeight}"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{waveWidth}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height}"</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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{0}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height}"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LineTo</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{0}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{0}"</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;/segments<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/Path<span style="font-weight: bold; color: black;">&gt;</span></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; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/GeometryComposition<span style="font-weight: bold; color: black;">&gt;</span></span></span>&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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/RegularRectangle<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp;&nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/GeometryGroup<span style="font-weight: bold; color: black;">&gt;</span></span></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;/Surface<span style="font-weight: bold; color: black;">&gt;</span></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/645/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flash,Degrafaで簡単に波を表現 (1)</title>
		<link>http://parpue.net/web/630</link>
		<comments>http://parpue.net/web/630#comments</comments>
		<pubDate>Tue, 14 Apr 2009 18:02:53 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[Degrafa]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=630</guid>
		<description><![CDATA[				
				FlashグラフィックコンポーネントのDegrafaで引き続き遊んでみた。
				mxmlを除くスクリプト部分はわずか7行で、簡単な波が！
				↓続き
				
				
				前にかいたのと同 [...]]]></description>
			<content:encoded><![CDATA[				<p><img src="http://parpue.net/wp-content/uploads/2009/04/flash_wave.png" alt="flash_wave" title="flash_wave" width="500" height="250" class="alignnone size-full wp-image-632" /></p>
				<p>FlashグラフィックコンポーネントのDegrafaで引き続き遊んでみた。<br />
				mxmlを除くスクリプト部分はわずか7行で、簡単な波が！</p>
				<p>↓続き<br />
				<span id="more-630"></span></p>
				<p><object width="400" height="220" data="http://parpue.net/wp-content/uploads/2009/04/degrafabezier.swf" type="application/x-shockwave-flash"><param name="id" value="degrafabezier" /><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/2009/04/degrafabezier.swf"/></object></p>
				<p><a href="http://parpue.net/web/347">前にかいたの</a>と同じようなことを<br />
				Degrafaを使用してやってみました。</p>
				<p>Degrafaには３次ベジェ曲線オブジェクトである、CubicBezierがあるので、<br />
				それをMXMLで配置して、色と塗りを指定していきます。<br />
				CubicBezierでベジェ曲線をひくには、<br />
				始点( x0, y0)、終点(x1, y1)、作用点を二つ(cx,cy),(cx1,cy1)を指定します。</p>
				<p>EnterFrameイベントで、作成したベジェ曲線オブジェクトを移動していくと、ナミナミできました。</p>
				<p>次の記事で、Degrafaで塗りのある波もやってみます。<br />
				　　→　<a href="http://parpue.net/web/645">Flash,Degrafaで簡単に波を表現 (2)</a><br />
				関連→　<a href="http://parpue.net/web/432">FlashグラフィックコンポーネントDegrafaを試す</a></p>
				<p>コードは、すごいシンプルです。</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 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> <span style="color: #000066;">xmlns</span>=<span style="color: #ff0000;">"http://www.degrafa.com/2007"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"400"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"220"</span> <span style="color: #000066;">backgroundColor</span>=<span style="color: #ff0000;">"#FFFFFF"</span> <span style="color: #000066;">enterFrame</span>=<span style="color: #ff0000;">"onEnterHandler(event)"</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; <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;">&nbsp; &nbsp; <span style="color: #339933;">&lt;![CDATA[</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; [Bindable]private var waveHeight:Number = 50;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; [Bindable]private var waveWidth:Number = 410; //&gt; width</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; private function onEnterHandler(event:Event):void{</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; if(this.bezier1.x &lt;-this.waveWidth) this.bezier1.x = this.bezier2.x + waveWidth;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; if(this.bezier2.x &lt;-this.waveWidth) this.bezier2.x = this.bezier1.x + waveWidth;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; this.bezier1.x -= 10;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; this.bezier2.x -= 10;</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; ]]&gt;</span></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; </li>
				<li style="color:#26536A;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Surface<span style="font-weight: bold; color: black;">&gt;</span></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="color: #808080; font-style: italic;">&lt;!-- 塗りの指定 --&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;fills<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;LinearGradientFill</span> <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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;GradientStop</span> <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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;GradientStop</span> <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;">"#DDDDFF"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/LinearGradientFill<span style="font-weight: bold; color: black;">&gt;</span></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;/fills<span style="font-weight: bold; color: black;">&gt;</span></span></span></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; <span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- 線の指定 --&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;strokes<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;SolidStroke</span> <span style="color: #000066;">color</span>=<span style="color: #ff0000;">"#666688"</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="color:#26536A;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/strokes<span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!--表示するオブジェクト--&gt;</span></span>&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;GeometryGroup<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;RegularRectangle</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"rect"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"{width-2}"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"{height-2}"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"0"</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>&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: #009900;"><span style="font-weight: bold; color: black;">&lt;GeometryComposition</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"beziers"</span><span style="font-weight: bold; color: black;">&gt;</span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;CubicBezier</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"bezier1"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{-waveWidth/2}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height/2}"</span> x0=<span style="color: #ff0000;">"0"</span> x1=<span style="color: #ff0000;">"{waveWidth}"</span> y0=<span style="color: #ff0000;">"0"</span> y1=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">cx</span>=<span style="color: #ff0000;">"{waveWidth/2}"</span> <span style="color: #000066;">cy</span>=<span style="color: #ff0000;">"{-waveHeight}"</span> cx1=<span style="color: #ff0000;">"{waveWidth/2}"</span> cy1=<span style="color: #ff0000;">"{waveHeight}"</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="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;CubicBezier</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"bezier2"</span> <span style="color: #000066;">x</span>=<span style="color: #ff0000;">"{waveWidth/2}"</span> <span style="color: #000066;">y</span>=<span style="color: #ff0000;">"{height/2}"</span> x0=<span style="color: #ff0000;">"0"</span> x1=<span style="color: #ff0000;">"{waveWidth}"</span> y0=<span style="color: #ff0000;">"0"</span> y1=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">cx</span>=<span style="color: #ff0000;">"{waveWidth/2}"</span> <span style="color: #000066;">cy</span>=<span style="color: #ff0000;">"{-waveHeight}"</span> cx1=<span style="color: #ff0000;">"{waveWidth/2}"</span> cy1=<span style="color: #ff0000;">"{waveHeight}"</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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/GeometryComposition<span style="font-weight: bold; color: black;">&gt;</span></span></span>&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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/RegularRectangle<span style="font-weight: bold; color: black;">&gt;</span></span></span></li>
				<li style="color:#26536A;">&nbsp; &nbsp;&nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/GeometryGroup<span style="font-weight: bold; color: black;">&gt;</span></span></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;/Surface<span style="font-weight: bold; color: black;">&gt;</span></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/630/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DegrafaでFlexコンポーネントのSkin作成解説ビデオがわかりやすい</title>
		<link>http://parpue.net/web/473</link>
		<comments>http://parpue.net/web/473#comments</comments>
		<pubDate>Fri, 27 Mar 2009 01:35:11 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[Degrafa]]></category>
		<category><![CDATA[Flex3]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=473</guid>
		<description><![CDATA[				
				http://www.asfusion.com/examples/item/skinning-with-degrafa-1
				昨日に引き続き、Degrafa。今度はコンポーネントSkin作ってみよ [...]]]></description>
			<content:encoded><![CDATA[				<p><img src="http://parpue.net/wp-content/uploads/2009/03/skin_button.png" alt="skin_button" title="skin_button" width="283" height="195" class="alignnone size-full wp-image-474" /></p>
				<p><a href="http://www.asfusion.com/examples/item/skinning-with-degrafa-1" target="_blank">http://www.asfusion.com/examples/item/skinning-with-degrafa-1</a></p>
				<p>昨日に引き続き、Degrafa。今度はコンポーネントSkin作ってみようと、<br />
				なんか参考になるもんないかなーと、探してみたら、これがわかりやすい。<br />
				サンプルプロジェクトファイルもダウンロードできます。</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/473/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-11"><a href="#" onclick="javascript:showPlainTxt('xml-11'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-11">
				<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-12"><a href="#" onclick="javascript:showPlainTxt('xml-12'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-12">
				<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-13"><a href="#" onclick="javascript:showPlainTxt('xml-13'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-13">
				<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-14"><a href="#" onclick="javascript:showPlainTxt('xml-14'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-14">
				<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>
	</channel>
</rss>
