<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.jp/~d/styles/rss2japanesefull.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.jp/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>SOOHEI.NET_BLOG</title>
	
	<link>http://soohei.net/blog</link>
	<description>SOHEI KITADA DIARY</description>
	<pubDate>Sun, 09 Nov 2008 17:19:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>ja</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.jp/sooheinetblog" type="application/rss+xml" /><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.jp/sooheinetblog" src="http://www.bloglines.com/images/sub_modern11.gif">Bloglines???</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.jp%2Fsooheinetblog" src="http://buttons.googlesyndication.com/fusion/add.gif">Google???</feedburner:feedFlare><feedburner:feedFlare href="http://r.hatena.ne.jp/append/http://feeds.feedburner.jp/sooheinetblog" src="http://r.hatena.ne.jp/images/addto_w.gif">???RSS???</feedburner:feedFlare><feedburner:feedFlare href="http://reader.livedoor.com/subscribe/http://feeds.feedburner.jp/sooheinetblog" src="http://image.reader.livedoor.com/img/banner/91_17_1.gif">Livedoor???????</feedburner:feedFlare><item>
		<title>iPhone</title>
		<link>http://feeds.feedburner.jp/~r/sooheinetblog/~3/3756490/23204334.html</link>
		<comments>http://soohei.net/blog/archives/2008/08/23204334.html#comments</comments>
		<pubDate>Sat, 23 Aug 2008 11:43:34 +0000</pubDate>
		<dc:creator>soohei</dc:creator>
		
		<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=176</guid>
		<description>iPhone。
