<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10japanesefull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom">
    <title>chikathreesix</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/" />
    
    <id>tag:blog.chikathreesix.com,2008-03-15://1</id>
    <updated>2009-11-07T08:00:00+00:00</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Open Source 4.1</generator>

<link rel="self" href="http://feeds.feedburner.com/Chikathreesix" type="application/atom+xml" /><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://paipo.jp/bookmarklet/?url=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://www.feedburner.jp/fb/i/subscribe_paipo.gif">Paipo???</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.co.jp/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://img.yahoo.co.jp/i/jp/my/addtomy1.gif">myyahoo???</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://www.newsgator.com/images/ngsub1.gif">NewsGator Online???</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feedpath.jp/feedreader/feeds_add?url=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://feedpath.jp/common/images/sub_feedpath.gif">feedpath???</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.feedburner.com/Chikathreesix" src="http://www.bloglines.com/images/sub_modern11.gif">Bloglines???</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://buttons.googlesyndication.com/fusion/add.gif">Google???</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://r.hatena.ne.jp/append/http://feeds.feedburner.com/Chikathreesix" src="http://r.hatena.ne.jp/images/addto_w.gif">???RSS???</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://reader.livedoor.com/subscribe/http://feeds.feedburner.com/Chikathreesix" src="http://image.reader.livedoor.com/img/banner/91_17_1.gif">Livedoor???????</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://reader.goo.ne.jp/web/bookmarklet.html?,,http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://reader.goo.ne.jp/web/img/addwebrss.gif">goo RSS???????</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FChikathreesix" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry><title type="text">Links for 2009-11-06 [del.icio.us]</title><link rel="alternate" type="text/html" href="http://del.icio.us/chikathreesix#2009-11-06" /><updated>2009-11-07T00:00:00-08:00</updated><id>http://del.icio.us/chikathreesix#2009-11-06</id><content type="html">&lt;ul&gt;
&lt;li&gt;&lt;a href="http://sites.google.com/site/shin1ogawa/adobe-air/update"&gt;&amp;#33258;&amp;#21205;update (aqubi+shin1)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content></entry><entry><title type="text">Links for 2009-11-05 [del.icio.us]</title><link rel="alternate" type="text/html" href="http://del.icio.us/chikathreesix#2009-11-05" /><updated>2009-11-06T00:00:00-08:00</updated><id>http://del.icio.us/chikathreesix#2009-11-05</id><content type="html">&lt;ul&gt;
&lt;li&gt;&lt;a href="http://closure-compiler.appspot.com/home"&gt;Closure Compiler Service&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content></entry><entry><title type="text">Links for 2009-10-30 [del.icio.us]</title><link rel="alternate" type="text/html" href="http://del.icio.us/chikathreesix#2009-10-30" /><updated>2009-10-31T00:00:00-07:00</updated><id>http://del.icio.us/chikathreesix#2009-10-30</id><content type="html">&lt;ul&gt;
&lt;li&gt;&lt;a href="http://satouyama.heteml.jp/index.html"&gt;&amp;#12469;&amp;#12488;&amp;#12454;&amp;#23665;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content></entry><entry><title type="text">Links for 2009-10-28 [del.icio.us]</title><link rel="alternate" type="text/html" href="http://del.icio.us/chikathreesix#2009-10-28" /><updated>2009-10-29T00:00:00-07:00</updated><id>http://del.icio.us/chikathreesix#2009-10-28</id><content type="html">&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blog.boreal-kiss.com/2008/10/05182315.html"&gt;[AIR] &amp;#12459;&amp;#12473;&amp;#12479;&amp;#12512;&amp;#12463;&amp;#12521;&amp;#12473;&amp;#12458;&amp;#12502;&amp;#12472;&amp;#12455;&amp;#12463;&amp;#12488;&amp;#12398;&amp;#12525;&amp;#12540;&amp;#12459;&amp;#12523;&amp;#20445;&amp;#23384; : boreal-kiss.com&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content></entry><entry><title type="text">Links for 2009-10-26 [del.icio.us]</title><link rel="alternate" type="text/html" href="http://del.icio.us/chikathreesix#2009-10-26" /><updated>2009-10-27T00:00:00-07:00</updated><id>http://del.icio.us/chikathreesix#2009-10-26</id><content type="html">&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.j-love.info/natsu/iphone-app/dev_note/tips/iphonexcodebuild_and_analyze.html"&gt;iPhone&amp;#12450;&amp;#12503;&amp;#12522;&amp;#38283;&amp;#30330;&amp;#65306;Xcode&amp;#12398;Build and Analyze - Natsu's iPhone App&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.1pon-manzoku.jp/"&gt;&amp;#65297;&amp;#26412;&amp;#28288;&amp;#36275;&amp;#24613;&amp;#20415;&amp;#65288;&amp;#37197;&amp;#65289;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content></entry><entry><title type="text">Links for 2009-10-25 [del.icio.us]</title><link rel="alternate" type="text/html" href="http://del.icio.us/chikathreesix#2009-10-25" /><updated>2009-10-26T00:00:00-07:00</updated><id>http://del.icio.us/chikathreesix#2009-10-25</id><content type="html">&lt;ul&gt;
&lt;li&gt;&lt;a href="http://japanese.engadget.com/2009/10/22/windows-7-im-pc/"&gt;&amp;#21205;&amp;#30011;&amp;#65306;&amp;#12450;&amp;#12483;&amp;#12503;&amp;#12523;&amp;#12418;Windows 7&amp;#12434;&amp;#31069;&amp;#31119;&amp;#12289;&amp;#26032;&amp;#12467;&amp;#12510;&amp;#12540;&amp;#12471;&amp;#12515;&amp;#12523;&amp;#20844;&amp;#38283; (&amp;#8251;2&amp;#26412;&amp;#36861;&amp;#21152;)&lt;/a&gt;&lt;br/&gt;
おもしろいねぇ&lt;/li&gt;
&lt;li&gt;&lt;a href="http://hmdt.jp/hpdt/hello/hello.html"&gt;Hello World&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://d.hatena.ne.jp/KishikawaKatsumi/20081024/1224857278"&gt;Interface Builder&amp;#12434;&amp;#20351;&amp;#12387;&amp;#12390;&amp;#12459;&amp;#12473;&amp;#12479;&amp;#12510;&amp;#12452;&amp;#12474;&amp;#12375;&amp;#12383;UITableViewCell&amp;#12434;&amp;#20316;&amp;#12427;&amp;#26041;&amp;#27861;&amp;#65288;&amp;#36861;&amp;#35352;&amp;#12354;&amp;#12426;&amp;#65289; - 24/7 twenty-four seven&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content></entry><entry><title type="text">Links for 2009-10-22 [del.icio.us]</title><link rel="alternate" type="text/html" href="http://del.icio.us/chikathreesix#2009-10-22" /><updated>2009-10-23T00:00:00-07:00</updated><id>http://del.icio.us/chikathreesix#2009-10-22</id><content type="html">&lt;ul&gt;
&lt;li&gt;&lt;a href="http://ameblo.jp/xcc/entry-10156594753.html"&gt;iPhone&amp;#12450;&amp;#12503;&amp;#12522;&amp;#38283;&amp;#30330;&amp;#12289;&amp;#12381;&amp;#12398;(33) &amp;#12508;&amp;#12479;&amp;#12531;&amp;#12434;Interface Builder&amp;#12395;&amp;#38972;&amp;#12425;&amp;#12378;&amp;#12395;&amp;#20316;&amp;#12387;&amp;#12390;&amp;#65372;&amp;#12486;&amp;#12531;&amp;#12539;&amp;#12471;&amp;#12540;&amp;#12539;&amp;#12471;&amp;#12540;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content></entry><entry>
    <title>Loud Park 09</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2009/10/loud-park-09.html" />
    <id>tag:blog.chikathreesix.com,2009://1.36</id>

    <published>2009-10-21T14:07:34Z</published>
    <updated>2009-10-21T14:21:07Z</updated>

    <summary>久しぶりの更新！まぁひさしぶりなんで、Loud Parkのことでも書きますよ。こ...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="music" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="metal" label="metal" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[久しぶりの更新！<br />まぁひさしぶりなんで、Loud Parkのことでも書きますよ。<br /><br />こないだの日曜日にLoud Parkに行ってきたんだが、例年通りMetalの祭典とだけあって客はメタラーしかいないね！<br />９割くらいが黒T来てるのには吹いたw（自分も含む）<br /><br />今回びっくりしたのが、サークルピットの真ん中に安全地帯ができる場合があるということ。<br />これにはカルチャーショックだったね。。<br />なんかノリが若すぎやしないか？<br />Slayerとかでそれやられると、さすがにしらけるからやめて欲しい。<br />個人的には殺伐とした感じのサークルピットの方が楽しめるんだが。。<br /><br />サークルピットって何って方の為に動画をアップしたよ！<br />※とてつもなくうるさいのでお気をつけて<br /><br /> 
<object height="344" width="425"><param name="movie" value="http://www.youtube.com/v/wvgrHMa5o0s&amp;hl=ja&amp;fs=1&amp;" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="http://www.youtube.com/v/wvgrHMa5o0s&amp;hl=ja&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"></object>]]>
        
    </content>
