<?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; WEB</title>
	<atom:link href="http://parpue.net/category/web/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>tumblrの様子が変わっているようなので再起。</title>
		<link>http://parpue.net/web/1126</link>
		<comments>http://parpue.net/web/1126#comments</comments>
		<pubDate>Wed, 12 Aug 2009 17:45:08 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[tumblr]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=1126</guid>
		<description><![CDATA[				
				thumblrが会社でちょっと話題になった。
				１年半前くらいに登録して、ちょっと遊んでからずっと放置していたアカウント、
				長いことログインなしだからといって特に無効になったりしていなかっ [...]]]></description>
			<content:encoded><![CDATA[				<p><img src="http://parpue.net/wp-content/uploads/2009/08/tumb.png" alt="tumb" title="tumb" width="500" height="186" class="alignnone size-full wp-image-1127" style="border:solid 1px #999"/></p>
				<p>thumblrが会社でちょっと話題になった。<br />
				１年半前くらいに登録して、ちょっと遊んでからずっと放置していたアカウント、<br />
				長いことログインなしだからといって特に無効になったりしていなかったので<br />
				久々にログインしてみた。<br />
				→ <a href="http://parpue.tumblr.com/">http://parpue.tumblr.com/</a></p>
				<p><span id="more-1126"></span></p>
				<p>いろいろと貼り付けられるスクラップブックのようなものだと思っていたけど、<br />
				TwitterのようにFollow機能がついたり、<br />
				ひとのブログ記事をそのままReblog、”再掲載してコメントを追加”したりできるように進化している。</p>
				<p>Reblog、手軽で良い。<br />
				スクラップブック的なものだったころから著作的なもの気になってたんだけど、<br />
				Tumblrはその辺りはあんまり気にせず進化の道を辿ったんだろうか。</p>
				<p>デザインは、ちょっと独自のテンプレートを覚えなきゃいけなかったりで、<br />
				ちょっとめんどくさい。<br />
				（MySpaceの中のデザインテンプレート作りに近いかな。）</p>
				<p><a href="http://parpue.net/wp-content/uploads/2009/08/theme.png" rel="shadowbox[post-1126];player=img;"><img src="http://parpue.net/wp-content/uploads/2009/08/theme-300x203.png" alt="theme" title="theme" width="300" height="203" class="alignnone size-medium wp-image-1129" /></a><br />
				(専用ページでゴリゴリ編集していく）</p>
				<p>めんどくさい人は、利用できるテンプレートがたくさんあったので、<br />
				そのまま利用してもいいし、<br />
				それを編集していくことで自分好みに変えていくこともできる。</p>
				<p>こういう制限があるなかでのCSSでのデザインは、<br />
				結構燃える体質なので、できる限り頑張ってみた。</p>
				<p>なんとなく最近のTumblrがどんな風に進化してきたか、<br />
				わかってきた気がするので、<br />
				ちょくちょく更新して、遊んでみようと思う。</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/1126/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>マッシュアップ地図アルバムを作ってみる[Flickr+GoogleMaps+Flash]</title>
		<link>http://parpue.net/web/1070</link>
		<comments>http://parpue.net/web/1070#comments</comments>
		<pubDate>Sun, 19 Jul 2009 20:53:13 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[as3flickrlib]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[googlemaps]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=1070</guid>
		<description><![CDATA[				
				ちょっと前にas3flickrlibを使ってFlickrの緯度経度情報の取り方を調べた。
				緯度経度情報が取れたのなら、やることはひとつ、
				GoogleMaps上に表示だ。
				さっそくGoogleMaps Flash API のリファレンスを見ながらしこしこ作ってみた。
				
				以前の記事の下北GPSログの情報を流用した。
				
				マーカーをクリックで該当箇所の画像が見られる。
				地図上のラインは、KMLから緯度経度ルート情報を作成した、
				外部ファイルから取得している。
				リストはこんな感じ。
				突貫で作ったので、今度余裕があったらコレをオサレ化してみようと思う。
				Google API Key、 Flickr API Keyは伏せたソース一覧↓
				＊以下のファイル他、as3flickrlibにちょっと手をいれてます。
				GPSPhoto.as(メイン)
				&#62;&#62;text
				ACTIONSCRIPT:
				
				
				
				package &#123;
				import com.adobe.webapis.flickr.PhotoSet;
				import com.google.maps.LatLng;
				import flash.display.Sprite;
				import flash.events.Event;
				import flash.events.IOErrorEvent;
				import flash.net.URLLoader;
				import flash.net.URLRequest;
				&#160;
				public class GPSPhoto extends Sprite
				&#123;
				private var csvURL:String = "shimokita.csv";
				private var setid:String = "72157620666800332";
				&#160;
				private var gpsLoader:URLLoader;
				private var map:Gmap;
				private var flcon:FlickerConnector;
				private var flickrImageList:Array;
				private var photoSet:PhotoSet;
				&#160;
				public function GPSPhoto&#40;&#41;
				&#123;
				// パラメータでGPSリストとPhotoSetのID取得
				if&#40;loaderInfo.parameters.propertyIsEnumerable&#40;"csvURL"&#41;&#41; this.csvURL = loaderInfo.parameters&#91;"csvURL"&#93;;
				if&#40;loaderInfo.parameters.propertyIsEnumerable&#40;"setid"&#41;&#41; this.csvURL = loaderInfo.parameters&#91;"setid"&#93;;
				&#160;
				stage.align = "TL";
				stage.scaleMode = "noScale";
				map = new Gmap&#40;750,600,this.mapReadyHandler&#41;;
				map.onMarkerClick  [...]]]></description>
			<content:encoded><![CDATA[				<div style="text-align:center"><img class="alignnone size-full wp-image-1086" style="border:solid 1px #333" title="title" src="http://parpue.net/wp-content/uploads/2009/07/title.jpg" alt="title" width="525" height="198" /></div>
				<p><a href="http://parpue.net/web/996">ちょっと前</a>にas3flickrlibを使ってFlickrの緯度経度情報の取り方を調べた。</p>
				<p>緯度経度情報が取れたのなら、やることはひとつ、<br />
				GoogleMaps上に表示だ。<br />
				さっそくGoogleMaps Flash API のリファレンスを見ながらしこしこ作ってみた。</p>
				<p><span id="more-1070"></span></p>
				<p><a href="http://parpue.net/diary/722">以前の記事</a>の下北GPSログの情報を流用した。<br />
				<object id="degrafabezier" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="600" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="FlashVars" value="csvURL=http://parpue.net/wp-content/uploads/2009/07/shimokita.csv" /><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/07/GPSPhoto.swf" /><embed id="degrafabezier" type="application/x-shockwave-flash" width="750" height="600" src="http://parpue.net/wp-content/uploads/2009/07/GPSPhoto.swf" allowscriptaccess="sameDomain" bgcolor="#ffffff" wmode="transparent" flashvars="csvURL=http://parpue.net/wp-content/uploads/2009/07/shimokita.csv" quality="high"></embed></object><br />
				マーカーをクリックで該当箇所の画像が見られる。<br />
				地図上のラインは、KMLから緯度経度ルート情報を作成した、<br />
				外部ファイルから取得している。<br />
				<a href="http://parpue.net/wp-content/uploads/2009/07/shimokita.csv">リストはこんな感じ。</a><br />
				突貫で作ったので、今度余裕があったらコレをオサレ化してみようと思う。</p>
				<p>Google API Key、 Flickr API Keyは伏せたソース一覧↓<br />
				＊以下のファイル他、as3flickrlibにちょっと手をいれてます。</p>
				<p>GPSPhoto.as(メイン)</p>
				<div class="igBar"><span id="lactionscript-5"><a href="#" onclick="javascript:showPlainTxt('actionscript-5'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-5">
				<div class="actionscript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">package <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">adobe</span>.<span style="color: #006600;">webapis</span>.<span style="color: #006600;">flickr</span>.<span style="color: #006600;">PhotoSet</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">LatLng</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">IOErrorEvent</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">URLLoader</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">URLRequest</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;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> GPSPhoto <span style="color: #0066CC;">extends</span> Sprite</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> csvURL:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">"shimokita.csv"</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> setid:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">"72157620666800332"</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;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> gpsLoader:URLLoader;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> map:Gmap;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> flcon:FlickerConnector;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> flickrImageList:<span style="color: #0066CC;">Array</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> photoSet:PhotoSet;</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;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> GPSPhoto<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span></li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">// パラメータでGPSリストとPhotoSetのID取得</span></li>
				<li style="color:#26536A;"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>loaderInfo.<span style="color: #006600;">parameters</span>.<span style="color: #006600;">propertyIsEnumerable</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"csvURL"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0066CC;">this</span>.<span style="color: #006600;">csvURL</span> = loaderInfo.<span style="color: #006600;">parameters</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">"csvURL"</span><span style="color: #66cc66;">&#93;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>loaderInfo.<span style="color: #006600;">parameters</span>.<span style="color: #006600;">propertyIsEnumerable</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"setid"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0066CC;">this</span>.<span style="color: #006600;">csvURL</span> = loaderInfo.<span style="color: #006600;">parameters</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">"setid"</span><span style="color: #66cc66;">&#93;</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;"><span style="color: #0066CC;">stage</span>.<span style="color: #0066CC;">align</span> = <span style="color: #ff0000;">"TL"</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">stage</span>.<span style="color: #0066CC;">scaleMode</span> = <span style="color: #ff0000;">"noScale"</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">map = <span style="color: #000000; font-weight: bold;">new</span> Gmap<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">750</span>,<span style="color: #cc66cc;color:#800000;">600</span>,<span style="color: #0066CC;">this</span>.<span style="color: #006600;">mapReadyHandler</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">map.<span style="color: #006600;">onMarkerClick</span> = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">onMarkerClickHandler</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>map<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> mapReadyHandler<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">url</span>:<span style="color: #0066CC;">String</span> = csvURL;</li>
				<li style="color:#26536A;"><span style="color: #000000; font-weight: bold;">var</span> request:URLRequest = <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">url</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">gpsLoader = <span style="color: #000000; font-weight: bold;">new</span> URLLoader<span style="color: #66cc66;">&#40;</span>request<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">gpsLoader.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, loadCompleteHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">gpsLoader.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>IOErrorEvent.<span style="color: #006600;">IO_ERROR</span>, ioErrorHandler<span style="color: #66cc66;">&#41;</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;">flcon = <span style="color: #000000; font-weight: bold;">new</span> FlickerConnector;</li>
				<li style="color:#26536A;">flcon.<span style="color: #006600;">onFail</span> = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">onFlickrFailHandler</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">flcon.<span style="color: #006600;">onGetInfo</span> = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">onGetInfoHandler</span>;</li>
				<li style="color:#26536A;">flcon.<span style="color: #006600;">onGetPhotos</span> = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">onGetPhotosHandler</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;">flcon.<span style="color: #006600;">getInfo</span><span style="color: #66cc66;">&#40;</span>setid<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</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;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onMarkerClickHandler<span style="color: #66cc66;">&#40;</span>id:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">0</span>; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">flickrImageList</span>.<span style="color: #0066CC;">length</span>; i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #000000; font-weight: bold;">var</span> image:FlickrImage = flickrImageList<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>;</li>
				<li style="color:#26536A;"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>image.<span style="color: #006600;">id</span> == id<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">map</span>.<span style="color: #006600;">showPhoto</span><span style="color: #66cc66;">&#40;</span>image.<span style="color: #006600;">width_m</span>, image.<span style="color: #006600;">height_m</span>, <span style="color: #000000; font-weight: bold;">new</span> LatLng<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">parseFloat</span><span style="color: #66cc66;">&#40;</span>image.<span style="color: #006600;">latitude</span><span style="color: #66cc66;">&#41;</span>, <span style="color: #0066CC;">parseFloat</span><span style="color: #66cc66;">&#40;</span>image.<span style="color: #006600;">longitude</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>, image.<span style="color: #006600;">title</span>, image.<span style="color: #006600;">url_m</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #b1b100;">break</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> loadCompleteHandler<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #000000; font-weight: bold;">var</span> lineGeoCSV:<span style="color: #0066CC;">String</span> = <span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#40;</span>gpsLoader.<span style="color: #0066CC;">data</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #000000; font-weight: bold;">var</span> geoList:<span style="color: #0066CC;">Array</span> = lineGeoCSV.<span style="color: #0066CC;">split</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">" "</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #000000; font-weight: bold;">var</span> pointList:<span style="color: #0066CC;">Array</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Array</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;color:#800000;">0</span>; i</li>
				<li style="color:#26536A;"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#40;</span>geoList<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>==<span style="color: #ff0000;">""</span><span style="color: #66cc66;">&#41;</span> <span style="color: #b1b100;">continue</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #000000; font-weight: bold;">var</span> infos:<span style="color: #0066CC;">Array</span> = <span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#40;</span>geoList<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">split</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">","</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">pointList.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> LatLng<span style="color: #66cc66;">&#40;</span>infos<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span>, infos<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">map.<span style="color: #006600;">drawPolyline</span><span style="color: #66cc66;">&#40;</span>pointList<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</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;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onGetInfoHandler<span style="color: #66cc66;">&#40;</span>photoset:PhotoSet<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">photoSet</span> = photoSet;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">flcon</span>.<span style="color: #006600;">getPhotos</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">setid</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">// 画像一覧情報ロードの完了</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onGetPhotosHandler<span style="color: #66cc66;">&#40;</span>flickrImageList:<span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">flickrImageList</span> = flickrImageList;</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;"><span style="color: #808080; font-style: italic;">/*　次への布石</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">for (var i:Number = 0; i &amp;lt;flickrImageList.length; i++) {</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">var image:FlickrImage = flickrImageList[i];</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">this.addChild(image.image);</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">}*/</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;">map.<span style="color: #006600;">drawMarkers</span><span style="color: #66cc66;">&#40;</span>flickrImageList<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</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;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onFlickrFailHandler<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">// (^-^;;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> ioErrorHandler<span style="color: #66cc66;">&#40;</span>event:IOErrorEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">// (^-^;;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>Gmap.as 地図管理用</p>
				<div class="igBar"><span id="lactionscript-6"><a href="#" onclick="javascript:showPlainTxt('actionscript-6'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-6">
				<div class="actionscript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">package</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">InfoWindowOptions</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">LatLng</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">Map</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">MapEvent</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">MapMouseEvent</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">controls</span>.<span style="color: #006600;">MapTypeControl</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">controls</span>.<span style="color: #006600;">ZoomControl</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">overlays</span>.<span style="color: #006600;">Marker</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">overlays</span>.<span style="color: #006600;">MarkerOptions</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">overlays</span>.<span style="color: #006600;">Polyline</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">overlays</span>.<span style="color: #006600;">PolylineOptions</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">styles</span>.<span style="color: #006600;">FillStyle</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">google</span>.<span style="color: #006600;">maps</span>.<span style="color: #006600;">styles</span>.<span style="color: #006600;">StrokeStyle</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;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">geom</span>.<span style="color: #006600;">Point</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> flash.<span style="color: #0066CC;">text</span>.<span style="color: #006600;">StyleSheet</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;"><span style="color: #808080; font-style: italic;">/**</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">* ...</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">* @author okm</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">*/</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Gmap <span style="color: #0066CC;">extends</span> Sprite</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> map:Map;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> markerList:<span style="color: #0066CC;">Array</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> onReady:<span style="color: #000000; font-weight: bold;">Function</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> onMarkerClick:<span style="color: #000000; font-weight: bold;">Function</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;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> Gmap<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">width</span>:<span style="color: #0066CC;">Number</span>,<span style="color: #0066CC;">height</span>:<span style="color: #0066CC;">Number</span>, onReady:<span style="color: #000000; font-weight: bold;">Function</span><span style="color: #66cc66;">&#41;</span></li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">onReady</span> = onReady;</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;">markerList = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Array</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;">map = <span style="color: #000000; font-weight: bold;">new</span> Map;</li>
				<li style="color:#26536A;">map.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MapEvent.<span style="color: #006600;">MAP_READY</span>, onReady<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">map.<span style="color: #0066CC;">key</span> = <span style="color: #ff0000;">"Google Maps APIキー"</span>;</li>
				<li style="color:#26536A;">map.<span style="color: #006600;">addControl</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> MapTypeControl<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">map.<span style="color: #006600;">addControl</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> ZoomControl<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">map.<span style="color: #006600;">setSize</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> Point<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">width</span>, <span style="color: #0066CC;">height</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>map<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</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;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> drawPolyline<span style="color: #66cc66;">&#40;</span>pointList:<span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #000000; font-weight: bold;">var</span> polyline:Polyline = <span style="color: #000000; font-weight: bold;">new</span> Polyline<span style="color: #66cc66;">&#40;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">pointList,</li>
				<li style="color:#26536A;"><span style="color: #000000; font-weight: bold;">new</span> PolylineOptions<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span> strokeStyle: <span style="color: #000000; font-weight: bold;">new</span> StrokeStyle<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">color</span>: 0x6481F5,</li>
				<li style="color:#26536A;">thickness: <span style="color: #cc66cc;color:#800000;">4</span>,</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">alpha: <span style="color: #cc66cc;color:#800000;">0</span>.<span style="color: #cc66cc;color:#800000;">7</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span></li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">map</span>.<span style="color: #006600;">addOverlay</span><span style="color: #66cc66;">&#40;</span>polyline<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">map</span>.<span style="color: #006600;">setCenter</span><span style="color: #66cc66;">&#40;</span>pointList<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,<span style="color: #cc66cc;color:#800000;">17</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</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;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> drawMarkers<span style="color: #66cc66;">&#40;</span>flickrImageList:<span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">0</span>; i &amp;lt;flickrImageList.<span style="color: #0066CC;">length</span>; i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #000000; font-weight: bold;">var</span> image:FlickrImage = flickrImageList<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>;</li>
				<li style="color:#26536A;"><span style="color: #000000; font-weight: bold;">var</span> marker:Marker = <span style="color: #000000; font-weight: bold;">new</span> Marker<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> LatLng<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">parseFloat</span><span style="color: #66cc66;">&#40;</span>image.<span style="color: #006600;">latitude</span><span style="color: #66cc66;">&#41;</span>, <span style="color: #0066CC;">parseFloat</span><span style="color: #66cc66;">&#40;</span>image.<span style="color: #006600;">longitude</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>,</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #000000; font-weight: bold;">new</span> MarkerOptions<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">strokeStyle: <span style="color: #000000; font-weight: bold;">new</span> StrokeStyle<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">color</span>: 0x666666<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>,</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">fillStyle: <span style="color: #000000; font-weight: bold;">new</span> FillStyle<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">color</span>: 0x6481F5, alpha: <span style="color: #cc66cc;color:#800000;">0</span>.<span style="color: #cc66cc;color:#800000;">8</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>,</li>
				<li style="color:#26536A;">radius: <span style="color: #cc66cc;color:#800000;">12</span>,</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">hasShadow: <span style="color: #000000; font-weight: bold;">true</span></li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">marker.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MapMouseEvent.<span style="color: #006600;">CLICK</span>, onMarkerClickHandler, <span style="color: #000000; font-weight: bold;">false</span>, <span style="color: #cc66cc;color:#800000;">1</span>, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">markerList</span>.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>id:image.<span style="color: #006600;">id</span>, marker:marker<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">map</span>.<span style="color: #006600;">addOverlay</span><span style="color: #66cc66;">&#40;</span>marker<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onMarkerClickHandler<span style="color: #66cc66;">&#40;</span>event:MapMouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">0</span>; i &amp;lt;markerList.<span style="color: #0066CC;">length</span>; i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>markerList<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">marker</span> == event.<span style="color: #0066CC;">target</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">onMarkerClick</span> != <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0066CC;">this</span>.<span style="color: #006600;">onMarkerClick</span><span style="color: #66cc66;">&#40;</span>markerList<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">id</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #b1b100;">continue</span>;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">//map.panTo(event.target.getLatLng()); //マーカー座標へ移動</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> showPhoto<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">width</span>:<span style="color: #0066CC;">Number</span>, <span style="color: #0066CC;">height</span>:<span style="color: #0066CC;">Number</span>, latlng:LatLng, title:<span style="color: #0066CC;">String</span>, imageUrl:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #000000; font-weight: bold;">var</span> style:StyleSheet = <span style="color: #000000; font-weight: bold;">new</span> StyleSheet<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #000000; font-weight: bold;">var</span> heading:<span style="color: #0066CC;">Object</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">heading.<span style="color: #006600;">fontWeight</span> = <span style="color: #ff0000;">"bold"</span>;</li>
				<li style="color:#26536A;">heading.<span style="color: #0066CC;">color</span> = <span style="color: #ff0000;">"#FF0000"</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;"><span style="color: #000000; font-weight: bold;">var</span> body:<span style="color: #0066CC;">Object</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">body.<span style="color: #006600;">fontStyle</span> = <span style="color: #ff0000;">"italic"</span>;</li>
				<li style="color:#26536A;">body.<span style="color: #006600;">textAlign</span> = <span style="color: #ff0000;">"center"</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;">style.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">".heading"</span>, heading<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">style.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"body"</span>, body<span style="color: #66cc66;">&#41;</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;"><span style="color: #808080; font-style: italic;">// インフォウィンドウ　オープン</span></li>
				<li style="color:#26536A;">map.<span style="color: #006600;">openInfoWindow</span><span style="color: #66cc66;">&#40;</span>latlng, <span style="color: #000000; font-weight: bold;">new</span> InfoWindowOptions<span style="color: #66cc66;">&#40;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #0066CC;">width</span>:<span style="color: #0066CC;">width</span>+<span style="color: #cc66cc;color:#800000;">20</span>, <span style="color: #0066CC;">height</span>:<span style="color: #0066CC;">height</span>+<span style="color: #cc66cc;color:#800000;">35</span>,hasCloseButton: <span style="color: #000000; font-weight: bold;">true</span>, contentHTML:<span style="color: #ff0000;">"&lt;span class="</span>heading<span style="color: #ff0000;">"&gt;"</span>+title+<span style="color: #ff0000;">"&lt;/span&gt;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #ff0000;">&lt;img src="</span>&amp;quot;+imageUrl+&amp;quot;<span style="color: #ff0000;">" alt="</span><span style="color: #ff0000;">" /&gt;"</span>, contentStyleSheet:style, hasTail:<span style="color: #000000; font-weight: bold;">false</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>FlickerConnector.as Flickr管理用</p>
				<div class="igBar"><span id="lactionscript-7"><a href="#" onclick="javascript:showPlainTxt('actionscript-7'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-7">
				<div class="actionscript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">package</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">adobe</span>.<span style="color: #006600;">webapis</span>.<span style="color: #006600;">flickr</span>.<span style="color: #006600;">events</span>.<span style="color: #006600;">FlickrResultEvent</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">adobe</span>.<span style="color: #006600;">webapis</span>.<span style="color: #006600;">flickr</span>.<span style="color: #006600;">FlickrService</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">adobe</span>.<span style="color: #006600;">webapis</span>.<span style="color: #006600;">flickr</span>.<span style="color: #006600;">methodgroups</span>.<span style="color: #006600;">Photos</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">adobe</span>.<span style="color: #006600;">webapis</span>.<span style="color: #006600;">flickr</span>.<span style="color: #006600;">methodgroups</span>.<span style="color: #006600;">PhotoSets</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">adobe</span>.<span style="color: #006600;">webapis</span>.<span style="color: #006600;">flickr</span>.<span style="color: #006600;">Photo</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Loader</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">LoaderInfo</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">IOErrorEvent</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">URLLoader</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">URLRequest</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> flash.<span style="color: #0066CC;">text</span>.<span style="color: #0066CC;">TextField</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;"><span style="color: #808080; font-style: italic;">/**</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">* ...</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">* @author okm</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">*/</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> FlickerConnector</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> fls:FlickrService;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> photos:Photos;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> photoSets:PhotoSets;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> photoIndex:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">0</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;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _imageList:<span style="color: #0066CC;">Array</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _thumnailList:<span style="color: #0066CC;">Object</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;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> imageLoader:Loader; <span style="color: #808080; font-style: italic;">// 画像ローダ</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;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> onGetPhotos:<span style="color: #000000; font-weight: bold;">Function</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> onGetInfo:<span style="color: #000000; font-weight: bold;">Function</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> onFail:<span style="color: #000000; font-weight: bold;">Function</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;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> FlickerConnector<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span></li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>._imageList = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Array</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;">fls = <span style="color: #000000; font-weight: bold;">new</span> FlickrService<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Flickr API キー"</span><span style="color: #66cc66;">&#41;</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;">photoSets = <span style="color: #000000; font-weight: bold;">new</span> PhotoSets<span style="color: #66cc66;">&#40;</span>fls<span style="color: #66cc66;">&#41;</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;">fls.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>FlickrResultEvent.<span style="color: #006600;">PHOTOSETS_GET_PHOTOS</span>, GetPhptosComplete<span style="color: #66cc66;">&#41;</span></li>
				<li style="color:#26536A;">fls.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>FlickrResultEvent.<span style="color: #006600;">PHOTOSETS_GET_INFO</span>, GetInfoComplete<span style="color: #66cc66;">&#41;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getPhotos<span style="color: #66cc66;">&#40;</span>setid:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">photoSets.<span style="color: #006600;">getPhotosExtras</span><span style="color: #66cc66;">&#40;</span>setid<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getInfo<span style="color: #66cc66;">&#40;</span>setid:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">photoSets.<span style="color: #006600;">getInfo</span><span style="color: #66cc66;">&#40;</span>setid<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">// 写真情報取得完了</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> GetPhptosComplete<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:FlickrResultEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>!<span style="color: #0066CC;">e</span>.<span style="color: #006600;">success</span> &amp;amp;&amp;amp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">onFail</span> != <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> onFail<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">//photoSetの写真のタイトルとURLを配列に格納</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:uint; i &amp;lt;e.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">photoSet</span>.<span style="color: #006600;">photos</span>.<span style="color: #0066CC;">length</span> ; i++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #000000; font-weight: bold;">var</span> flickrImage:FlickrImage = <span style="color: #000000; font-weight: bold;">new</span> FlickrImage<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">photoSet</span>.<span style="color: #006600;">photos</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>._imageList.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>flickrImage<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">onGetPhotos</span> != <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0066CC;">this</span>.<span style="color: #006600;">onGetPhotos</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>._imageList<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">//getNextPhoto();</span></li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">/* 次への布石</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">private function getNextPhoto():void {</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">if (this.photoIndex&amp;gt;= this._imageList.length) {</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">// ロード完了</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">if (this.onGetPhotos != null) this.onGetPhotos(this._imageList);</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">return;</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">}</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">var image:FlickrImage = this._imageList[photoIndex];</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">imageLoader = new Loader();</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">var imageURLreq:URLRequest = new URLRequest(image.url_t);</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">var imgInfo:LoaderInfo = imageLoader.contentLoaderInfo;</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">imgInfo.addEventListener(Event.INIT, onImageInit);</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">imgInfo.addEventListener(IOErrorEvent.IO_ERROR, onImageIOError);</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">imageLoader.load(imageURLreq);</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">}</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">*/</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;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onImageInit<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #000000; font-weight: bold;">var</span> image:FlickrImage = <span style="color: #0066CC;">this</span>._imageList<span style="color: #66cc66;">&#91;</span>photoIndex<span style="color: #66cc66;">&#93;</span>;</li>
				<li style="color:#26536A;">image.<span style="color: #006600;">image</span> = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">imageLoader</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">photoIndex</span>++;</li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">//getNextPhoto();</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onImageIOError<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">onFail</span> != <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> onFail<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</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;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> GetInfoComplete<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:FlickrResultEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>!<span style="color: #0066CC;">e</span>.<span style="color: #006600;">success</span> &amp;amp;&amp;amp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">onFail</span> != <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> onFail<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">onGetInfo</span> != <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> <span style="color: #0066CC;">this</span>.<span style="color: #006600;">onGetInfo</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">PhotoSet</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>FlickrImage.as　画像情報オブジェクト</p>
				<div class="igBar"><span id="lactionscript-8"><a href="#" onclick="javascript:showPlainTxt('actionscript-8'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-8">
				<div class="actionscript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">package</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">adobe</span>.<span style="color: #006600;">webapis</span>.<span style="color: #006600;">flickr</span>.<span style="color: #006600;">Photo</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">DisplayObject</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;"><span style="color: #808080; font-style: italic;">/**</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">* ...</span></li>
				<li style="color:#26536A;"><span style="color: #808080; font-style: italic;">* @author okm</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #808080; font-style: italic;">*/</span></li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> FlickrImage</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> id:<span style="color: #0066CC;">String</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> title:<span style="color: #0066CC;">String</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> latitude:<span style="color: #0066CC;">String</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> longitude:<span style="color: #0066CC;">String</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> url_m:<span style="color: #0066CC;">String</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> url_t:<span style="color: #0066CC;">String</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> width_t:<span style="color: #0066CC;">Number</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> height_t:<span style="color: #0066CC;">Number</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> width_m:<span style="color: #0066CC;">Number</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> height_m:<span style="color: #0066CC;">Number</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> image:DisplayObject;</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;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> FlickrImage<span style="color: #66cc66;">&#40;</span>photo:Photo<span style="color: #66cc66;">&#41;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">id</span> = photo.<span style="color: #006600;">id</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">title</span> = photo.<span style="color: #006600;">title</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">longitude</span> = photo.<span style="color: #006600;">longitude</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">latitude</span> = photo.<span style="color: #006600;">latitude</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">longitude</span> = photo.<span style="color: #006600;">longitude</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">url_m</span> = photo.<span style="color: #006600;">url_m</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">url_t</span> = photo.<span style="color: #006600;">url_t</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">width_m</span> = photo.<span style="color: #006600;">width_m</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">height_m</span> = photo.<span style="color: #006600;">height_m</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">width_t</span> = photo.<span style="color: #006600;">width_t</span>;</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">this</span>.<span style="color: #006600;">height_t</span> = photo.<span style="color: #006600;">height_t</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/1070/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress 2.8.1 にしたら ShadowBoxが動かない・・・と思ったら</title>
		<link>http://parpue.net/wordpress/1020</link>
		<comments>http://parpue.net/wordpress/1020#comments</comments>
		<pubDate>Mon, 13 Jul 2009 17:07:12 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=1020</guid>
		<description><![CDATA[				同様に困ってる人発見。
				http://wordpress.org/support/topic/284028
				
				ShadowBox最新版にして、一度プラグインを無効にして、
				再度有効 [...]]]></description>
			<content:encoded><![CDATA[				<p>同様に困ってる人発見。<br />
				<a href="http://wordpress.org/support/topic/284028" target="_blank">http://wordpress.org/support/topic/284028<br />
				</a></p>
				<p>ShadowBox最新版にして、一度プラグインを無効にして、<br />
				再度有効にしたら動きました。</p>
				<p>困ってる人、お試しください。</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/wordpress/1020/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flashで緯度経度情報つきの画像情報をFlickrから受け取る。</title>
		<link>http://parpue.net/web/996</link>
		<comments>http://parpue.net/web/996#comments</comments>
		<pubDate>Sun, 12 Jul 2009 17:42:36 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[音楽]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[as3flickrlib]]></category>
		<category><![CDATA[flickr]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=996</guid>
		<description><![CDATA[				ちょっと前にも書いた気がするが、
				最近は画像に、撮影した場所の緯度経度情報が埋め込める。
				そんでもって、緯度経度の情報付きの画像を、
				Flickrに保存しておくことができる。
				とい [...]]]></description>
			<content:encoded><![CDATA[				<p>ちょっと前にも書いた気がするが、<br />
				最近は画像に、撮影した場所の緯度経度情報が埋め込める。<br />
				そんでもって、緯度経度の情報付きの画像を、<br />
				<a href="http://www.flickr.com/photos/parpue" target="_blank">Flickr</a>に保存しておくことができる。</p>
				<p>というわけで、Flickrに位置情報付きの画像を置いておいて、<br />
				Flash＋GoogleMaps上に展開とかしたいなーと思って調べてみたところ、<br />
				FlsahからFlickrに接続するための<a href="http://code.google.com/p/as3flickrlib/" target="_blank">as3flickrlib</a>というのを発見。<br />
				しかしこのライブラリが長いこと更新されていない・・・。</p>
				<p>というわけで、作りたいものの下調べがてら、<br />
				このライブラリで位置情報である、<br />
				ジオタグ付きの情報を取得できるようにするやり方を調べた。</p>
				<p><span id="more-996"></span></p>
				<p><del datetime="2009-07-13T03:20:47+00:00">Photos.as, PhotoSets.asの２つのファイル</del><br />
				（訂正）Photos.as, PhotoSets.as, MethodGroupHelper.asの３つのファイルを、<br />
				以下な感じで修正すれば、ジオタグを取得できる。</p>
				<p>■ Photos.as</p>
				<div class="igBar"><span id="lactionscript-15"><a href="#" onclick="javascript:showPlainTxt('actionscript-15'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-15">
				<div class="actionscript">
				<ol start="70" 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: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _notes:<span style="color: #0066CC;">Array</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _tags:<span style="color: #0066CC;">Array</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _urls:<span style="color: #0066CC;">Array</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// okm add </span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _latitude:<span style="color: #0066CC;">String</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _longitude:<span style="color: #0066CC;">String</span>; </li>
				</ol>
				</div>
				</div>
				</div>
				<div class="igBar"><span id="lactionscript-16"><a href="#" onclick="javascript:showPlainTxt('actionscript-16'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-16">
				<div class="actionscript">
				<ol start="543" 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: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">get</span> latitude<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">String</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> _latitude;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">set</span> latitude<span style="color: #66cc66;">&#40;</span>value:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _latitude = value;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">get</span> longitude<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">String</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> _longitude;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">set</span> longitude<span style="color: #66cc66;">&#40;</span>value:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _longitude = value;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>■PhotoSets.as</p>
				<div class="igBar"><span id="lactionscript-17"><a href="#" onclick="javascript:showPlainTxt('actionscript-17'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-17">
				<div class="actionscript">
				<ol start="609" 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: #808080; font-style: italic;">//　okm add</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getPhotosExtras<span style="color: #66cc66;">&#40;</span> photoset_id:<span style="color: #0066CC;">String</span> <span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MethodGroupHelper.<span style="color: #006600;">invokeMethod</span><span style="color: #66cc66;">&#40;</span> _service, getPhotos_result, </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; <span style="color: #ff0000;">"flickr.photosets.getPhotos"</span>, </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">false</span>,</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">new</span> NameValuePair<span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"photoset_id"</span>, photoset_id <span style="color: #66cc66;">&#41;</span>,</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">new</span> NameValuePair<span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"extras"</span>, <span style="color: #ff0000;">"geo"</span> <span style="color: #66cc66;">&#41;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; <span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>
				extras にとりたい情報を適当に追加すれば、返してくれる情報も増える。</p>
				<p>■MethodGroupHelper.as</p>
				<div class="igBar"><span id="lactionscript-18"><a href="#" onclick="javascript:showPlainTxt('actionscript-18'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-18">
				<div class="actionscript">
				<ol start="84" 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: #b1b100;">for</span> each <span style="color: #66cc66;">&#40;</span> <span style="color: #000000; font-weight: bold;">var</span> p:<span style="color: #0066CC;">XML</span> <span style="color: #b1b100;">in</span> <span style="color: #0066CC;">xml</span>.<span style="color: #006600;">photoset</span>.<span style="color: #006600;">photo</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> photo:Photo = <span style="color: #000000; font-weight: bold;">new</span> Photo<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; photo.<span style="color: #006600;">id</span> = p.@id.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; photo.<span style="color: #006600;">secret</span> = p.@secret.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; photo.<span style="color: #006600;">title</span> = p.@title.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; photo.<span style="color: #006600;">server</span> = <span style="color: #0066CC;">parseInt</span><span style="color: #66cc66;">&#40;</span> p.@server <span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// okm add</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; photo.<span style="color: #006600;">latitude</span> = p.@latitude.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; photo.<span style="color: #006600;">longitude</span> = p.@longitude.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; photoSet.<span style="color: #006600;">photos</span>.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span> photo <span style="color: #66cc66;">&#41;</span>;&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: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>あとは、↓な感じで情報を取得すればOK.</p>
				<div class="igBar"><span id="lactionscript-19"><a href="#" onclick="javascript:showPlainTxt('actionscript-19'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-19">
				<div class="actionscript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">fls = <span style="color: #000000; font-weight: bold;">new</span> FlickrService<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"APIキー"</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">photoSets = <span style="color: #000000; font-weight: bold;">new</span> PhotoSets<span style="color: #66cc66;">&#40;</span>fls<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">fls.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>FlickrResultEvent.<span style="color: #006600;">PHOTOSETS_GET_PHOTOS</span>, GetPhptosComplete<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">photoSets.<span style="color: #006600;">getPhotosExtras</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"SetsのID"</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">〜〜〜〜</li>
				<li style="color:#26536A;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> GetPhptosComplete<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:FlickrResultEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//photoSetの写真のタイトルとURLを配列に格納</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:uint; i &lt;e.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">photoSet</span>.<span style="color: #006600;">photos</span>.<span style="color: #0066CC;">length</span> ;i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">photoSet</span>.<span style="color: #006600;">photos</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">title</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">photoSet</span>.<span style="color: #006600;">photos</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">id</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">photoSet</span>.<span style="color: #006600;">photos</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">latitude</span><span style="color: #66cc66;">&#41;</span>;&nbsp; &nbsp; &nbsp;<span style="color: #808080; font-style: italic;">// 緯度経度も取得可能</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">photoSet</span>.<span style="color: #006600;">photos</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">longitude</span><span style="color: #66cc66;">&#41;</span>;&nbsp; <span style="color: #808080; font-style: italic;">//</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: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;"><span style="color: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>こんな感じで返してくれます。</p>
				<div class="igBar"><span id="lxml-20"><a href="#" onclick="javascript:showPlainTxt('xml-20'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-20">
				<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;rsp</span> <span style="color: #000066;">stat</span>=<span style="color: #ff0000;">"ok"</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;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;photoset</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"72157620666800332"</span> <span style="color: #000066;">primary</span>=<span style="color: #ff0000;">"3666954753"</span> <span style="color: #000066;">owner</span>=<span style="color: #ff0000;">"25111802@N08"</span> <span style="color: #000066;">ownername</span>=<span style="color: #ff0000;">"----"</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">"1"</span> per_<span style="color: #000066;">page</span>=<span style="color: #ff0000;">"500"</span> <span style="color: #000066;">perpage</span>=<span style="color: #ff0000;">"500"</span> <span style="color: #000066;">pages</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">total</span>=<span style="color: #ff0000;">"24"</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;photo</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"3666954753"</span> <span style="color: #000066;">secret</span>=<span style="color: #ff0000;">"----"</span> <span style="color: #000066;">server</span>=<span style="color: #ff0000;">"3541"</span> <span style="color: #000066;">farm</span>=<span style="color: #ff0000;">"4"</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">"shimokita_0024"</span> <span style="color: #000066;">isprimary</span>=<span style="color: #ff0000;">"1"</span> <span style="color: #000066;">latitude</span>=<span style="color: #ff0000;">"35.665071"</span> <span style="color: #000066;">longitude</span>=<span style="color: #ff0000;">"139.66531"</span> <span style="color: #000066;">accuracy</span>=<span style="color: #ff0000;">"16"</span> place_<span style="color: #000066;">id</span>=<span style="color: #ff0000;">"dtJZJhabCZm.78Qz9A"</span> <span style="color: #000066;">woeid</span>=<span style="color: #ff0000;">"28528566"</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;photo</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"3667761046"</span> <span style="color: #000066;">secret</span>=<span style="color: #ff0000;">"----"</span> <span style="color: #000066;">server</span>=<span style="color: #ff0000;">"3338"</span> <span style="color: #000066;">farm</span>=<span style="color: #ff0000;">"4"</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">"shimokita_0023"</span> <span style="color: #000066;">isprimary</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">latitude</span>=<span style="color: #ff0000;">"35.665002"</span> <span style="color: #000066;">longitude</span>=<span style="color: #ff0000;">"139.665412"</span> <span style="color: #000066;">accuracy</span>=<span style="color: #ff0000;">"16"</span> place_<span style="color: #000066;">id</span>=<span style="color: #ff0000;">"dtJZJhabCZm.78Qz9A"</span> <span style="color: #000066;">woeid</span>=<span style="color: #ff0000;">"28528566"</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;photo</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"3666954587"</span> <span style="color: #000066;">secret</span>=<span style="color: #ff0000;">"----"</span> <span style="color: #000066;">server</span>=<span style="color: #ff0000;">"3323"</span> <span style="color: #000066;">farm</span>=<span style="color: #ff0000;">"4"</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">"shimokita_0022"</span> <span style="color: #000066;">isprimary</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">latitude</span>=<span style="color: #ff0000;">"35.663729"</span> <span style="color: #000066;">longitude</span>=<span style="color: #ff0000;">"139.666517"</span> <span style="color: #000066;">accuracy</span>=<span style="color: #ff0000;">"16"</span> place_<span style="color: #000066;">id</span>=<span style="color: #ff0000;">"INaV6gKbCZlVrYnlFA"</span> <span style="color: #000066;">woeid</span>=<span style="color: #ff0000;">"28528453"</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;photo</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"3667760848"</span> <span style="color: #000066;">secret</span>=<span style="color: #ff0000;">"----"</span> <span style="color: #000066;">server</span>=<span style="color: #ff0000;">"2563"</span> <span style="color: #000066;">farm</span>=<span style="color: #ff0000;">"3"</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">"shimokita_0020"</span> <span style="color: #000066;">isprimary</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">latitude</span>=<span style="color: #ff0000;">"35.663106"</span> <span style="color: #000066;">longitude</span>=<span style="color: #ff0000;">"139.667609"</span> <span style="color: #000066;">accuracy</span>=<span style="color: #ff0000;">"16"</span> place_<span style="color: #000066;">id</span>=<span style="color: #ff0000;">"INaV6gKbCZlVrYnlFA"</span> <span style="color: #000066;">woeid</span>=<span style="color: #ff0000;">"28528453"</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;photo</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"3667760770"</span> <span style="color: #000066;">secret</span>=<span style="color: #ff0000;">"----"</span> <span style="color: #000066;">server</span>=<span style="color: #ff0000;">"3300"</span> <span style="color: #000066;">farm</span>=<span style="color: #ff0000;">"4"</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">"shimokita_0021"</span> <span style="color: #000066;">isprimary</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">latitude</span>=<span style="color: #ff0000;">"35.662354"</span> <span style="color: #000066;">longitude</span>=<span style="color: #ff0000;">"139.666976"</span> <span style="color: #000066;">accuracy</span>=<span style="color: #ff0000;">"16"</span> place_<span style="color: #000066;">id</span>=<span style="color: #ff0000;">"INaV6gKbCZlVrYnlFA"</span> <span style="color: #000066;">woeid</span>=<span style="color: #ff0000;">"28528453"</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;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/photoset<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;/rsp<span style="font-weight: bold; color: black;">&gt;</span></span></span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p>次は、実際にFlashでGoogleMapsへの展開を挑戦予定！</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/996/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PaperVision3Dでタグクラウド</title>
		<link>http://parpue.net/web/667</link>
		<comments>http://parpue.net/web/667#comments</comments>
		<pubDate>Thu, 30 Apr 2009 19:12:32 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[PaperVision3D]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[Papervision3D]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=667</guid>
		<description><![CDATA[				
				最近、３Dのタグクラウドよくみるので、
				何となく作ってみた・・・けど、これ目立つけど見づらいような。。。
				↓
				
				
				あの雲まで飛べる！
				XMLでタグ情報を読み込んで、
				タグの内容から、Text3Dオブジェクトを生成して、
				PaperVision3Dのシーンに参加させています。
				あとはTweenerでくるくると。
				読み込んでいるタグクラウド用のXMLは こちら
				コード
				&#62;&#62;text
				ACTIONSCRIPT:
				
				
				
				package &#123;
				&#160; &#160; import caurina.transitions.Tweener;
				&#160; &#160; 
				&#160; &#160; import flash.display.*;
				&#160; &#160; import flash.events.*;
				&#160; &#160; import flash.net.URLLoader;
				&#160; &#160; import flash.net.URLRequest;
				&#160; &#160; import flash.text.TextField;
				&#160; &#160; 
				&#160; &#160; import org.papervision3d.cameras.*;
				&#160; &#160; import org.papervision3d.materials.*;
				&#160; &#160; import org.papervision3d.materials.special.Letter3DMaterial;
				&#160; &#160; import org.papervision3d.objects.*;
				&#160; &#160; import org.papervision3d.render.BasicRenderEngine;
				&#160; &#160; import org.papervision3d.scenes.*;
				&#160; &#160; import org.papervision3d.typography.fonts.HelveticaBold;
				&#160; &#160; import org.papervision3d.view.Viewport3D;
				&#160; &#160; &#91;SWF&#40;backgroundColor=0x000000&#41;&#93;
				&#160; &#160; 
				&#160; &#160; public  [...]]]></description>
			<content:encoded><![CDATA[				<p><img src="http://parpue.net/wp-content/uploads/2009/05/e38394e382afe38381e383a3-4.png" alt="e38394e382afe38381e383a3-4" title="e38394e382afe38381e383a3-4" width="423" height="245" class="alignnone size-full wp-image-668" /></p>
				<p>最近、３Dのタグクラウドよくみるので、<br />
				何となく作ってみた・・・けど、これ目立つけど見づらいような。。。</p>
				<p>↓<br />
				<span id="more-667"></span></p>
				<p><object width="500" height="463" data="http://parpue.net/wp-content/uploads/2009/05/pv3dcloud2.swf" type="application/x-shockwave-flash"><param name="id" value="pv3dcloud2" /><param name="quality" value="high" /><param name="allowScriptAccess" value="sameDomain" /><param name="src" value="http://parpue.net/wp-content/uploads/2009/05/pv3dcloud2.swf"/><param name="flashvars" value="xmlpath=http://parpue.net/wp-content/uploads/2009/05/test.xml"/><param name="width" value="500"/></object><br />
				あの雲まで飛べる！</p>
				<p>XMLでタグ情報を読み込んで、<br />
				タグの内容から、Text3Dオブジェクトを生成して、<br />
				PaperVision3Dのシーンに参加させています。</p>
				<p>あとはTweenerでくるくると。</p>
				<p>読み込んでいるタグクラウド用のXMLは <a href='http://parpue.net/wp-content/uploads/2009/05/test.xml' target="_blank">こちら</a></p>
				<p>コード</p>
				<div class="igBar"><span id="lactionscript-22"><a href="#" onclick="javascript:showPlainTxt('actionscript-22'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
				<div id="actionscript-22">
				<div class="actionscript">
				<ol style="margin:0px; padding:0px" >
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">package <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> caurina.<span style="color: #006600;">transitions</span>.<span style="color: #006600;">Tweener</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.*;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.*;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">URLLoader</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">URLRequest</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #0066CC;">text</span>.<span style="color: #0066CC;">TextField</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> org.<span style="color: #006600;">papervision3d</span>.<span style="color: #006600;">cameras</span>.*;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> org.<span style="color: #006600;">papervision3d</span>.<span style="color: #006600;">materials</span>.*;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> org.<span style="color: #006600;">papervision3d</span>.<span style="color: #006600;">materials</span>.<span style="color: #006600;">special</span>.<span style="color: #006600;">Letter3DMaterial</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> org.<span style="color: #006600;">papervision3d</span>.<span style="color: #006600;">objects</span>.*;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> org.<span style="color: #006600;">papervision3d</span>.<span style="color: #006600;">render</span>.<span style="color: #006600;">BasicRenderEngine</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> org.<span style="color: #006600;">papervision3d</span>.<span style="color: #006600;">scenes</span>.*;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> org.<span style="color: #006600;">papervision3d</span>.<span style="color: #006600;">typography</span>.<span style="color: #006600;">fonts</span>.<span style="color: #006600;">HelveticaBold</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> org.<span style="color: #006600;">papervision3d</span>.<span style="color: #006600;">view</span>.<span style="color: #006600;">Viewport3D</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #66cc66;">&#91;</span>SWF<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">backgroundColor</span>=0x000000<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Pv3DCloud <span style="color: #0066CC;">extends</span> Sprite</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> scene&nbsp; &nbsp; &nbsp;: Scene3D;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">camera</span>&nbsp; &nbsp; : Camera3D;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> rootNode&nbsp; : DisplayObject3D;</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;<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> viewport:Viewport3D;</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: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> renderer:BasicRenderEngine;</li>
				<li style="color:#26536A;">&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; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> loader:URLLoader;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">text</span>:<span style="color: #0066CC;">TextField</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> tags:<span style="color: #0066CC;">Array</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> bases:<span style="color: #0066CC;">Array</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> cameraPosition:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">3300</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> radius:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">1000</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> Pv3DCloud<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">stage</span>.<span style="color: #006600;">frameRate</span> = <span style="color: #cc66cc;color:#800000;">60</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">stage</span>.<span style="color: #0066CC;">quality</span>&nbsp; &nbsp;= <span style="color: #ff0000;">"MEDIUM"</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">stage</span>.<span style="color: #0066CC;">scaleMode</span> = <span style="color: #ff0000;">"noScale"</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">stage</span>.<span style="color: #0066CC;">align</span> = StageAlign.<span style="color: #006600;">TOP_LEFT</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; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">url</span>:URLRequest = <span style="color: #000000; font-weight: bold;">null</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> flashvars:<span style="color: #0066CC;">Object</span> = LoaderInfo<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">root</span>.<span style="color: #006600;">loaderInfo</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">parameters</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> xmlpath:<span style="color: #0066CC;">String</span> = <span style="color: #66cc66;">&#40;</span>flashvars<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">"xmlpath"</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span> ?&nbsp; <span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#40;</span>flashvars<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">"xmlpath"</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span> : <span style="color: #ff0000;">"test.xml"</span> ;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">url</span> = <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span>xmlpath<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loader = <span style="color: #000000; font-weight: bold;">new</span> URLLoader<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loader.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, onLoadHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loader.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>IOErrorEvent.<span style="color: #006600;">IO_ERROR</span>, onIOErrorHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loader.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SecurityErrorEvent.<span style="color: #006600;">SECURITY_ERROR</span>, onSecurityErrorHandler<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loader.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">url</span><span style="color: #66cc66;">&#41;</span>;&nbsp; &nbsp;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onSecurityErrorHandler<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"sec error"</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onLoadHandler<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"onload"</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">try</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> xmlData:<span style="color: #0066CC;">XML</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">XML</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">loader</span>.<span style="color: #0066CC;">data</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tags = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Array</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bases = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Array</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; &nbsp; &nbsp; &nbsp; viewport = <span style="color: #000000; font-weight: bold;">new</span> Viewport3D<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageWidth</span> , <span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageHeight</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; addChild<span style="color: #66cc66;">&#40;</span>viewport<span style="color: #66cc66;">&#41;</span>;<span style="color: #808080; font-style: italic;">//viewportを表示ツリーに追加</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; renderer = <span style="color: #000000; font-weight: bold;">new</span> BasicRenderEngine<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; scene = <span style="color: #000000; font-weight: bold;">new</span> Scene3D<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">camera</span> = <span style="color: #000000; font-weight: bold;">new</span> Camera3D<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//rootNode生成</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; rootNode = <span style="color: #000000; font-weight: bold;">new</span> DisplayObject3D<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;scene.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span> rootNode <span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> letterMaterial:Letter3DMaterial = <span style="color: #000000; font-weight: bold;">new</span> Letter3DMaterial;</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; letterMaterial.<span style="color: #006600;">fillColor</span> = 0xFFFFFF;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; letterMaterial.<span style="color: #006600;">oneSide</span> = <span style="color: #000000; font-weight: bold;">false</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; letterMaterial.<span style="color: #006600;">interactive</span> = <span style="color: #000000; font-weight: bold;">true</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">0</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> tagXml:XMLList = xmlData.<span style="color: #006600;">tags</span>.<span style="color: #006600;">tag</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> oneDegree:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">360</span> / tagXml.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span> each<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> tag <span style="color: #b1b100;">in</span> xmlData.<span style="color: #006600;">tags</span>.<span style="color: #006600;">tag</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> tag3D:Tag3D = <span style="color: #000000; font-weight: bold;">new</span> Tag3D<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#40;</span>tag<span style="color: #66cc66;">&#41;</span> , <span style="color: #000000; font-weight: bold;">new</span> HelveticaBold<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> , letterMaterial<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag3D.<span style="color: #006600;">degree</span> = oneDegree * i;</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: #808080; font-style: italic;">//tag3D.scale = 1 + Number(tag.@level) * 3 /10;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>tag.@<span style="color: #0066CC;">level</span> == <span style="color: #ff0000;">"1"</span><span style="color: #66cc66;">&#41;</span> tag3D.<span style="color: #006600;">scale</span> = <span style="color: #cc66cc;color:#800000;">3</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>tag.@<span style="color: #0066CC;">level</span> == <span style="color: #ff0000;">"2"</span><span style="color: #66cc66;">&#41;</span> tag3D.<span style="color: #006600;">scale</span> = <span style="color: #cc66cc;color:#800000;">1</span>.<span style="color: #cc66cc;color:#800000;">75</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag3D.<span style="color: #006600;">rotateSpeed</span> = <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">floor</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>*<span style="color: #cc66cc;color:#800000;">5</span><span style="color: #66cc66;">&#41;</span>+<span style="color: #cc66cc;color:#800000;">1</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; tag3D.<span style="color: #006600;">y</span> = <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">floor</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>*<span style="color: #66cc66;">&#40;</span>radius*<span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>-radius;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag3D.<span style="color: #006600;">z</span> = radius*<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">sin</span><span style="color: #66cc66;">&#40;</span>tag3D.<span style="color: #006600;">degree</span> * <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">PI</span> / <span style="color: #cc66cc;color:#800000;">180</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag3D.<span style="color: #006600;">x</span> = radius*<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">cos</span><span style="color: #66cc66;">&#40;</span>tag3D.<span style="color: #006600;">degree</span> * <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">PI</span> / <span style="color: #cc66cc;color:#800000;">180</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Tweener.<span style="color: #006600;">addTween</span><span style="color: #66cc66;">&#40;</span>tag3D, <span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">time</span>:tag3D.<span style="color: #006600;">rotateSpeed</span>, rotationX:<span style="color: #cc66cc;color:#800000;">360</span>, onComplete:onTweenHandler, onCompleteParams:<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rootNode.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>tag3D<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tags.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span>tag3D<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i++;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">stage</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">ENTER_FRAME</span>, loop<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">camera</span>.<span style="color: #006600;">z</span> = -<span style="color: #0066CC;">this</span>.<span style="color: #006600;">cameraPosition</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: #66cc66;">&#125;</span><span style="color: #0066CC;">catch</span><span style="color: #66cc66;">&#40;</span>err:<span style="color: #0066CC;">Error</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"error"</span> + err.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onIOErrorHandler<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"io error"</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onTweenHandler<span style="color: #66cc66;">&#40;</span>i<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> tag3D:Tag3D = tags<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag3D.<span style="color: #006600;">rotationX</span> = <span style="color: #cc66cc;color:#800000;">0</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; tag3D.<span style="color: #006600;">rotationY</span> = <span style="color: #cc66cc;color:#800000;">0</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> XorY = <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">floor</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>*<span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>XorY<span style="color: #66cc66;">&#41;</span> Tweener.<span style="color: #006600;">addTween</span><span style="color: #66cc66;">&#40;</span>tag3D, <span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">time</span>:tag3D.<span style="color: #006600;">rotateSpeed</span>, rotationX:<span style="color: #cc66cc;color:#800000;">360</span>, onComplete:onTweenHandler, onCompleteParams:<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> Tweener.<span style="color: #006600;">addTween</span><span style="color: #66cc66;">&#40;</span>tag3D, <span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">time</span>:tag3D.<span style="color: #006600;">rotateSpeed</span>, rotationY:<span style="color: #cc66cc;color:#800000;">360</span>, onComplete:onTweenHandler, onCompleteParams:<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; </li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> loop<span style="color: #66cc66;">&#40;</span> event:Event <span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span style="color: #b1b100;">for</span> each<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> tag3D:Tag3D <span style="color: #b1b100;">in</span> tags<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag3D.<span style="color: #006600;">degree</span> += <span style="color: #cc66cc;color:#800000;">3</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag3D.<span style="color: #006600;">z</span> = radius*<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">sin</span><span style="color: #66cc66;">&#40;</span>tag3D.<span style="color: #006600;">degree</span> * <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">PI</span> / <span style="color: #cc66cc;color:#800000;">180</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tag3D.<span style="color: #006600;">x</span> = radius*<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">cos</span><span style="color: #66cc66;">&#40;</span>tag3D.<span style="color: #006600;">degree</span> * <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">PI</span> / <span style="color: #cc66cc;color:#800000;">180</span><span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;renderer.<span style="color: #006600;">renderScene</span><span style="color: #66cc66;">&#40;</span>scene, <span style="color: #0066CC;">camera</span>, viewport<span style="color: #66cc66;">&#41;</span>;</li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="color:#26536A;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></li>
				<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><span style="color: #66cc66;">&#125;</span> </li>
				</ol>
				</div>
				</div>
				</div>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/667/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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-25"><a href="#" onclick="javascript:showPlainTxt('xml-25'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-25">
				<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-26"><a href="#" onclick="javascript:showPlainTxt('xml-26'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-26">
				<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-28"><a href="#" onclick="javascript:showPlainTxt('xml-28'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">XML:</span>
				<div id="xml-28">
				<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>PaperVision3Dで３Dダンボー</title>
		<link>http://parpue.net/web/601</link>
		<comments>http://parpue.net/web/601#comments</comments>
		<pubDate>Sat, 11 Apr 2009 04:16:43 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[PaperVision3D]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[デザイン]]></category>
		<category><![CDATA[Papervision3D]]></category>
		<category><![CDATA[ダンボー]]></category>

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

		<guid isPermaLink="false">http://parpue.net/?p=566</guid>
		<description><![CDATA[あーもっとなんか楽な方法ある気がしてならない。]]></description>
			<content:encoded><![CDATA[				<p><img src="http://parpue.net/wp-content/uploads/2009/04/rmt_pict.png" alt="rmt_pict" title="rmt_pict" width="307" height="186" class="alignnone size-full wp-image-585" /></p>
				<p>今まで<a href="http://www.google.co.jp/search?q=firefox+%E3%82%B5%E3%82%A4%E3%83%89%E3%83%90%E3%83%BC+Remeber+the+milk" target="_blank">Remember the milkをFirefoxのサイドバー</a>に表示していたんだけど、<br />
				サイドバーには、お気に入り表示したり、履歴表示したり、<br />
				つい見ないでいたら忘れてしまうタスクも多かったり。。。</p>
				<p>とりあえず、デスクトップにウィンドウで常駐したくなったので、<br />
				いろいろ方法を考えてみた。</p>
				<p><span id="more-566"></span></p>
				<p><strong><br />
				その１．　ダッシュボードに表示</strong></p>
				<p>ダッシュボードに表示するRTMのウィジェットあったんだけど、<br />
				個人的には、FireFoxのサイドバーに入れていたiGoogle用画面の方が使いやすい。</p>
				<p>↓そこでみたいなHTMLファイルを作成して、ローカルに保存し、</p>
				<div class="igBar"><span id="lhtml-29"><a href="#" onclick="javascript:showPlainTxt('html-29'); return false;">&gt;&gt;text</a></span></div>
				<div class="syntax_hilite"><span class="langName">HTML:</span>
				<div id="html-29">
				<div class="html">
				<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;"><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">&lt;html&gt;</span></a></span></li>
				<li style="color:#26536A;"><span style="color: #009900;"><a href="http://december.com/html/4/element/object.html"><span style="color: #000000; font-weight: bold;">&lt;object</span></a> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"text/html"</span> <span style="color: #000066;">data</span>=<span style="color: #ff0000;">"http://www.rememberthemilk.com/services/modules/googleig/"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"300"</span> <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"500"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></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="color: #000000; font-weight: bold;">&lt;/object&gt;</span></span></li>
				<li style="color:#26536A;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/html&gt;</span></span> </li>
				</ol>
				</div>
				</div>
				</div>
				<p><a href="http://parpue.net/wp-content/uploads/2009/04/pic1.png" rel="shadowbox[post-566];player=img;"><img src="http://parpue.net/wp-content/uploads/2009/04/pic1-257x300.png" alt="pic1" title="pic1" width="257" height="300" class="alignnone size-medium wp-image-568" /></a><br />
				safariでWEBクリップしてしまう。</p>
				<p><a href="http://parpue.net/wp-content/uploads/2009/04/pic2.png" rel="shadowbox[post-566];player=img;"><img src="http://parpue.net/wp-content/uploads/2009/04/pic2-230x300.png" alt="pic2" title="pic2" width="230" height="300" class="alignnone size-medium wp-image-569" /></a><br />
				ダッシュボードに表示できた。</p>
				<p>ウィジェットは、デスクトップにも表示できる。<br />
				でもデスクトップに表示すると常に最前面にいて今度はちょっとウザい。。。</p>
				<p>chromeみたいなアプリケーション化できないのかなぁ・・・と思ってググってみた。</p>
				<p><strong>その２.  Firefox のプラグイン　Prism for Firefox　を使う。</strong></p>
				<p>すごいいいのがあった。。。→　<a href="https://addons.mozilla.org/ja/firefox/addon/6665" target="_blank">Prisom for Firefox</a></p>
				<p>chromeのようにWEBアプリを単体ウィンドウで起動できる。</p>
				<p><a href="http://parpue.net/wp-content/uploads/2009/04/pic3.png" rel="shadowbox[post-566];player=img;"><img src="http://parpue.net/wp-content/uploads/2009/04/pic3-300x261.png" alt="pic3" title="pic3" width="300" height="261" class="alignnone size-medium wp-image-572" /></a><br />
				<b>この期限切れの山をどうにかしろと・・・。</b></p>
				<p>Dockにも登録でき、RTM専用アプリのように動作する。<br />
				これで、すっごい満足しました。</p>
				<p>あーもっとなんか楽な方法ある気がしてならない。</p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/566/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PaperVision3Dで引き続き遊んでみる</title>
		<link>http://parpue.net/web/552</link>
		<comments>http://parpue.net/web/552#comments</comments>
		<pubDate>Tue, 07 Apr 2009 17:59:09 +0000</pubDate>
		<dc:creator>okm</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[デザイン]]></category>
		<category><![CDATA[actionscript3]]></category>
		<category><![CDATA[Papervision3D]]></category>

		<guid isPermaLink="false">http://parpue.net/?p=552</guid>
		<description><![CDATA[				謎のエコ生物。
				
				*追記　FlashPlayer9だとなんかおかしい。
				続き、重いかも
				↓
				
				
				
				習作でした。
				おもしろかったけど・・いった [...]]]></description>
			<content:encoded><![CDATA[				<p>謎のエコ生物。<br />
				<a href="http://parpue.net/wp-content/uploads/2009/04/pic4.png" rel="shadowbox[post-552];player=img;"><img src="http://parpue.net/wp-content/uploads/2009/04/pic4.png" alt="pic4" title="pic4" width="441" height="201" class="alignnone size-full wp-image-553" /></a><br />
				*追記　FlashPlayer9だとなんかおかしい。</p>
				<p>続き、重いかも<br />
				↓<br />
				<span id="more-552"></span></p>
				<div style="background-color:#000000;width:500px;height:500px;margin-left:50px;border:solid 1px">
				<object width="500" height="500" bgcolor="#000000" data="http://parpue.net/wp-content/uploads/2009/04/ecoemon.swf" type="application/x-shockwave-flash"><param name="id" value="ecoemon" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="sameDomain" /><param name="src" value="http://parpue.net/wp-content/uploads/2009/04/ecoemon.swf"/></object></div>
				<p>習作でした。<br />
				おもしろかったけど・・いったい何をやっていたんだ・・・。寝よう。</p>
				<p>　地球のテクスチャデータ<br />
				　→　<a href="http://www.oera.net/How2/TextureMaps2.htm" target="_blank">http://www.oera.net/How2/TextureMaps2.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://parpue.net/web/552/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