番号はそのままなのですが、メアドが変わりました。
連絡できないよーって人はどうにか連絡ください。
もともとゲームっ子じゃないんだけど、
オセロのコンピューターが異常に強くて連勝できないって会社で言ったら
楽勝だって言われて、ちょっと真剣に戦略練ったら楽勝になった。
Tuner
Simplify
Remote
Morocco
が良いです。
開発の方はObjective-Cが最初思った以上に難しかったんだけれど
メニューのリストがあって選んだらまたリストが出てくる。くらいまでは体験できた。</description>
			<content:encoded><![CDATA[<p><img src="http://soohei.net/blog/wp-content/uploads/2008/08/p1010084.jpg" alt="" title="p1010084" width="500" height="281" class="alignnone size-full wp-image-177" /></p>
<p>iPhone。<br />
番号はそのままなのですが、メアドが変わりました。<br />
連絡できないよーって人はどうにか連絡ください。</p>
<p>もともとゲームっ子じゃないんだけど、<br />
オセロのコンピューターが異常に強くて連勝できないって会社で言ったら<br />
楽勝だって言われて、ちょっと真剣に戦略練ったら楽勝になった。</p>
<p>Tuner<br />
Simplify<br />
Remote<br />
Morocco<br />
が良いです。</p>
<p>開発の方はObjective-Cが最初思った以上に難しかったんだけれど<br />
メニューのリストがあって選んだらまたリストが出てくる。くらいまでは体験できた。</p>
<div class="feedflare">
<a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=aTLPsAwK"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=aTLPsAwK" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=YpqyZjzK"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=YpqyZjzK" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=maHhNRFk"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=maHhNRFk" border="0"></img></a>
</div><img src="http://feeds.feedburner.jp/~r/sooheinetblog/~4/3756490"/>]]></content:encoded>
			<wfw:commentRss>http://soohei.net/blog/archives/2008/08/23204334.html/feed</wfw:commentRss>
		<feedburner:origLink>http://soohei.net/blog/archives/2008/08/23204334.html</feedburner:origLink></item>
		<item>
		<title>FUJI ROCK FESTIVAL 08</title>
		<link>http://feeds.feedburner.jp/~r/sooheinetblog/~3/3756430/23202555.html</link>
		<comments>http://soohei.net/blog/archives/2008/08/23202555.html#comments</comments>
		<pubDate>Sat, 23 Aug 2008 11:25:55 +0000</pubDate>
		<dc:creator>soohei</dc:creator>
		
		<category><![CDATA[Diary]]></category>

		<category><![CDATA[新規タグの追加]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=169</guid>
		<description>もう一月前の話だけれど、今年もフジロックに行ってきました。
見たいバンドが金曜だ。見たいバンドがキャンセルした。見たいバンドが今年も来なかった。
など色々あったんだけど、1年に1回フジロックに行くと1年間頑張れる。
Foalsが予想以上にかっこ良くて、
最後はThe Musicで跳ねてた。</description>
			<content:encoded><![CDATA[<p><img src="http://soohei.net/blog/wp-content/uploads/2008/08/p1010046.jpg" alt="" title="p1010046" width="500" height="281" class="alignnone size-full wp-image-171" /></p>
<p><img src="http://soohei.net/blog/wp-content/uploads/2008/08/p1010058.jpg" alt="" title="p1010058" width="500" height="281" class="alignnone size-full wp-image-172" /></p>
<p>もう一月前の話だけれど、今年もフジロックに行ってきました。<br />
見たいバンドが金曜だ。見たいバンドがキャンセルした。見たいバンドが今年も来なかった。<br />
など色々あったんだけど、1年に1回フジロックに行くと1年間頑張れる。</p>
<p><a href="http://www.myspace.com/foals" target="_blank">Foals</a>が予想以上にかっこ良くて、<br />
最後は<a href="http://www.myspace.com/themusic" target="_blank">The Music</a>で跳ねてた。</p>
<div class="feedflare">
<a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=cgD4ukAK"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=cgD4ukAK" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=MX0ZQ8pK"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=MX0ZQ8pK" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=FlHn7HSk"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=FlHn7HSk" border="0"></img></a>
</div><img src="http://feeds.feedburner.jp/~r/sooheinetblog/~4/3756430"/>]]></content:encoded>
			<wfw:commentRss>http://soohei.net/blog/archives/2008/08/23202555.html/feed</wfw:commentRss>
		<feedburner:origLink>http://soohei.net/blog/archives/2008/08/23202555.html</feedburner:origLink></item>
		<item>
		<title>台風前線 | 台風画報（ブログパーツ）</title>
		<link>http://feeds.feedburner.jp/~r/sooheinetblog/~3/3505486/02215714.html</link>
		<comments>http://soohei.net/blog/archives/2008/08/02215714.html#comments</comments>
		<pubDate>Sat, 02 Aug 2008 12:57:14 +0000</pubDate>
		<dc:creator>soohei</dc:creator>
		
		<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=167</guid>
		<description>showTyphoonParts(2,1)
今年の台風シーズンに合わせて台風前線がアップデートしました。
ブログパーツが誕生したようです。
台風画報
去年一緒につくっていた碓井さんが、
1年も前に自分が書いたAS2のコードを、アップデートしてくれたみたいで、
本当にありがとうございます。</description>
			<content:encoded><![CDATA[<p><script src="http://front.eye.tc/typhoon-gahou/parts/typhoon_parts.js" type="text/javascript"></script><script type="text/javascript">showTyphoonParts(2,1)</script></p>
<p>今年の台風シーズンに合わせて台風前線がアップデートしました。<br />
ブログパーツが誕生したようです。</p>
<p><a href="http://front.eye.tc/typhoon-gahou/index.html" target="_blank">台風画報</a></p>
<p>去年一緒につくっていた碓井さんが、<br />
1年も前に自分が書いたAS2のコードを、アップデートしてくれたみたいで、<br />
本当にありがとうございます。</p>
<div class="feedflare">
<a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=SbpD8MPK"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=SbpD8MPK" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=jMNp9P8K"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=jMNp9P8K" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=JuqqPAKk"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=JuqqPAKk" border="0"></img></a>
</div><img src="http://feeds.feedburner.jp/~r/sooheinetblog/~4/3505486"/>]]></content:encoded>
			<wfw:commentRss>http://soohei.net/blog/archives/2008/08/02215714.html/feed</wfw:commentRss>
		<feedburner:origLink>http://soohei.net/blog/archives/2008/08/02215714.html</feedburner:origLink></item>
		<item>
		<title>Flex Builder ショートカットキー覚書</title>
		<link>http://feeds.feedburner.jp/~r/sooheinetblog/~3/3505330/02214421.html</link>
		<comments>http://soohei.net/blog/archives/2008/08/02214421.html#comments</comments>
		<pubDate>Sat, 02 Aug 2008 12:44:21 +0000</pubDate>
		<dc:creator>soohei</dc:creator>
		
		<category><![CDATA[Tips]]></category>

		<category><![CDATA[新規タグの追加]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=168</guid>
		<description>・Ctrl + alt + ↓　　行複製
FlashDevelopではCtrl + Dでお世話になっていた機能。
Flex使うようになって半年でようやく発見。
・Ctrl + alt + R　　変数名変更
非常に便利
・Ctrl + Shift + C　　コメントアウト
これも便利
また何かあったら書き足す</description>
			<content:encoded><![CDATA[<p>・Ctrl + alt + ↓　　行複製<br />
FlashDevelopではCtrl + Dでお世話になっていた機能。<br />
Flex使うようになって半年でようやく発見。</p>
<p>・Ctrl + alt + R　　変数名変更<br />
非常に便利</p>
<p>・Ctrl + Shift + C　　コメントアウト<br />
これも便利</p>
<p>また何かあったら書き足す</p>
<div class="feedflare">
<a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=O46ktrZK"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=O46ktrZK" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=gpsGTglK"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=gpsGTglK" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=s5TClTzk"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=s5TClTzk" border="0"></img></a>
</div><img src="http://feeds.feedburner.jp/~r/sooheinetblog/~4/3505330"/>]]></content:encoded>
			<wfw:commentRss>http://soohei.net/blog/archives/2008/08/02214421.html/feed</wfw:commentRss>
		<feedburner:origLink>http://soohei.net/blog/archives/2008/08/02214421.html</feedburner:origLink></item>
		<item>
		<title>openFrameworks #1</title>
		<link>http://feeds.feedburner.jp/~r/sooheinetblog/~3/2193004/12020406.html</link>
		<comments>http://soohei.net/blog/archives/2008/05/12020406.html#comments</comments>
		<pubDate>Sun, 11 May 2008 17:04:06 +0000</pubDate>
		<dc:creator>soohei</dc:creator>
		
		<category><![CDATA[openFrameworks]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=164</guid>
		<description>openFrameworksを触ってみました。
まずはセットアップのメモ (Win Xp)
openframeworksのサイトを参考に
- openframeworks: about
- openframeworks: installation visual studio (VC++ 2005, express edition)
VSS2005をインストール
- Visual Studio Express Edition の過去のバージョンのダウンロード
Windows SDK for Windows Server 2008 and .NET Framework 3.5をインストール
- Download details Windows SDK for Windows Server 2008 and .NET Framework version 3.5
DirectX Software Development Kitをインストール
- Download details DirectX SDK - (March 2008)
最初printfの書き方すら忘れていて、久々のC、初のC++に苦戦しながら、
前からずっと書きたかったグラデーションを書きました。
以下、勝手な感想
シリアル通信が簡単にできそうなので、インスタレーションものには使えるのかも。
Processingとかが対抗馬な印象だけれど、Cで動くから早そう。
OpenCVとかがaddOnとして使えるから画像処理系も色々できるかも。
-参考
Diamond-square algorithm - Wikipedia, the free [...]</description>
			<content:encoded><![CDATA[<p><img src="http://soohei.net/blog/wp-content/uploads/2008/05/multigra.jpg" alt="" title="multigra" width="408" height="427" class="alignnone size-full wp-image-165" /></p>
<p>openFrameworksを触ってみました。</p>
<p>まずはセットアップのメモ (Win Xp)</p>
<p>openframeworksのサイトを参考に<br />
- <a href="http://www.openframeworks.cc/about" target="_blank">openframeworks: about</a><br />
- <a href="http://www.openframeworks.cc/setup/visual_studio" target="_blank">openframeworks: installation visual studio (VC++ 2005, express edition)</a></p>
<p>VSS2005をインストール<br />
- <a href="http://www.microsoft.com/japan/msdn/vstudio/express/past/2005/" target="_blank">Visual Studio Express Edition の過去のバージョンのダウンロード</a></p>
<p>Windows SDK for Windows Server 2008 and .NET Framework 3.5をインストール<br />
- <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&#038;displaylang=en" >Download details Windows SDK for Windows Server 2008 and .NET Framework version 3.5</a></p>
<p>DirectX Software Development Kitをインストール<br />
- <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=572BE8A6-263A-4424-A7FE-69CFF1A5B180&#038;displaylang=en" target="_blank">Download details DirectX SDK - (March 2008)</a></p>
<p>最初printfの書き方すら忘れていて、久々のC、初のC++に苦戦しながら、<br />
前からずっと書きたかったグラデーションを書きました。</p>
<p>以下、勝手な感想<br />
シリアル通信が簡単にできそうなので、インスタレーションものには使えるのかも。<br />
Processingとかが対抗馬な印象だけれど、Cで動くから早そう。<br />
OpenCVとかがaddOnとして使えるから画像処理系も色々できるかも。</p>
<p>-参考<br />
<a href="http://en.wikipedia.org/wiki/Diamond-square_algorithm" target="_blank">Diamond-square algorithm - Wikipedia, the free encyclopedia</a><br />
<a href="http://ja.wikipedia.org/wiki/Printf" tareget="_blank">printf - Wikipedia</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=P4exdDmg"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=P4exdDmg" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=lvAT9PL7"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=lvAT9PL7" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=2btM4sSS"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=2btM4sSS" border="0"></img></a>
</div><img src="http://feeds.feedburner.jp/~r/sooheinetblog/~4/2193004"/>]]></content:encoded>
			<wfw:commentRss>http://soohei.net/blog/archives/2008/05/12020406.html/feed</wfw:commentRss>
		<feedburner:origLink>http://soohei.net/blog/archives/2008/05/12020406.html</feedburner:origLink></item>
		<item>
		<title>SyntaxHighlighter</title>
		<link>http://feeds.feedburner.jp/~r/sooheinetblog/~3/2136419/06144249.html</link>
		<comments>http://soohei.net/blog/archives/2008/05/06144249.html#comments</comments>
		<pubDate>Tue, 06 May 2008 05:42:49 +0000</pubDate>
		<dc:creator>soohei</dc:creator>
		
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=163</guid>
		<description>SyntaxHighlighterを導入。
&amp;#60;pre name=&amp;#34;code&amp;#34; class=&amp;#34;actionscript&amp;#34;&amp;#62;&amp;#60;/pre&amp;#62;
でコードに色を付けてくれる。
× WordPressのプラグインを使えば、
[sourcecode language='css'] … [/sourcecode] や
[css] … [/css] のような表記でもいけるらしいが、色々微妙で削除。
- WordPress › SyntaxHighlighter« WordPress Plugins
- WordPress › SyntaxHighlighter Plus « WordPress Plugins
× WorPress上に設定パネルができて、使う言語とかオプションを設定できる
プラグインもあったが、&amp;#60;pre&amp;#62;タグではなく、&amp;#60;textarea&amp;#62;タグで
挿入されるのがなんとなく気持ち悪いので削除。
- SyntaxHighlighter @ Open Sourced Brain.
○ 結局、Mark氏が公開しているAS3用のjsだけ追加した。
- AS3 Syntax Highlighting (with SyntaxHighlighter)
△ また、IE6 (Mac OSX 10.5 - Parellels - Win xp) で奇数の行番号が
なぜか全部1になってしまったのだが、対策を考えるのが面倒になって、
&amp;#60;pre name=&amp;#34;code&amp;#34; class=&amp;#34;actionscript:nogutter&amp;#34;&amp;#62;
と書いて、行番号を出さないことにした。
- Configuration - syntaxhighlighter - Google Code
&amp;#8212;-
やり方をまとめると、
1) syntaxhigHlighterをダウンロード
 - [...]</description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/syntaxhighlighter/" targe="_blank">SyntaxHighlighter</a>を導入。<br />
&lt;pre name=&quot;code&quot; class=&quot;actionscript&quot;&gt;&lt;/pre&gt;<br />
でコードに色を付けてくれる。</p>
<p>× WordPressのプラグインを使えば、<br />
[sourcecode language='css'] … [/sourcecode] や<br />
[css] … [/css] のような表記でもいけるらしいが、色々微妙で削除。<br />
- <a href="http://wordpress.org/extend/plugins/syntaxhighlighter/" target="_blank">WordPress › SyntaxHighlighter« WordPress Plugins</a><br />
- <a href="http://wordpress.org/extend/plugins/syntaxhighlighter-plus/" target="_blank">WordPress › SyntaxHighlighter Plus « WordPress Plugins</a></p>
<p>× WorPress上に設定パネルができて、使う言語とかオプションを設定できる<br />
プラグインもあったが、&lt;pre&gt;タグではなく、&lt;textarea&gt;タグで<br />
挿入されるのがなんとなく気持ち悪いので削除。<br />
- <a href="http://erik.range-it.de/wordpress/plugins/syntaxhighlighter/" target="_blank">SyntaxHighlighter @ Open Sourced Brain.</a></p>
<p>○ 結局、Mark氏が公開しているAS3用のjsだけ追加した。<br />
- <a href="http://www.digitalflipbook.com/archives/2007/09/as3_syntax_high.php" target="_blank">AS3 Syntax Highlighting (with SyntaxHighlighter)</a></p>
<p>△ また、IE6 (Mac OSX 10.5 - Parellels - Win xp) で奇数の行番号が<br />
なぜか全部1になってしまったのだが、対策を考えるのが面倒になって、<br />
&lt;pre name=&quot;code&quot; class=&quot;actionscript:nogutter&quot;&gt;<br />
と書いて、行番号を出さないことにした。<br />
- <a href="http://code.google.com/p/syntaxhighlighter/wiki/Configuration" target="_blank">Configuration - syntaxhighlighter - Google Code</a></p>
<p>&#8212;-<br />
やり方をまとめると、</p>
<p>1) syntaxhigHlighterをダウンロード<br />
 - <a href="http://code.google.com/p/syntaxhighlighter/" target="_blank">http://code.google.com/p/syntaxhighlighter/</a></p>
<p>2) Mark氏のサイトからAS3用拡張をダウンロード<br />
 - <a href="http://www.digitalflipbook.com/archives/2007/09/as3_syntax_high.php" target="_blank">http://www.digitalflipbook.com/archives/2007/09/as3_syntax_high.php</a></p>