</entry>

<entry>
    <title>【Objective-C】 キー値監視について</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2009/05/objectivec.html" />
    <id>tag:blog.chikathreesix.com,2009://1.22</id>

    <published>2009-05-17T16:27:58Z</published>
    <updated>2009-05-17T16:54:24Z</updated>

    <summary> 久しぶりにObjective-Cをいじった。マイコミの記事を参考にしていたんだ...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="iPhone" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="cocoatouch" label="Cocoa Touch" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="iphone" label="iPhone" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="objectivec" label="Objective-c" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[ 久しぶりにObjective-Cをいじった。<br />マイコミの記事を参考にしていたんだけど、addObserverってのが出てきてハマった。。。<br /><br />厳密には違うけど、ASで言うところのaddEventListener的な使い方ができる。<br />NSObjectで実装されているので、なんかしらのクラスを継承してれば使えるっぽい。<br /><br />
タイトルの「キー値監視」とは、あるオブジェクトのプロパティの値が変化した事を他のオブジェクトに通知すること。<br />
addObserverはその変化の通知を受け取るオブザーバを登録する際に利用するメソッドのようだ。<br />
<br /><br /><br /><br />キー値監視を行うには、<br />１、addObserverで監視対象のオブジェクト、監視したいプロパティ、監視するオブジェクトを監視されるオブジェクトに登録。<br />メソッドは以下。<br /><br />- (void)addObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context<br /><br />・observer<br />イベントを受け取る人。通知を受け取るobserveValueForKeyPathというデリゲートメソッドを実装しておく必要がある。<br /><br />・forKeyPath<br />いろんなところで「キー値」だとかいう説明がされてたけど、要はイベントを発行するオブジェクトのプロパティ名だと思う。「キー値」じゃなんだかわかんねーっつーのw<br /><br />・options<br />変化する前の値を受け取るか、変化した後の値を受け取るか<br /><br />・context<br />なんだかわからないっすw<br /><br /><br />２、オブザーバにてプロパティの変化を受け取るメソッドを定義<br />- (void)observeValueForKeyPath:(NSString*)keyPath ofObject:(id)object <br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; change:(NSDictionary*)change context:(void*)context<br /><br /><br />３、setValueを使ってプロパティの値を変更する<br /><br /><br /><br /><br />これでできるはずなんだけど、どうやらデフォルトで自動通知がオフになっているらしいので、以下メソッドをオーバーライドしてYESを返す必要があるみたい。<br /><br />
<pre name="code" class="actionscript">+ (BOOL)automaticallyNotifiesObserversForKey:(NSString*)key
{
	if ([key isEqualToString:@"isFinished"])
       {
		return YES;
	}
	
	return [super automaticallyNotifiesObserversForKey:key];
}</pre><br /><br />特定のキー値の時YESを返すって感じです。<br /><br /> ]]>
        
    </content>
