<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2japanesefull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>soohei.net</title><link>http://soohei.net</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/sooheinetblog" /><description>SOHEI KITADA</description><language>ja</language><lastBuildDate>Sun, 29 Jan 2012 17:41:13 PST</lastBuildDate><generator>http://wordpress.org/?v=3.3</generator><sy:updatePeriod xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">hourly</sy:updatePeriod><sy:updateFrequency xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">1</sy:updateFrequency><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/sooheinetblog" /><feedburner:info uri="sooheinetblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/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.com%2Fsooheinetblog" src="http://buttons.googlesyndication.com/fusion/add.gif">Google???</feedburner:feedFlare><feedburner:feedFlare href="http://r.hatena.ne.jp/append/http://feeds.feedburner.com/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.com/sooheinetblog" src="http://image.reader.livedoor.com/img/banner/91_17_1.gif">Livedoor???????</feedburner:feedFlare><item><title>T-D YOYOGI PARK OFFICE 2</title><link>http://feedproxy.google.com/~r/sooheinetblog/~3/cZhrLZ7u1pQ/</link><category>Diary</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Sat, 28 Jan 2012 07:23:43 PST</pubDate><guid isPermaLink="false">http://soohei.net/?p=630</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><img src="http://soohei.net/wp/wp-content/uploads/2012/01/627266192_272671-soohei-520x520.png" alt="" title="627266192_272671-soohei" width="520" height="520" class="alignnone size-medium wp-image-631" /></p>
<p><a href="http://soohei.net/update-2011-03-21/" title="update 2011.03.21">自宅兼作業場</a>からの移動完了。<br />
図らずも全員グレイパーカーだった。<br />
あねちゃん、chap、あべくんおつかれした。</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=cZhrLZ7u1pQ:kFZp8qgMGV4:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=cZhrLZ7u1pQ:kFZp8qgMGV4:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=cZhrLZ7u1pQ:kFZp8qgMGV4:2V2C0W9ye1I"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?i=cZhrLZ7u1pQ:kFZp8qgMGV4:2V2C0W9ye1I" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/sooheinetblog/~4/cZhrLZ7u1pQ" height="1" width="1"/>]]></content:encoded><description>自宅兼作業場からの移動完了。 図らずも全員グレイパーカーだった。 あねちゃん、chap、あべくんおつかれした。</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://soohei.net/t-d-yoyogi-park-office-2/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://soohei.net/t-d-yoyogi-park-office-2/</feedburner:origLink></item><item><title>T-D YOYOGI PARK OFFICE</title><link>http://feedproxy.google.com/~r/sooheinetblog/~3/zCXFTVk53Eg/</link><category>Diary</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Sat, 21 Jan 2012 00:00:11 PST</pubDate><guid isPermaLink="false">http://soohei.net/?p=618</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><a href="http://td-inc.jp"><img src="http://soohei.net/wp/wp-content/uploads/2012/01/5cb45b2a43f211e19e4a12313813ffc0_7-520x520.jpg" alt="" title="" width="520" height="520" class="alignnone size-medium wp-image-620" /><br />
</a></p>
<p>22日、色々搬入<br />
28日、荷物移動</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=zCXFTVk53Eg:Wh7s5xvAu6E:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=zCXFTVk53Eg:Wh7s5xvAu6E:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=zCXFTVk53Eg:Wh7s5xvAu6E:2V2C0W9ye1I"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?i=zCXFTVk53Eg:Wh7s5xvAu6E:2V2C0W9ye1I" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/sooheinetblog/~4/zCXFTVk53Eg" height="1" width="1"/>]]></content:encoded><description>22日、色々搬入 28日、荷物移動</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://soohei.net/t-d-yoyogi-park-office/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://soohei.net/t-d-yoyogi-park-office/</feedburner:origLink></item><item><title>update 2012.01.19</title><link>http://feedproxy.google.com/~r/sooheinetblog/~3/lefRCHEvldw/</link><category>Info</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Wed, 18 Jan 2012 08:00:16 PST</pubDate><guid isPermaLink="false">http://soohei.net/?p=623</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><a href="http://td-inc.jp/infobar-c01/" target="_blank">INFOBAR C01 | T-D inc.</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=lefRCHEvldw:ovI7-9Qvj_c:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=lefRCHEvldw:ovI7-9Qvj_c:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=lefRCHEvldw:ovI7-9Qvj_c:2V2C0W9ye1I"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?i=lefRCHEvldw:ovI7-9Qvj_c:2V2C0W9ye1I" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/sooheinetblog/~4/lefRCHEvldw" height="1" width="1"/>]]></content:encoded><description>INFOBAR C01 &amp;#124; T-D inc.</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://soohei.net/update-2012-01-19/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://soohei.net/update-2012-01-19/</feedburner:origLink></item><item><title>update 2011.12.25</title><link>http://feedproxy.google.com/~r/sooheinetblog/~3/-j4lrruQkyo/</link><category>Info</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Sat, 24 Dec 2011 07:00:54 PST</pubDate><guid isPermaLink="false">http://soohei.net/blog/?p=535</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><a href="http://td-inc.jp/?p=236">Media Practice 11-12 | T-D inc.</a></p>
<p><a href="http://td-inc.jp/galaxy-xmas-cafe">GALAXY X&#8217;MAS CAFE | T-D inc.</a></p>
<p><a href="https://www.facebook.com/pages/T-D-inc/213585815381240" target="_blank">T-D on Facebook</a></p>
<p><a href="https://twitter.com/td_inc/" target="_blank">T-D on Twitter</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=-j4lrruQkyo:7czM6c2NBlk:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=-j4lrruQkyo:7czM6c2NBlk:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=-j4lrruQkyo:7czM6c2NBlk:2V2C0W9ye1I"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?i=-j4lrruQkyo:7czM6c2NBlk:2V2C0W9ye1I" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/sooheinetblog/~4/-j4lrruQkyo" height="1" width="1"/>]]></content:encoded><description>Media Practice 11-12 &amp;#124; T-D inc. GALAXY X&amp;#8217;MAS CAFE &amp;#124; T-D inc. T-D on Facebook T-D on Twitter</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://soohei.net/update-2011-12-25/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://soohei.net/update-2011-12-25/</feedburner:origLink></item><item><title>update 2011.11.14</title><link>http://feedproxy.google.com/~r/sooheinetblog/~3/wNQo9kgRpVQ/</link><category>Info</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Sun, 13 Nov 2011 07:00:35 PST</pubDate><guid isPermaLink="false">http://soohei.net/?p=593</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><a href="http://housefoods.jp/ukon/tenki/" target="_blank">夜の乾杯!天気予報 presented by ウコンの力</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=wNQo9kgRpVQ:FjhH0s9JjtU:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=wNQo9kgRpVQ:FjhH0s9JjtU:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=wNQo9kgRpVQ:FjhH0s9JjtU:2V2C0W9ye1I"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?i=wNQo9kgRpVQ:FjhH0s9JjtU:2V2C0W9ye1I" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/sooheinetblog/~4/wNQo9kgRpVQ" height="1" width="1"/>]]></content:encoded><description>夜の乾杯!天気予報 presented by ウコンの力</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://soohei.net/update-2011-11-14/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://soohei.net/update-2011-11-14/</feedburner:origLink></item><item><title>update 2011.10.11</title><link>http://feedproxy.google.com/~r/sooheinetblog/~3/lGAtTJCY_ZQ/</link><category>Info</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Thu, 13 Oct 2011 08:00:41 PDT</pubDate><guid isPermaLink="false">http://soohei.net/blog/?p=538</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><a href="http://td-inc.jp" title="T-D inc.">T-D inc.</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=lGAtTJCY_ZQ:8AHtbfGMEM0:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=lGAtTJCY_ZQ:8AHtbfGMEM0:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=lGAtTJCY_ZQ:8AHtbfGMEM0:2V2C0W9ye1I"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?i=lGAtTJCY_ZQ:8AHtbfGMEM0:2V2C0W9ye1I" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/sooheinetblog/~4/lGAtTJCY_ZQ" height="1" width="1"/>]]></content:encoded><description>T-D inc.</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://soohei.net/update-2011-10-11/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://soohei.net/update-2011-10-11/</feedburner:origLink></item><item><title>update 2011.04.20</title><link>http://feedproxy.google.com/~r/sooheinetblog/~3/wn82jaWcNoc/</link><category>Diary</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Tue, 19 Apr 2011 08:00:33 PDT</pubDate><guid isPermaLink="false">http://soohei.net/?p=583</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><img src="http://soohei.net/blog/wp/wp-content/uploads/2011/04/IMG_0001-520x390.jpg" alt="" title="IMG_0001" width="520" height="390" class="alignnone size-medium wp-image-589" /></p>
<p>3年間お世話になったTHAを退職しました。<br />
本当にありがとうございました。 </p>
<p>今後はフリーのWebデザイナー、エンジニアとして再始動します。</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=wn82jaWcNoc:eXgQhwaLHgM:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=wn82jaWcNoc:eXgQhwaLHgM:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=wn82jaWcNoc:eXgQhwaLHgM:2V2C0W9ye1I"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?i=wn82jaWcNoc:eXgQhwaLHgM:2V2C0W9ye1I" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/sooheinetblog/~4/wn82jaWcNoc" height="1" width="1"/>]]></content:encoded><description>3年間お世話になったTHAを退職しました。 本当にありがとうございました。 今後はフリーのWebデザイナー、エンジニアとして再始動します。</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://soohei.net/update-2011-04-20/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://soohei.net/update-2011-04-20/</feedburner:origLink></item><item><title>update 2011.03.21</title><link>http://feedproxy.google.com/~r/sooheinetblog/~3/PQT6aeheVzI/</link><category>Diary</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Sun, 20 Mar 2011 08:00:14 PDT</pubDate><guid isPermaLink="false">http://soohei.net/?p=581</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><img src="http://soohei.net/blog/wp/wp-content/uploads/2011/03/IMG_0551-520x388.jpg" alt="" title="IMG_0551" width="520" height="388" class="alignnone size-medium wp-image-591" /></p>
<p>元代々木の新居へ引越しました。ここで色々たくらみます。</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=PQT6aeheVzI:IxhTABn4yCs:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=PQT6aeheVzI:IxhTABn4yCs:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=PQT6aeheVzI:IxhTABn4yCs:2V2C0W9ye1I"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?i=PQT6aeheVzI:IxhTABn4yCs:2V2C0W9ye1I" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/sooheinetblog/~4/PQT6aeheVzI" height="1" width="1"/>]]></content:encoded><description>元代々木の新居へ引越しました。ここで色々たくらみます。</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://soohei.net/update-2011-03-21/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><feedburner:origLink>http://soohei.net/update-2011-03-21/</feedburner:origLink></item><item><title>Asagiri Jam App</title><link>http://feedproxy.google.com/~r/sooheinetblog/~3/QtFm5kbtUtM/</link><category>iPhone App</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Mon, 04 Oct 2010 22:17:45 PDT</pubDate><guid isPermaLink="false">http://soohei.net/blog/?p=481</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>久々の趣味アプリをリリースしました。<br />
FRF2011に向け、改良を重ねようと思います。</p>
<p><!--a href="http://soohei.net/blog/asagiri-now-2010">http://soohei.net/blog/asagiri-now-2010</a--><br />
<del datetime="2011-04-05T07:44:01+00:00">http://soohei.net/blog/asagiri-now-2010</del><br />
[追記1]<br />
一時公開終了しました。(2011/4/5)</p>
<p>[追記2]<br />
<a href="http://fes-app.com" target="_blank">http://fes-app.com</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=QtFm5kbtUtM:sH34w7UWnW0:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=QtFm5kbtUtM:sH34w7UWnW0:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=QtFm5kbtUtM:sH34w7UWnW0:2V2C0W9ye1I"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?i=QtFm5kbtUtM:sH34w7UWnW0:2V2C0W9ye1I" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/sooheinetblog/~4/QtFm5kbtUtM" height="1" width="1"/>]]></content:encoded><description>久々の趣味アプリをリリースしました。 FRF2011に向け、改良を重ねようと思います。 http://soohei.net/blog/asagiri-now-2010 [追記1] 一時公開終了しました。(2011/4/5 [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://soohei.net/asagiri-jam-app/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><feedburner:origLink>http://soohei.net/asagiri-jam-app/</feedburner:origLink></item><item><title>JS (1) : JavaScriptでのクラス定義</title><link>http://feedproxy.google.com/~r/sooheinetblog/~3/c59-G5ycmJg/</link><category>JavaScript</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">admin</dc:creator><pubDate>Thu, 12 Aug 2010 05:20:45 PDT</pubDate><guid isPermaLink="false">http://soohei.net/blog/?p=441</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>■ クラスの定義方法</p>
<p>例えばASだと、このような定義になると思いますが、</p>
<pre>
package{
	public class MyClass{

		public var myValue;

		//コンストラクタ
		public function MyClass(value1, value2){
			var newValue = value1 + value2;
			test1(newValue);
		}

		public fucntion test1(value3){
			myValue = value3;
			trace(&quot;myValue:&quot;, myValue);
		}

		public fucntion test2(){

		}
	}
}
</pre>
<p>&#8211;<br />
JSではこのように書くと良いと思います。<br />
[js]<br />
var MyClass = function(){<br />
	this.myValue;<br />
	this.initialize.apply(this, arguments);<br />
}</p>
<p>MyClass.prototype = {<br />
	//コンストラクタ<br />
	initialize: function(value1, value2) {<br />
		var newValue = value1 + value2;<br />
		test1(newValue);<br />
	},</p>
<p>	test1: function(value3){<br />
		this.myValue = value3;<br />
		console.log(&quot;myValue:&quot;, myValue);<br />
	},</p>
<p>	test2: function(){</p>
<p>	}<br />
}<br />
[/js]</p>
<p>&#8211;<br />
説明 :<br />
・JSに変数の型指定はありません。<br />
・この書き方をすると、関数内で定義した変数を除いて、全てpublicになります。クラス内でprivate変数はつくれません｡<br />
・イベント処理っぽいことが入って来た時にさらに掘り下げますが、14行目の「this」は必須です。<br />
・console.logはfirebugや、WebKitのコンソールで確認。</p>
<p>&#8211;<br />
■ サンプル</p>
<p>できるだけASっぽく、1クラス1ファイルで考えてみます。<br />
ドキュメントクラス風にMainクラスを実行して、SampleClassクラスのインスタンスをつくり、<br />
その中の関数を呼んで終わり。という簡単なプログラムです。</p>
<p>まずHTMLファイルでmain.jsを読み込む。</p>
<pre>
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;