<p>3) 1を解凍したフォルダ内、dp.SyntaxHighlighter/Scripts に<br />
shBrushAS3.js を追加</p>
<p>4) 3と同様に dp.SyntaxHighlighter/Styles/SyntaxHighlighter.css を<br />
2のStyles内のものと置き換え（見やすいので）</p>
<p>5) jsとcssの入ったフォルダをアップロード</p>
<p>6) js, cssへのパスを通す</p>
<pre>&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;/blog/styes/SyntaxHighlighter.css&quot;&gt;&lt;/link&gt;
&lt;script language=&quot;javascript&quot; src=&quot;/blog/scripts/shCore.js&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot; src=&quot;/blog/scripts/shBrushAS3.js&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot; src=&quot;/blog/scripts/shBrushXml.js&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot;&gt;
window.onload = function () {
dp.SyntaxHighlighter.ClipboardSwf = '/blog/scripts/clipboard.swf';
dp.SyntaxHighlighter.HighlightAll('code');
}
&lt;/script&gt;</pre>
<p>7) 以下のタグでコードを囲む。</p>
<pre>&lt;pre name=&quot;code&quot; class=&quot;actionscript&quot;&gt;
 ...
&lt;/pre&gt;</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=fDnADZol"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=fDnADZol" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=QsTNQaNP"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=QsTNQaNP" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=d13f5nkj"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=d13f5nkj" border="0"></img></a>
</div><img src="http://feeds.feedburner.jp/~r/sooheinetblog/~4/2136419"/>]]></content:encoded>
			<wfw:commentRss>http://soohei.net/blog/archives/2008/05/06144249.html/feed</wfw:commentRss>
		<feedburner:origLink>http://soohei.net/blog/archives/2008/05/06144249.html</feedburner:origLink></item>
		<item>
		<title>FLV周辺の再利用やノイズ対策</title>
		<link>http://feeds.feedburner.jp/~r/sooheinetblog/~3/2110566/03105044.html</link>
		<comments>http://soohei.net/blog/archives/2008/05/03105044.html#comments</comments>
		<pubDate>Sat, 03 May 2008 01:50:44 +0000</pubDate>
		<dc:creator>soohei</dc:creator>
		
		<category><![CDATA[ActionScript3]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=162</guid>
		<description>たくさんのFLVをいかに効率よく、美しく流すか。
みたいなメモです。
- 前提
Video、NetStreamやNetConnectionなどの処理を
まとめたVideoSpriteクラス、みたいなものを作る。
これらのインスタンスを毎回消去して、新しくnewすると
ブラウザに負荷がかかるので、消去せずに再利用する。
- 再利用と消去
以下に載せたクラスで、再利用前にやるのがsleepメソッド。
本当にいらなくなった時に消去するために呼ぶのがkillメソッド。
- ノイズ防止
FLVはキーフレーム間を差分で描画しているので、無茶な処理をすると
ピンクのノイズが出て、描画がボロボロになります。その対策。
1. 一度playを実行した_ns(NetStream)に再度playをかける時は、
必ずthis._ns.close();を呼んでから。
2. 再生中のものを頭出ししてすぐ再生したい時は
pause(); → seek(0); → NetStatusEventのNetStream.Seek.Notifyを受ける。
→ resume();
（単純に1のように、closeして再度playでもいい気がします）
&amp;#8211; 追記(08/05/20):
 再生中のものはすでにキャッシュ済みなのですぐ再生可能
 → 単純に1のように、closeして再度playした方が良いです。
&amp;#8212;-
まとめると、closeし忘れに注意ということです。
以下 as。

package{

	import flash.display.Sprite;
	import flash.events.NetStatusEvent;
	import flash.media.Video;
	import flash.net.NetConnection;
	import flash.net.NetStream;

	public class VideoSprite extends Sprite

		private var _video:Video;
		private var _nc:NetConnection;
		private var _ns:NetStream;

		public function VideoSprite():void{
			this._video = new Video();
			this.addChild(this._video);
			//NetConnectionをnew
			this._nc = new NetConnection();
			this._nc.connect(null);
			//NetStreamをnew
			this._ns = new NetStream(this._nc);
			var customClient = new Object();
			this._ns.client = customClient;
			//NetStreamをattach
			this._video.attachNetStream(this._ns);
			//イベント定義
			this._ns.addEventListener(NetStatusEvent.NET_STATUS, this.statusHandler);
		}

		//NetStatusEvent処理
		private function statusHandler(event:NetStatusEvent):void
		{
			switch(event.info.code) {
				// 省略
				default:
					break;
			}
		}

		//色々省略

		//再利用時のクローズ作業
		public function sleep():void{
			this._video.clear();
			this._nc.close();
			this._ns.close();
		}

		//消去時
		public [...]</description>
			<content:encoded><![CDATA[<p>たくさんのFLVをいかに効率よく、美しく流すか。<br />
みたいなメモです。</p>
<p>- 前提<br />
Video、NetStreamやNetConnectionなどの処理を<br />
まとめたVideoSpriteクラス、みたいなものを作る。<br />
これらのインスタンスを毎回消去して、新しくnewすると<br />
ブラウザに負荷がかかるので、消去せずに再利用する。</p>
<p>- 再利用と消去<br />
以下に載せたクラスで、再利用前にやるのがsleepメソッド。<br />
本当にいらなくなった時に消去するために呼ぶのがkillメソッド。</p>
<p>- ノイズ防止<br />
FLVはキーフレーム間を差分で描画しているので、無茶な処理をすると<br />
ピンクのノイズが出て、描画がボロボロになります。その対策。</p>
<p>1. 一度playを実行した_ns(NetStream)に再度playをかける時は、<br />
必ずthis._ns.close();を呼んでから。</p>
<p>2. 再生中のものを頭出ししてすぐ再生したい時は<br />
pause(); → seek(0); → NetStatusEventのNetStream.Seek.Notifyを受ける。<br />
→ resume();<br />
（単純に1のように、closeして再度playでもいい気がします）</p>
<p>&#8211; 追記(08/05/20):<br />
 再生中のものはすでにキャッシュ済みなのですぐ再生可能<br />
 → 単純に1のように、closeして再度playした方が良いです。<br />
&#8212;-</p>
<p>まとめると、closeし忘れに注意ということです。</p>
<p>以下 as。</p>
<pre name="code" class="actionscript:nogutter">
package{

	import flash.display.Sprite;
	import flash.events.NetStatusEvent;
	import flash.media.Video;
	import flash.net.NetConnection;
	import flash.net.NetStream;

	public class VideoSprite extends Sprite

		private var _video:Video;
		private var _nc:NetConnection;
		private var _ns:NetStream;

		public function VideoSprite():void{
			this._video = new Video();
			this.addChild(this._video);
			//NetConnectionをnew
			this._nc = new NetConnection();
			this._nc.connect(null);
			//NetStreamをnew
			this._ns = new NetStream(this._nc);
			var customClient = new Object();
			this._ns.client = customClient;
			//NetStreamをattach
			this._video.attachNetStream(this._ns);
			//イベント定義
			this._ns.addEventListener(NetStatusEvent.NET_STATUS, this.statusHandler);
		}

		//NetStatusEvent処理
		private function statusHandler(event:NetStatusEvent):void
		{
			switch(event.info.code) {
				// 省略
				default:
					break;
			}
		}

		//色々省略

		//再利用時のクローズ作業
		public function sleep():void{
			this._video.clear();
			this._nc.close();
			this._ns.close();
		}

		//消去時
		public function kill():void {
			this.sleep();
			this.removeChild(this._video);
			this._ns.removeEventListener(NetStatusEvent.NET_STATUS, this.statusHandler);
			this._video.attachNetStream(null);
			this._ns = null;
			this._nc = null;
			this._customClient = null;
			this._video = null;
		}
	}

}
</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=gvxlnA9h"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=gvxlnA9h" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=nhE8ezgg"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=nhE8ezgg" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=a71xp5wB"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=a71xp5wB" border="0"></img></a>
</div><img src="http://feeds.feedburner.jp/~r/sooheinetblog/~4/2110566"/>]]></content:encoded>
			<wfw:commentRss>http://soohei.net/blog/archives/2008/05/03105044.html/feed</wfw:commentRss>
		<feedburner:origLink>http://soohei.net/blog/archives/2008/05/03105044.html</feedburner:origLink></item>
		<item>
		<title>UT LOOP!</title>
		<link>http://feeds.feedburner.jp/~r/sooheinetblog/~3/2061558/28112224.html</link>
		<comments>http://soohei.net/blog/archives/2008/04/28112224.html#comments</comments>
		<pubDate>Mon, 28 Apr 2008 02:22:24 +0000</pubDate>
		<dc:creator>soohei</dc:creator>
		
		<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=158</guid>
		<description>2月にtha*へ移籍しました。
最初の案件、UT LOOP!、4/18にローンチしました。
__utbp_d='blogparts';__utbp_u='';__utbp_w=480;__utbp_h=360;

tha流ドラゴンボールメソッドと、自己流 没頭→食べない→眠くならない理論が、
最強の掛け算となるよう、これからも頑張っていこうと思います。
以下、クレジットです。
Planning / Art Direction / Design: Yugo Nakamura (tha)
Design / Flash : Sohei Kitada (tha)
Technical Direction : Keita Kitamura (tha)
Video Edit : Erica Sakai (tha)
Video Production : same as TV-AD
Banner : spctrm
- 詳細情報
http://tha.jp/feed/34
http://tha.jp/feed/31
みなさま、ありがとうございました。</description>
			<content:encoded><![CDATA[<p>2月に<a href="http://tha.jp/" target="_blank">tha*</a>へ移籍しました。<br />
最初の案件、<a href="http://www.uniqlo.com/utloop/" target="_blank">UT LOOP!</a>、4/18にローンチしました。<br />
<script type="text/javascript">__utbp_d='blogparts';__utbp_u='';__utbp_w=480;__utbp_h=360;</script><br />
<script type="text/javascript" src="http://www.uniqlo.com/utloop/js/blogparts.js"></script></p>
<p>tha流ドラゴンボールメソッドと、自己流 没頭→食べない→眠くならない理論が、<br />
最強の掛け算となるよう、これからも頑張っていこうと思います。</p>
<p>以下、クレジットです。<br />
Planning / Art Direction / Design: Yugo Nakamura (<a href="http://tha.jp/" target="_blank">tha</a>)<br />
Design / Flash : Sohei Kitada (<a href="http://tha.jp/" target="_blank">tha</a>)<br />
Technical Direction : Keita Kitamura (<a href="http://tha.jp/" target="_blank">tha</a>)<br />
Video Edit : Erica Sakai (<a href="http://tha.jp/" target="_blank">tha</a>)<br />
Video Production : same as <a href="http://tha.jp/feed/31" target="_blank">TV-AD</a><br />
Banner : <a href="http://spctrm.jp/" target="_blank">spctrm</a></p>
<p>- 詳細情報<br />
<a href="http://tha.jp/feed/34" target="_blank">http://tha.jp/feed/34</a><br />
<a href="http://tha.jp/feed/31" target="_blank">http://tha.jp/feed/31</a></p>
<p>みなさま、ありがとうございました。</p>
<div class="feedflare">
<a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=yLHk6KSQ"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=yLHk6KSQ" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=awZo9BTc"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=awZo9BTc" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=Tz8oaPZm"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=Tz8oaPZm" border="0"></img></a>
</div><img src="http://feeds.feedburner.jp/~r/sooheinetblog/~4/2061558"/>]]></content:encoded>
			<wfw:commentRss>http://soohei.net/blog/archives/2008/04/28112224.html/feed</wfw:commentRss>
		<feedburner:origLink>http://soohei.net/blog/archives/2008/04/28112224.html</feedburner:origLink></item>
		<item>
		<title>WordPress</title>
		<link>http://feeds.feedburner.jp/~r/sooheinetblog/~3/2049516/27202215.html</link>
		<comments>http://soohei.net/blog/archives/2008/04/27202215.html#comments</comments>
		<pubDate>Sun, 27 Apr 2008 11:22:15 +0000</pubDate>
		<dc:creator>soohei</dc:creator>
		
		<category><![CDATA[Info]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=157</guid>
		<description>身の回りでWordPressが良いと聞くことが多いので、MTから移行しました。
パーマリンクは以前のままで大丈夫だと思います。
ついでに周りの真似をしてFeedBannerもやってみました。
http://feeds.feedburner.jp/sooheinetblog</description>
			<content:encoded><![CDATA[<p>身の回りでWordPressが良いと聞くことが多いので、MTから移行しました。<br />
パーマリンクは以前のままで大丈夫だと思います。</p>
<p>ついでに周りの真似をしてFeedBannerもやってみました。<br />
<a href="http://feeds.feedburner.jp/sooheinetblog">http://feeds.feedburner.jp/sooheinetblog</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=LqVrGDU7"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=LqVrGDU7" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=8GGZogvl"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=8GGZogvl" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=ZqhBWW1m"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=ZqhBWW1m" border="0"></img></a>
</div><img src="http://feeds.feedburner.jp/~r/sooheinetblog/~4/2049516"/>]]></content:encoded>
			<wfw:commentRss>http://soohei.net/blog/archives/2008/04/27202215.html/feed</wfw:commentRss>
		<feedburner:origLink>http://soohei.net/blog/archives/2008/04/27202215.html</feedburner:origLink></item>
		<item>
		<title>Premire - mov - flv</title>
		<link>http://feeds.feedburner.jp/~r/sooheinetblog/~3/2049517/20012219.html</link>
		<comments>http://soohei.net/blog/archives/2008/02/20012219.html#comments</comments>
		<pubDate>Tue, 19 Feb 2008 16:22:19 +0000</pubDate>
		<dc:creator>soohei</dc:creator>
		
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/archives/20080220012219</guid>
		<description></description>
			<content:encoded><![CDATA[<p>Premireで切った映像をmovで書き出そうとしたら、<br />
「ムービーの作成中にエラーが発生しました」<br />
というエラーが出て進めなくなった。</p>
<p>aviなら書き出せたので、書き出したものを<br />
CS3 Video Encoderでflvに変換したところ、<br />
今度は音が鳴らなくなった。</p>
<p>1つ目の問題は<br />
<a href="http://support.adobe.co.jp/faq/faq/qadoc.sv?231895+002" target="_blank">［231895］オーディオまたはビデオファイルの書き出しができない</a><br />
という記事を見つけて、色々な場所に保存を試みていたら、<br />
ドライブの直下で保存できた。</p>
<p>quicktime形式はflvに変換した後もちゃんと音が鳴ったので、<br />
2つ目の問題については深追いせずに解決した。</p>
<p>映像系の人には常識かもしれないけど、<br />
2度とつまづかないようにメモ。</p>
<p>- 参考サイト<br />
<a href="http://support.adobe.co.jp/faq/faq/qadoc.sv?231895+002" target="_blank">［231895］オーディオまたはビデオファイルの書き出しができない</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=cjiENMgr"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=cjiENMgr" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=kHDvMnLz"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=kHDvMnLz" border="0"></img></a> <a href="http://feeds.feedburner.jp/~f/sooheinetblog?a=S3FoZtBU"><img src="http://feeds.feedburner.jp/~f/sooheinetblog?i=S3FoZtBU" border="0"></img></a>
</div><img src="http://feeds.feedburner.jp/~r/sooheinetblog/~4/2049517"/>]]></content:encoded>
			<wfw:commentRss>http://soohei.net/blog/archives/2008/02/20012219.html/feed</wfw:commentRss>
		<feedburner:origLink>http://soohei.net/blog/archives/2008/02/20012219.html</feedburner:origLink></item>
	</channel>
</rss>