</entry>

<entry>
    <title>UA LABOオープン！</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2009/04/ua-labo.html" />
    <id>tag:blog.chikathreesix.com,2009://1.21</id>

    <published>2009-04-17T16:32:32Z</published>
    <updated>2009-04-18T06:08:05Z</updated>

    <summary>かなりひさしぶりのエントリです！だいぶ更新を怠ってしまっていました。。。さてさて...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="others" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="ua" label="UA" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[かなりひさしぶりのエントリです！<br />だいぶ更新を怠ってしまっていました。。。<br /><br />さてさて、弊社デベロッパーチームのブログ<a href="http://www.ua-labo.com/" target="_blank">「UA LABO」</a>が４月１日にオープンしました！<br />サイト自体もラボということで色々挑戦しています。<br /><br />僕はUA LABO公式キャラクター「ラ・ボラ」君を作りましたww<br />MSのWordに出てくるイルカ君みたいなポジションにしたいです。<br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://blog.chikathreesix.com/photo/bola.jpg"><img alt="bola.jpg" src="http://blog.chikathreesix.com/photo/bola-thumb-300x223.jpg" width="300" height="223" class="mt-image-none" style="" /></a></span><br /><br /> <div>UA LABOでは実験的な内容で色々書いていきます。</div><div>（こっちと若干かぶりそうだけど。。）</div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>新年！</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2009/01/post-3.html" />
    <id>tag:blog.chikathreesix.com,2009://1.20</id>

    <published>2009-01-06T01:45:50Z</published>
    <updated>2009-01-07T16:10:26Z</updated>

    <summary>明けましておめでとうございます！ 今更ですがｗ 昨年は４月にこの業界に入り、それ...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
    <category term="年賀" label="年賀" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[<p>明けましておめでとうございます！</p>
<p>今更ですがｗ</p>
<p>昨年は４月にこの業界に入り、それから色々と学ぶことだらけでした。</p>
<p>今年はさらに発展と多方面への開拓をしていこうと思います。</p>
<p> </p>
<p>年賀ということで、弊社の年賀サイトをちょこっと紹介。</p>
<p><a href="http://www.uniteair.co.jp/bull2009/">ユナイティア年賀サイト</a></p><div><p>一応自分も少し関わらせてもらえました。</p>
<p> </p>
<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://blog.chikathreesix.com/2009/01/08/nenga1.jpg"><img alt="nenga1.jpg" src="http://blog.chikathreesix.com/2009/01/08/nenga1-thumb-461x250.jpg" width="461" height="250" class="mt-image-none" style="" /></a></span><div><br /></div><div>みんなでとにかく走りました！</div><div>もちろん自分も参加しています。</div><div><br /></div><div><br /></div><div><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://blog.chikathreesix.com/2009/01/08/nenga2.jpg"><img alt="nenga2.jpg" src="http://blog.chikathreesix.com/2009/01/08/nenga2-thumb-460x256.jpg" width="460" height="256" class="mt-image-none" style="" /></a></span>
</div><div><br /></div><div>社員全員のメッセージが見れます。</div><div>右下の入力欄に合い言葉を入れると対応したメッセージが再生されるようになっています。</div><div>「うしくん」と入れてもらえると、僕からのメッセージが見れます。</div><div><br /></div><div><br /></div><div>今年も頑張らないと！</div><div><br /></div></div><div><br /></div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>【AS3】DisplayObjectのstageプロパティについて</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/12/as3displayobjectstage.html" />
    <id>tag:blog.chikathreesix.com,2008://1.19</id>

    <published>2008-12-27T17:07:03Z</published>
    <updated>2008-12-27T17:28:55Z</updated>

    <summary>かなりハマって焦ったのでメモ。DisplayObjectにはstageプロパティ...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
    <category term="as30" label="AS3.0" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[かなりハマって焦ったのでメモ。<div><br /><div>DisplayObjectにはstageプロパティがあって、</div><div>今までここからStageクラスのインスタンスにアクセスして</div><div>this.stage.stageWidthとかthis.stage.stageHeight</div><div>ってな感じでFlashコンテンツのステージサイズをとってました。</div><div><br /></div><div>ところが、Flashのオーサリングツール上でインスタンスを静的配置した場合、</div><div>そのクラスのコンストラクタ内で、stageプロパティにアクセスすると、</div><div>タイミング的にstage.stageHeightやstage.stageWidthが正しく取得できないことがあります。</div><div>環境によってはうまくいく場合の方が多いので気づきにくいですが。。。</div><div><br /></div><div>具体的には以下のような感じ</div><div><br /></div><div><br /></div></div>

<pre name="code" class="actionscript">package
{
	import flash.display.Sprite;
	
	public class Test extends Sprite
	{
		private var _stageWidth:Number;
		private var _stageHeight:Number;
		
		public function Test()
		{
			_stageWidth = this.stage.stageWidth;
			_stageHeight = this.stage.stageHeight;
		}

	}
}
</pre><br />
<br />
このクラスをステージに配置したインスタンスのシンボルにリンケージで紐付ける。



<div><br /></div><div>静的配置したインスタンスの場合、コンストラクタの実行されるタイミングが結構怪しいので、stageプロパティにちゃんとStageインスタンスが格納されていない場合があるのかな。。</div><div>でもメモリ領域は確保していて参照は保持しているので、コンストラクタで別のプロパティに格納しておいて後で使うのは全然問題なし。</div><div><br /></div><div>stageプロパティはaddChildしてないと参照できないし、最初にどっか別のクラスに格納しちゃって、あとからはそこを参照する方がいいかもですね。</div>]]>
        
    </content>
</entry>

<entry>
    <title>わんだふるにゃんだふる</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/12/post-2.html" />
    <id>tag:blog.chikathreesix.com,2008://1.18</id>

    <published>2008-12-18T14:54:50Z</published>
    <updated>2008-12-20T17:53:07Z</updated>

    <summary>久しぶりに書いてみた！wonderflが凄いね。ってみなさん言ってるからあえて言...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="ActionScript3.0" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="actionscript" label="ActionScript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="as30" label="AS3.0" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[<div>久しぶりに書いてみた！</div><div><br /></div>wonderflが凄いね。<div>ってみなさん言ってるからあえて言うのもアレだけど...</div><div>なにがいいって共有できるのがいいね。</div><div>他の人のが簡単に見れるし、編集できるし。</div><div>簡単すぎて焦るね。</div><div><br /></div><div>一体これはどうなっているわけ？？</div><div><br /></div><div><br /></div><div><br /></div><a href="http://wonderfl.kayac.com/code/d57f586c04294a7d920bd6714815c78dde978a5c">http://wonderfl.kayac.com/code/d57f586c04294a7d920bd6714815c78dde978a5c</a>
]]>
        
    </content>