&lt;head&gt;
&lt;title&gt;&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;main.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
	&lt;div id=&quot;content&quot;&gt;&lt;/div&gt;
&lt;/body&gt;

&lt;/html&gt;
</pre>
<p>&#8211;<br />
main.jsの中身<br />
[js]<br />
document.write(&#8216;&lt;script type=&quot;text/javascript&quot; src=&quot;sampleClass.js&quot;&gt;&lt;/script&gt;&#8217;);</p>
<p>onload = function(){<br />
	var main = new Main();<br />
}</p>
<p>//Mainクラス<br />
var Main = function(){<br />
	this.initialize.apply(this, arguments);<br />
}<br />
Main.prototype = {<br />
	//コンストラクタ<br />
	initialize: function() {<br />
		var sampleInstance = new SampleClass(&quot;Hello World!&quot;);<br />
		sampleInstance.talk();<br />
	}<br />
}<br />
[/js]</p>
<p>&#8211;<br />
sampleClass.jsの中身<br />
[js]<br />
//SampleClassクラス<br />
var SampleClass = function(){<br />
	this.myMessage = &quot;&quot;;<br />
	this.initialize.apply(this, arguments);<br />
}<br />
SampleClass.prototype = {<br />
	//コンストラクタ<br />
	initialize: function(message) {<br />
		this.myMessage = message;<br />
	},</p>
<p>	//this.myMessageを出力<br />
	talk: function(){<br />
		console.log(this.myMessage);<br />
		document.getElementById(&quot;content&quot;).innerHTML = this.myMessage;<br />
	}<br />
}<br />
[/js]</p>
<p>&#8211;<br />
説明 :<br />
・main.jsの1行目はASでいうimportっぽい書き方をしてみたくてやっています。<br />
 (HTMLをいじらずJSだけで完結できるので便利)<br />
・実際はJQueryのonLoadから処理を始めて行くと色々できるようになります。（次回以降）</p>
<p>ダウンロード :<br />
<a href="http://soohei.net/blog/files/js_01.zip">http://soohei.net/blog/files/js_01.zip</a></p>
<p>&#8211;<br />
参考 :<br />
・<a href="http://d.hatena.ne.jp/amachang/20060516/1147778600" target="_blank">http://d.hatena.ne.jp/amachang/20060516/1147778600</a><br />
・<a href="http://d.hatena.ne.jp/vividcode/20090706/1246905260" target="_blank">http://d.hatena.ne.jp/vividcode/20090706/1246905260</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=c59-G5ycmJg:wBvdDTjCUOk:spdCosxkSQE"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=spdCosxkSQE" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=c59-G5ycmJg:wBvdDTjCUOk:OAQBO0PjnPA"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?d=OAQBO0PjnPA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/sooheinetblog?a=c59-G5ycmJg:wBvdDTjCUOk:2V2C0W9ye1I"><img src="http://feeds.feedburner.com/~ff/sooheinetblog?i=c59-G5ycmJg:wBvdDTjCUOk:2V2C0W9ye1I" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/sooheinetblog/~4/c59-G5ycmJg" height="1" width="1"/>]]></content:encoded><description>■ クラスの定義方法 例えばASだと、このような定義になると思いますが、 package{ public class MyClass{ public var myValue; //コンストラクタ public funct [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://soohei.net/js-1-javascript%e3%81%a7%e3%81%ae%e3%82%af%e3%83%a9%e3%82%b9%e5%ae%9a%e7%be%a9/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><feedburner:origLink>http://soohei.net/js-1-javascript%e3%81%a7%e3%81%ae%e3%82%af%e3%83%a9%e3%82%b9%e5%ae%9a%e7%be%a9/</feedburner:origLink></item></channel></rss>