</entry>

<entry>
    <title>リサジュー曲線</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/09/post-1.html" />
    <id>tag:blog.chikathreesix.com,2008://1.17</id>

    <published>2008-09-07T16:01:55Z</published>
    <updated>2008-09-07T18:07:20Z</updated>

    <summary>boostworthyisryantaylorさんのエントリに触発されて、リサジ...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="ActionScript3.0" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="as30" label="AS3.0" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="図形" label="図形" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[<a href="http://www.boostworthy.com/blog/?p=92" target="_blank">boostworthyisryantaylor</a>さんのエントリに触発されて、リサジュー曲線を書くフラッシュ作ってみた。<div><br /><div><div>これはおもろいな〜</div><div>こっからインタラクティブになったらいいね。</div><div>コードはたったこんだけ。</div><div>変数aと変数bをいろいろ弄ってみると面白い。</div><div><br /></div></div></div>

<pre name="code" class="actionscript">var A:Number = this.stage.stageWidth / 2;
var B:Number = this.stage.stageHeight /2;
var a:Number = 20;
var b:Number = 30;
var deg:Number = 0;
var nTime:Number = 0;
var step:Number = 0.1;
var cx:Number = this.stage.stageWidth /2;
var cy:Number = this.stage.stageHeight /2;

var xPos:Number = A * Math.sin(a * nTime + deg) + cx;
var yPos:Number = B * Math.sin(b * nTime) + cy;

this.graphics.lineStyle(1);
this.graphics.moveTo(xPos,yPos);

this.stage.addEventListener(Event.ENTER_FRAME, enterFrameAction);

function enterFrameAction(e:Event):void{
	nTime+= step;
	xPos = A * Math.sin(a * nTime + deg) + cx;
	yPos = B * Math.sin(b * nTime) + cy;
	this.graphics.lineTo(xPos,yPos);
}
</pre>

<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="lissajou1.png" src="http://blog.chikathreesix.com/photo/lissajou1.png" width="499" height="364" class="mt-image-none" style="" /></span>
<br /><br />
<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="lissajou7.png" src="http://blog.chikathreesix.com/photo/lissajou7.png" width="499" height="364" class="mt-image-none" style="" /></span>
<br /><br />
<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="lissajou5.png" src="http://blog.chikathreesix.com/photo/lissajou5.png" width="499" height="364" class="mt-image-none" style="" /></span>]]>
        
    </content>
</entry>

<entry>
    <title>[AS3] Shift-JIS のXML読み込みについての解決法</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/08/as3-shiftjis-xml-1.html" />
    <id>tag:blog.chikathreesix.com,2008://1.16</id>

    <published>2008-08-01T17:12:51Z</published>
    <updated>2008-08-01T17:26:48Z</updated>

    <summary>前のエントリに書いたShift_JISの解決法が見つかったのでメモuseCode...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="ActionScript3.0" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="as30" label="AS3.0" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[<a href="http://blog.chikathreesix.com/2008/06/as3-shiftjis-xml.html">前のエントリ</a>に書いたShift_JISの解決法が見つかったのでメモ<div><br /></div><div>useCodePageをtrueにするのではなく、バイナリでByteArrayに読み込んで、readMultiByteでShift_JISとして読めばよいみたい。</div><div>以下にサンプルを載せときます。サンプルではScrollBarのコンポーネントを使ってます。</div><div><br /></div><div><br /></div>

<pre name="code" class="actionscript" package="" {="" import="" flash.display.sprite;="" flash.net.urlloader;="" flash.net.urlloaderdataformat;="" flash.net.urlrequest;="" flash.text.textfield;="" flash.system.system;="" flash.events.*;="" flash.utils.endian;="" flash.utils.bytearray;="" fl.controls.uiscrollbar;="" jp.co.uniteair.xml.xmlloader;="" **="" *="" ...="" @author="" defaultuser="" (tools="" -=""> Custom Arguments...)
	*/
	public class sjisLoader3 extends Sprite
	{
		public var area_txt:TextField;
		public var scrollBar:UIScrollBar;
		private var urlLoader:URLLoader;
		
		private const DATA_PATH:String = "data/sjistext.txt";
		
		public function sjisLoader3()
		{
			urlLoader = new URLLoader();
			urlLoader.addEventListener(Event.COMPLETE, _loadedData);
			urlLoader.dataFormat = URLLoaderDataFormat.BINARY;
			urlLoader.load(new URLRequest(DATA_PATH));
		}
		
		private function _loadedData(e:Event)
		{
			trace("loaded!!uho");
			
			var byteData:ByteArray = new ByteArray();
			byteData = ByteArray(urlLoader.data);
			var txtData:String = byteData.readMultiByte(byteData.length, "shift_jis");
			
			area_txt.text = txtData;
			scrollBar.update();
		}
	}
	
}
</pre>
これを使えば色々な文字コードからUTF-8に変換できる見たいですね。逆はできないけど。]]>
        
    </content>
</entry>

<entry>
    <title>【Cocoa Touch】Cocoa Touch始めました</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/07/cocoa-touchcocoa-touch.html" />
    <id>tag:blog.chikathreesix.com,2008://1.15</id>

    <published>2008-07-21T14:58:32Z</published>
    <updated>2008-07-21T16:01:25Z</updated>

    <summary>iPhone盛り上がってますね〜AppStoreのダウンロード数も凄いみたいで。...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="Cocoa Touch" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="cocoatouch" label="Cocoa Touch" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[iPhone盛り上がってますね〜<div>AppStoreのダウンロード数も凄いみたいで。。</div><div>この流れになんとか乗りたいので、噂のCocoa Touch始めました。</div><div><br /></div><div>Cocoaは、Mac OSXのネイティブアプリを作るためのObjective-Cのフレームワークということは聞いてたから、Objective-CってC言語にクラスがくっ付いたもんなら取っ付きやすいかな〜とか思ってたが。。</div><div><br /></div><div>甘かった。</div><div><br /></div><div>全然書き方違う。</div><div>メソッドのアクセスにドットを使わないし、インスタンス生成もnewではなく、allocメソッドを使う。</div><div><br /></div><div>概念もだいぶ違う。</div><div>プロトコル？デリゲート？　理解不能な概念がいくつもある。。</div><div><br /></div><div>Objective-Cのオブジェクト指向の機能がSmalltalkという言語らしく、こいつが分かりにくいんだろうなぁ</div><div><br /></div><div><br /></div><div>開発環境としては、コーディングにXcode、GUIの構築にInterface Builder、パフォーマンスを計るのにInstrumentsを使うようだ。</div><div><br /></div><div>これらのツールの使い方も覚えなくてはならない。。</div><div><br /></div><div><br /></div><div>まだなんも作れてないけど、とりあえずHello Worldくらいは作らんと...</div>]]>
        
    </content>
</entry>

<entry>
    <title>【AS3】Timerについて</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/07/as3timer.html" />
    <id>tag:blog.chikathreesix.com,2008://1.14</id>

    <published>2008-07-19T13:58:19Z</published>
    <updated>2008-07-20T13:00:42Z</updated>

    <summary>AS3になってタイマーが登場したけど、設定した間隔で正確に処理を実行しているもの...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="ActionScript3.0" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="as30" label="AS3.0" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[AS3になってタイマーが登場したけど、設定した間隔で正確に処理を実行しているものだと思ってた。<div><br /></div><div>しかし、タイマーが実行する関数内で時間のかかる処理を行った場合、その処理が終わったタイミングから設定した時間後に次の処理が行われるようです。</div><div><br /></div><div>つまり、<pre name="code" class="actionscript">timer:Timer = new Timer(1000, 0);
timer.addEventListener(TimerEvent.TIMER, _timerAction);
timer.start();
</pre>として実行すると、最初の一回目は1000ミリ秒で実行されるが、_timerAction内の処理に600ミリ秒かかると次の実行は1600ミリ秒後になってしまうということ。設定した間隔に対して正確に実行することはできないので、アニメーションであればenterFrame内で経過時間から処理すべき数値を計算すれば良いようですね。</div><div><br />trick7様<span class="Apple-style-span" style="font-family: arial; white-space: normal; "></span><span class="Apple-style-span" style="font-family: arial; white-space: normal; "><a href="http://www.trick7.com/blog/2006/11/30-115701.php"></a></span></div><div><span class="Apple-style-span" style="font-family: arial; white-space: normal; "><a href="http://www.trick7.com/blog/2006/11/30-115701.php">http://www.trick7.com/blog/2006/11/30-115701.php</a></span></div><div>を参考にさせていただきました。</div><div><br /></div><div><br /></div><div>しかし、trick7さんのエントリーの日付は2006年11月...</div><div>自分は一年半ぐらい遅れてるんですね。。</div><div>もっと頑張らなくては。。。</div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>【AS3】 Shift-JIS のXML読み込みについて</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/06/as3-shiftjis-xml.html" />
    <id>tag:blog.chikathreesix.com,2008://1.13</id>

    <published>2008-06-29T17:10:31Z</published>
    <updated>2008-07-20T13:01:02Z</updated>

    <summary>ActionScript3.0のバグについてメモデータ量が比較的多めのXMLで文...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="ActionScript3.0" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="as30" label="AS3.0" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[ActionScript3.0のバグについてメモ<div><br /></div><div>データ量が比較的多めのXMLで文字コードがShift-JISのものは、AS3では正しく<strike>パースできない</strike>読み込まれないことがあるようです。</div><div><strike>useCodepageとかも無意味です。</strike></div><div><br /></div><div>成功する場合もあれば、失敗する場合もあります。</div><div>失敗した場合は、</div><div>「1088ルートエレメントに続くドキュメントのマークアップは整形式でなければなりません。」</div><div>というランタイムエラーが発生します。</div><div>失敗した場合、XMLが読み込まれた時点でXMLを出力すると、最後に謎の文字列が追加されていました。</div><br /><div><br /></div><div>これは、、困りましたね（笑）</div><div><br /></div><div><br /></div><div><font color="#ff0000">追記</font></div><div>useCodePage = trueをfalseにするともちろん文字化けは起こりますが、謎の文字列が付与されることはなくなりました。</div><div>AS3でShift_JISを取り扱うこと自体にバグがあるようですね。</div><div>XMLについてのみ言及していましたが、テキストファイルなどでも同様のバグがあります。</div><div>また、サイズの少ないファイルにおいてこのエラーは発生しません。</div><div><br /></div><div>どうしてもShift_JISファイルの読み込みが必要な場合は、useCodePage=trueにはせず、ファイルパスをphpなどに渡して、エンコードした文字列を受け取る形が良さそうです。</div><div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>Macでrootユーザーを有効にする</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/06/macroot.html" />
    <id>tag:blog.chikathreesix.com,2008://1.12</id>

    <published>2008-06-14T17:37:23Z</published>
    <updated>2008-06-14T17:49:40Z</updated>

    <summary>macのターミナルでvi使ってhttpd.confを修正しようと思ったが、mac...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="Mac" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="mac" label="Mac" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[macのターミナルでvi使ってhttpd.confを修正しようと思ったが、macはデフォでrootユーザーが有効になっていないため、ファイルが弄れない。<div>なので、有効にする方法をメモ。</div><div><br /></div><div>OS Xは「NetInfoマネージャ」というアプリを使うらしいが、Leopardではこれがないため、「ディレクトリユーティリティ」を使う。以下にある。</div><div>「アプリケーション」→「ユーティリティ」→「ディレクトリユーティリティ」</div><div><br /></div><div>これを起動したら、左下の鍵アイコンをクリック。</div><div>鍵アイコンが開いた状態になったら、「編集」→「ルートユーザーを有効にする」を選択し、rootユーザーのパスワードを入力する。</div><div><br /></div><div>これで設定は完了</div><div><br /></div><div>あとは、ターミナルで「su -」とでも入れて、設定したパスワードを入力すれば見事ログイン成功！</div>]]>
        
    </content>
</entry>

<entry>
    <title>【AS3】XMLについて</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/05/as3xml.html" />
    <id>tag:blog.chikathreesix.com,2008://1.10</id>

    <published>2008-05-31T02:14:24Z</published>
    <updated>2008-06-14T17:51:59Z</updated>

    <summary>AS3のXMLクラスについて。XMLクラスには二種類ある。・XMLクラスルートノ...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="ActionScript3.0" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="as30" label="AS3.0" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[AS3のXMLクラスについて。<div><br /></div><div>XMLクラスには二種類ある。</div><div><br /></div><div>・XMLクラス</div><div>ルートノードがひとつのもの</div><div><br /></div><div>・XMLListクラス</div><div>ルートノードが２つ以上のもの</div><div><br /></div><div>１つのXMLをロードすると、２種類のクラスのインスタンスが適切な形で生成される。</div><div><br /></div><div>以下の様な例で考える。</div><div><br /></div><div>&lt;data></div><div>  &lt;item href = "htttp://www.test1.com" ></div><div>  &lt;item href = "htttp://www.test2.com" ></div><div>  &lt;item href = "htttp://www.test3.com" ></div><div>&lt;/data></div><div><br /></div><div>xml.dataはXMLListのインスタンス</div><div>xml.item[0]はXMLのインスタンス</div><div>となるようだ。</div><div><br /></div><div>ちなみにtraceをかけると内部的にはtoString関数が実行される。</div><div>これら二つのクラスのtoString関数は、XMLをインデントを付けて文字列として返すので、traceするとXMLがきれいな形で表示されるというわけだ。</div><div><br /></div><div><br /></div><div><div><br /></div><div><br /></div></div>]]>
        
    </content>
</entry>

<entry>
    <title>Emarosa</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/05/emarosa.html" />
    <id>tag:blog.chikathreesix.com,2008://1.11</id>

    <published>2008-05-17T05:52:55Z</published>
    <updated>2008-05-31T17:41:13Z</updated>

    <summary>最近知ったのだが、かなりこのバンドアツい！！スクリーモファンからすれば今更だろう...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
        <category term="music" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="music" label="Music" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[<div>最近知ったのだが、かなりこのバンドアツい！！</div><div>スクリーモファンからすれば今更だろうけどw</div><div>なんかもうボーカル変わったみたいで、myspaceにアップされている音源は正直好みじゃなかった。。</div><div>しかしこのアルバムはサイコーです。</div><div><br /></div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/xyCKsE8D68Q&amp;hl=ja" /><param name="wmode" value="transparent" /><embed src="http://www.youtube.com/v/xyCKsE8D68Q&amp;hl=ja" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object> ]]>
        
    </content>
</entry>

<entry>
    <title>ActionScriptの配列について</title>
    <link rel="alternate" type="text/html" href="http://blog.chikathreesix.com/2008/05/actionscript.html" />
    <id>tag:blog.chikathreesix.com,2008:/chikalog//1.9</id>

    <published>2008-05-15T15:52:04Z</published>
    <updated>2008-05-31T17:37:02Z</updated>

    <summary>膨大な量の点において、三角関数の計算処理を行うことになったため、パフォーマンス向...</summary>
    <author>
        <name>chika666</name>
        
    </author>
    
    <category term="actionscript" label="ActionScript" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://blog.chikathreesix.com/">
        <![CDATA[<div>膨大な量の点において、三角関数の計算処理を行うことになったため、パフォーマンス向上を考えてみた。</div><div><br /></div><div>Math.cosやMath.sinはいちいち計算処理を行っているため、あらかじめ配列に0〜180度での値を格納しておき、参照するやり方がパフォーマンス向上として一般的なようだ。</div><div><br /></div><div>しかし、どうにもパフォーマンスが上がらない。それどころか、パフォーマンスが下がっている。</div><div><br /></div><div>ラジアンから度に変換する計算を介してはいるものの、これでパフォーマンスが低下するとはどうも思えない。</div><div><br /></div><div>結論としては、ActionScriptの配列は当てにならないということだろうか。。</div><div><br /></div><div>要素数に応じて生成時に必要な領域をallocateするCなどの配列とは違って、ActionScriptの配列は単なるオブジェクトと同じだからなあ。</div><div><br /></div><div>配列とは呼べないような配列ですねw</div>]]>
        
    </content>
</entry>

</feed>
