<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7184992387921835404</id><updated>2024-10-18T13:33:44.776+09:00</updated><category term="プログラミング"/><category term="Flash AS3"/><category term="iPhone"/><category term="Objective-C"/><category term="Mac"/><category term="サーバー"/><category term="Boot Camp"/><category term="Javascript"/><category term="Windows7"/><category term="css"/><category term="html"/><category term="illustrator"/><category term="どうでもいいこと"/><category term="写真"/><title type='text'>初級プログラミングメモ</title><subtitle type='html'>aaa.blogger</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-8988396554608680237</id><published>2014-08-30T10:57:00.001+09:00</published><updated>2014-08-30T10:57:32.547+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flash AS3"/><title type='text'>publicのgetterとprivateのsetterがクラス内部では同時に使えない</title><content type='html'>とても不便と思ったけど、スコープを指定して呼び出すと呼び出せるようだ。&lt;br /&gt;
「とても不便」から「結構不便」に変わった。&lt;br /&gt;
&lt;br /&gt;
//呼び出し側&lt;br /&gt;
&lt;pre&gt;  public function initPos():void{
   if(public::isAnimating == false){
    private::isAnimating = true;
    camera3d.lookAt(0,0,0);
   }
  }
  public function animTransparency():void{
   var aaa:Boolean = public::isAnimating;
  }

//setter getter
  public function get isAnimating():Boolean{
   return this._isAnimating;
  }
  private function set isAnimating(isAnim:Boolean):void{
   this._isAnimating = isAnim;
  }
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/8988396554608680237/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2014/08/publicgetterprivatesetter.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/8988396554608680237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/8988396554608680237'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2014/08/publicgetterprivatesetter.html' title='publicのgetterとprivateのsetterがクラス内部では同時に使えない'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-2553884586525290749</id><published>2014-08-30T10:57:00.000+09:00</published><updated>2014-08-30T10:57:01.165+09:00</updated><title type='text'>ラタジー Lata Mangeshkar</title><content type='html'>インド：女性歌手&lt;br /&gt;
http://en.wikipedia.org/wiki/Lata_Mangeshkar

Anpadh(Aap ki nazron nay samjha)
http://en.wikipedia.org/wiki/Anpadh

&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/2553884586525290749/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2014/08/lata-mangeshkar.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/2553884586525290749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/2553884586525290749'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2014/08/lata-mangeshkar.html' title='ラタジー Lata Mangeshkar'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-7960956932308028652</id><published>2014-08-30T10:56:00.002+09:00</published><updated>2014-08-30T10:56:45.895+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>Javascriptでbodyの一番上に要素を追加する</title><content type='html'>なかなかうまく行かない上に調べてもなかなか見つからなかったのでメモ&lt;br /&gt;
document.body.insertBefore(this.dom,document.body.firstChild);&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/7960956932308028652/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2014/08/javascriptbody.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7960956932308028652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7960956932308028652'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2014/08/javascriptbody.html' title='Javascriptでbodyの一番上に要素を追加する'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-8845024103629925886</id><published>2013-08-21T18:07:00.004+09:00</published><updated>2013-08-21T18:56:42.397+09:00</updated><title type='text'>お名前のSDサーバ-ファイルパーミッション</title><content type='html'>お名前のSDサーバにWordPressインストールしたけどちょっとおかしい。&lt;br /&gt;
おかしいのでphpMyAdmin入れてみたけどこれもおかしい。&lt;br /&gt;
パーミッションを色々調整してみたら動くようになってきた。&lt;br /&gt;
phpは700と書いてあるのだけど、その他は書いてない？&lt;br /&gt;
http://guide.onamae-server.com/sd/3_9_12_14_2/&lt;br /&gt;
フォルダは755、ファイルは644に変更したら動いているみたい。&lt;br /&gt;
フォルダは750、ファイルは640でも動くのかな。&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/8845024103629925886/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2013/08/sd.html#comment-form' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/8845024103629925886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/8845024103629925886'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2013/08/sd.html' title='お名前のSDサーバ-ファイルパーミッション'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-4028784650380084837</id><published>2012-09-23T00:53:00.001+09:00</published><updated>2012-09-23T00:53:18.141+09:00</updated><title type='text'>我家webサーバーをVMware化してホスト移動可能なUSB SSDにインストールする計画</title><content type='html'>







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
VMWareのゲストを入れておくSSDのファイルシステムを色々調べてたけど、最近はHFSがMacとLinuxで互換性がある事を知った。&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
（始めはマックは当然EXT3とかEXT4とか読み書きできて何の問題も無くディスクをやり取りできるのだと思ってたけど、そうではなかった。仕方ないので市販のmacでNTFSを読み書きできるドライバを入れてみたけど、Linux側でなぜかうまく動かなかったので中止）&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
NTFSだったディスクの中身を一旦バックアップして、HFS+でフォーマット。&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
120Gの仮想ディスクの移動の片道は約１時間で往復２時間。&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
linuxで読み書きするためパーティションのジャーナルをオフ&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
　mac$ diskutil disableJournal diskほげほげ&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
ubuntuにhfsplusをインストール&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
　sudo apt-get install hfsplus&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
ubuntuに持って行ってマウント&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
オートマウントを利用してUSBドライブとして刺すだけ。&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
↑これが目的。&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
パーミッションや所有者がめちゃくちゃなので変更。&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
　linux$ sudo chown -R shinji ./ContOS6&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
　linux$ sudo chgrp -R users ./ContOS6&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
VMWarePlayerでファイルを指定して起動。&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
これでUbuntuでもMacでも動くようになった。&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;a href=&quot;http://www.i-elements.net/&quot;&gt;http://www.i-elements.net&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
参考&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;a href=&quot;http://d.hatena.ne.jp/is0me/20100411/1270913030&quot;&gt;http://d.hatena.ne.jp/is0me/20100411/1270913030&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
CentOS6も大丈夫っぽい&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;　rpm --import &lt;a href=&quot;http://elrepo.org/RPM-GPG-KEY-elrepo.org&quot;&gt;&lt;span class=&quot;s2&quot;&gt;http://elrepo.org/RPM-GPG-KEY-elrepo.org&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;　rpm -Uvh &lt;a href=&quot;http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm&quot;&gt;&lt;span class=&quot;s2&quot;&gt;http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
　yum install kmod-hfsplus&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;a href=&quot;http://www.spidersoft.com.au/2011/centos-6-and-mac-os-extended-hfs-plus-support/&quot;&gt;http://www.spidersoft.com.au/2011/centos-6-and-mac-os-extended-hfs-plus-support/&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;







&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
後これも重要だった。そもそも、仮想ディスクのファイルサイズがギリギリのSSDにスワップが書き込まれて、ディスクの状態が少しおかしくなってたのがNTFS時のIOエラーの原因だったのでは無いだろうか。&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
VMware で仮想メモリを使わず実メモリを使う方法&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
1. 仮想マシンの Advanced オプションで disable memory page timing にチェックをいれる。&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
2. 仮想マシンの環境設定ファイル .vmx に mainMem.useNamedFile = &quot;FALSE&quot; の１行を加える。&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;a href=&quot;http://www.drk7.jp/MT/archives/001215.html&quot;&gt;http://www.drk7.jp/MT/archives/001215.html&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/4028784650380084837/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2012/09/webvmwareusb-ssd.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/4028784650380084837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/4028784650380084837'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2012/09/webvmwareusb-ssd.html' title='我家webサーバーをVMware化してホスト移動可能なUSB SSDにインストールする計画'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-7628084914632492810</id><published>2012-04-06T00:10:00.001+09:00</published><updated>2012-04-06T00:31:38.749+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="html"/><title type='text'>CSSで横並びのリストをセンタリングする</title><content type='html'>&lt;div class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
結構難しくて苦労したのでメモ。&lt;br /&gt;
色々解決策のページは有るけど、display:blockが必要な背景を使った場合の方法は見つからなかったので、手探りでやってみた。結局解ったのは以下のこと。&lt;br /&gt;
1.基本概念。inline要素で横並びを実現して、float-leftは使わない。&lt;br /&gt;
2.注意点。各要素にぶれが内容にセレクタをきっちり指定してブロック要素のプロパティーを貼り分ける。&lt;br /&gt;
3.ulの要素に text-align: center;&lt;br /&gt;
4.liの要素に display: inline;&lt;br /&gt;
5.li a の要素に　display:inline-block;&lt;br /&gt;
6.背景をつけるダイレクトな要素に&lt;br /&gt;
（例：#prev a {display: block;}）&lt;br /&gt;
以上でうまく行ったのだけどどうだろうか？&lt;br /&gt;
(IE6~IE8,FF,CHROME,Safariで確認。どのブラウザでどの要素が有効になっているのかは未確認)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;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;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;リスト&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style&amp;gt;&lt;br /&gt;
li {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;list-style:none;&lt;br /&gt;
}&lt;br /&gt;
/*--------------------------------*/&lt;br /&gt;
/* ページ切り替え */&lt;br /&gt;
/*--------------------------------*/&lt;br /&gt;
#page {&lt;br /&gt;
}&lt;br /&gt;
#pmenu ul{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;text-align: center;&lt;br /&gt;
}&lt;br /&gt;
#pmenu li{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; display: inline; &lt;br /&gt;
}&lt;br /&gt;
#pmenu li a{&lt;br /&gt;
display:inline-block;&lt;br /&gt;
}&lt;br /&gt;
#page_btn a{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-size: 14px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;line-height: 28px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;height: 28px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;width: 40px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;color: #ffffff;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-image: url(./images/page_btn.gif);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-repeat: no-repeat;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-position: left top;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; display: block; &lt;br /&gt;
}&lt;br /&gt;
#page_btn a:hover{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-image: url(./images/page_btn.gif);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-position: left bottom;&lt;br /&gt;
}&lt;br /&gt;
#prev a{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-size: 14px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;line-height: 28px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;height: 28px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;width: 73px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;color: #ffffff;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-image: url(./images/cntrl_btn.gif);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-repeat: no-repeat;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-position: left top;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; display: block; &lt;br /&gt;
}&lt;br /&gt;
#prev a:hover{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-image: url(./images/cntrl_btn.gif);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-position: left bottom;&lt;br /&gt;
}&lt;br /&gt;
#next a{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-size: 14px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;line-height: 28px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;height: 28px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;width: 73px;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;color: #ffffff;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-image: url(./images/cntrl_btn.gif);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-repeat: no-repeat;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-position: left top;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; display: block; &lt;br /&gt;
}&lt;br /&gt;
#next a:hover{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-image: url(./images/cntrl_btn.gif);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-position: left bottom;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;div style=&quot;width:100%;text-align:center&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;ul id=&quot;pmenu&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;li id = &quot;prev&quot;&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;＜前へ&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;li id = &quot;page_btn&quot;&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;1&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;li id = &quot;page_btn&quot;&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;2&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;li id = &quot;page_btn&quot;&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;3&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;li id = &quot;page_btn&quot;&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;4&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;li id = &quot;page_btn&quot;&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;10&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;li id = &quot;next&quot;&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;次へ＞&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/7628084914632492810/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2012/04/css.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7628084914632492810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7628084914632492810'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2012/04/css.html' title='CSSで横並びのリストをセンタリングする'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-7754253306889153479</id><published>2012-02-11T19:14:00.003+09:00</published><updated>2012-02-11T19:17:42.723+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flash AS3"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラミング"/><title type='text'>publicのgetterとprivateのsetterがクラス内部では同時に使えない</title><content type='html'>とても不便と思ったけど、スコープを指定して呼び出すと呼び出せるようだ。&lt;br /&gt;
「とても不便」から「それなりに不便」に変わった。&lt;br /&gt;
&lt;br /&gt;
//呼び出し側&lt;br /&gt;
　　public function initPos():void{&lt;br /&gt;
　　　if(public::isAnimating == false){&lt;br /&gt;
　　　　private::isAnimating = true;&lt;br /&gt;
　　　　camera3d.lookAt(0,0,0);&lt;br /&gt;
　　　}&lt;br /&gt;
　　}&lt;br /&gt;
　　public function animTransparency():void{&lt;br /&gt;
　　　var aaa:Boolean = public::isAnimating;&lt;br /&gt;
　　}&lt;br /&gt;
&lt;br /&gt;
//setter getter&lt;br /&gt;
　　public function get isAnimating():Boolean{&lt;br /&gt;
　　　return this._isAnimating;&lt;br /&gt;
　　}&lt;br /&gt;
　　private function set isAnimating(isAnim:Boolean):void{&lt;br /&gt;
　　　this._isAnimating = isAnim;&lt;br /&gt;
　　}</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/7754253306889153479/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2012/02/publicgetterprivatesetter.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7754253306889153479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7754253306889153479'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2012/02/publicgetterprivatesetter.html' title='publicのgetterとprivateのsetterがクラス内部では同時に使えない'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-4996263178677366102</id><published>2011-11-14T05:53:00.005+09:00</published><updated>2011-11-14T18:42:16.735+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="サーバー"/><title type='text'>Netatalk2.2beta4 &amp; Lion の問題</title><content type='html'>環境はUbuntu10.11&lt;br /&gt;
&lt;br /&gt;
Lionでnetatalkにアクセスする場合の問題。&lt;br /&gt;
&lt;br /&gt;
ネットワークのドライブにフォルダを作成するとグループが読み込み専用になってしまう。&lt;br /&gt;
shellでchmodすれば変更出来るのだけどFinderではうまく行かない。&lt;br /&gt;
フォルダのプロパティからアクセス権を変更しようとすると所有者が不明でアクセス権の変更が出来ない。&lt;br /&gt;
このままでは面倒なのでグループのパーミッションが初めからwriteがつくように変更しようと思う。&lt;br /&gt;
&lt;br /&gt;
netatalkの設定でデフォルトのumaskを007に変更。&lt;br /&gt;
&lt;br /&gt;
　・AppleVolumes.default&lt;br /&gt;
　　:DEFAULT: options:upriv,usedots cnidscheme:dbd perm:0664 dperm:2775 fperm:0666 ea:sys&lt;br /&gt;
&lt;br /&gt;
Netatalkを再起動して試してみるがうまく行かない。&lt;br /&gt;
調べてみると、その原因はLionの方にあった。&lt;br /&gt;
つまり、Lionがフォルダを作る時デフォルトでグループにwriteのパーミッションをつけないため、&lt;br /&gt;
マスクのパーミッションを通してもフォルダそのものにはwriteパーミションがつかない。&lt;br /&gt;
Lionでのデフォルトのフォルダのパーミッションの変更を調べたが、それも現状ではLionでうまく出来ないようだ。&lt;br /&gt;
（/etc/launchd.conf.にumask 002 を書く等の方法。）&lt;br /&gt;
&lt;a href=&quot;https://discussions.apple.com/thread/3204865?start=0&amp;tstart=0
&quot;&gt;https://discussions.apple.com/thread/3204865?start=0&amp;tstart=0&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
あきらめて、まったく別の方法を探す事に。&lt;br /&gt;
&lt;br /&gt;
●Lion &lt;-&gt; Snow Leopard 間ファイル共有における問題&lt;br /&gt;
&lt;a href=&quot;https://discussionsjapan.apple.com/thread/10095902?start=15&amp;tstart=0
&quot;&gt;https://discussionsjapan.apple.com/thread/10095902?start=15&amp;tstart=0&lt;/a&gt;&lt;br /&gt;
上の記事を発見。&lt;br /&gt;
&lt;br /&gt;
　&lt;b&gt;UbuntsuとLion側のUIDを一致させてみたところ、(Ubuntu側を変更)&lt;br /&gt;
　フォルダのプロパティからアクセス権が変更出来るようになった。&lt;/b&gt;&lt;br /&gt;
　&lt;br /&gt;
（ただし、ファインダのプロパティに表示される名前は、「取得中...」となる。）&lt;br /&gt;
他のマシンの設定を変更する必要があり面倒だが今日はこれであきらめる。</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/4996263178677366102/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/11/netatalk22beta4-lion.html#comment-form' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/4996263178677366102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/4996263178677366102'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/11/netatalk22beta4-lion.html' title='Netatalk2.2beta4 &amp; Lion の問題'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-7922072683038897925</id><published>2011-08-19T11:21:00.005+09:00</published><updated>2011-08-19T11:57:23.308+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="illustrator"/><title type='text'>Illustrator CS5 拡大縮小でパスの形が崩れる。線の幅が変わらない。</title><content type='html'>どーもCS5は困った感じ。&lt;br /&gt;
↓同じ症状の人。&lt;br /&gt;
&lt;a href=&quot;http://oshiete.goo.ne.jp/qa/6606394.html&quot; target=&quot;_blank&quot;&gt;http://oshiete.goo.ne.jp/qa/6606394.html&lt;/a&gt;&lt;br /&gt;
ちなみにうちはCS5.1 Macで起きている。&lt;br /&gt;
&lt;br /&gt;
↓Adobeのドキュメント。しかし、プリファレンスを消したがそれだけでは直らなかった。&lt;br /&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://kb2.adobe.com/jp/cps/846/cpsid_84657.html&quot;&gt;http://kb2.adobe.com/jp/cps/846/cpsid_84657.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
どうも、今のところ、&lt;br /&gt;
&lt;br /&gt;
1.フォトショップからパスをコピー&lt;br /&gt;
2.Illustratorへ移動、新規作成。&lt;br /&gt;
3.ペースト&lt;br /&gt;
とやったファイルでこの現象起きる事がある（もしかしたら関係ないかもしれない。）&lt;br /&gt;
プリファレンスを削除した後、&lt;br /&gt;
おかしくなったファイルを開いた時も、そのファイルのパスはダメだった。&lt;br /&gt;
フォトショップからコピーされてきたパスは編集出来る。&lt;br /&gt;
（複合パスとか複合シェイプとかの状態。しかし、複合パスとパスの違いは解らないけど。&lt;br /&gt;
　以前はパスファインダを使うとその状態に一時なっていた。）&lt;br /&gt;
&lt;br /&gt;
うまく行った方法。&lt;br /&gt;
&lt;br /&gt;
1.プリファレンス削除&lt;br /&gt;
2.フォトショップのクリップボードをクリア（何かパス以外のコピーとか）&lt;br /&gt;
3.Illustratorへ移動、新規作成。&lt;br /&gt;
4.フォトショップからパスをコピー&lt;br /&gt;
5.Illustratorへ移動、新規作成。&lt;br /&gt;
6.ペースト&lt;br /&gt;
&lt;br /&gt;
理由は解らないし、いつもこれで直るとは限らないと思うけど、&lt;br /&gt;
今回は解決したのでメモ。&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/7922072683038897925/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/08/illustrator-cs5.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7922072683038897925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7922072683038897925'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/08/illustrator-cs5.html' title='Illustrator CS5 拡大縮小でパスの形が崩れる。線の幅が変わらない。'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-2477082577092588850</id><published>2011-07-26T13:32:00.002+09:00</published><updated>2011-07-26T13:34:21.887+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Boot Camp"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows7"/><title type='text'>Boot Camp Windows7 メモ（Snowleopard iMac27inch）</title><content type='html'>インストール&lt;br /&gt;
1.Boot Campアシスタント起動&lt;br /&gt;
2.パーティション作成&lt;br /&gt;
3.Windows7インストーラを刺してBoot Campアシスタントで再起動&lt;br /&gt;
4.Windows7インストーラで起動＞インストール開始&lt;br /&gt;
5.Boot Campパーティションを初期化※&lt;br /&gt;
6.以下は普通のインストールと同じ&lt;br /&gt;
7.最後インストール後にiMacのインストールディスクを挿入しドライバインストール&lt;br /&gt;
&lt;br /&gt;
メモ&lt;br /&gt;
・capsキーで全角半角切り替え。※！&lt;br /&gt;
・画面の輝度が高すぎるけどファンクションキーの輝度調整で暗くする。&lt;br /&gt;
・その他キーバインディングは右下のタスクバーBoot Campヘルプ参照。</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/2477082577092588850/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/07/boot-camp-windows7-snowleopard.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/2477082577092588850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/2477082577092588850'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/07/boot-camp-windows7-snowleopard.html' title='Boot Camp Windows7 メモ（Snowleopard iMac27inch）'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-4422788634797159511</id><published>2011-06-16T21:58:00.001+09:00</published><updated>2011-06-16T21:58:48.441+09:00</updated><title type='text'>FLVPlaybackをフルスクリーンにすると画面が崩れる</title><content type='html'>FLVPlaybackをタイムラインに配置してフルスクリーンにすると画面が崩れてしまう。&lt;br /&gt;
FLVPlaybackコンポーネントが自分自身もフルスクリーンになろうとする為だ。&lt;br /&gt;
fullScreenTakeOverというプロパティがそれを制御しているが、&lt;br /&gt;
これがデフォルトではtrueになっているらしいのでfalseにセット。&lt;br /&gt;
&lt;br /&gt;
//タイムラインにコンポーネントが配置されている場合&lt;br /&gt;
var flvPlayback:FLVPlayback = player;//player はタイムラインに配置されたコンポーネントのインスタンス名&lt;br /&gt;
flvPlayback.fullScreenTakeOver = false;//&lt;&lt;&lt;&lt;&lt;重要この設定が無いとFlvPlaybackそのものが全画面化されてしまう。&lt;br /&gt;
flvPlayback.source = &quot;evangelion.flv&quot;;&lt;br /&gt;
&lt;br /&gt;
//インスタンスをコンストラクタから生成する場合&lt;br /&gt;
var flvPlaybackFLVPlayback = new FLVPlayback();&lt;br /&gt;
flvPlayback.fullScreenTakeOver = false;//&lt;&lt;&lt;&lt;&lt;重要&lt;br /&gt;
flvPlayback.width = 640;&lt;br /&gt;
flvPlayback.height = 480;&lt;br /&gt;
flvPlayback.source = &quot;evangelion.flv&quot;;&lt;br /&gt;
&lt;br /&gt;
参考&lt;br /&gt;
http://help.adobe.com/ja_JP/FlashPlatform/reference/actionscript/3/fl/video/FLVPlayback.html?filter_flash=cs5&amp;filter_flashplayer=10.2&amp;filter_air=2.6&lt;br /&gt;
&lt;br /&gt;
http://d.hatena.ne.jp/hiratake55/20090720/1248089754&lt;br /&gt;
http://c-brains.jp/blog/wsg/10/10/14-205359.php</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/4422788634797159511/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/06/flvplayback.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/4422788634797159511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/4422788634797159511'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/06/flvplayback.html' title='FLVPlaybackをフルスクリーンにすると画面が崩れる'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-9094176590742945553</id><published>2011-06-12T00:48:00.014+09:00</published><updated>2011-08-19T12:09:13.981+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="どうでもいいこと"/><title type='text'>池田信夫 blog : 非現実的な夢想家</title><content type='html'>原発事故に関してこの人が言っている事はある程度確かだと思うし、間違いでは無い事も多いと思う。&lt;br /&gt;
言っている事や考察はたしかにその通りだと思う事は多いし、参考になる事も沢山あると思う。&lt;br /&gt;
&lt;a href=&quot;http://twitter.com/#!/ikedanob&quot;&gt;http://twitter.com/#!/ikedanob&lt;/a&gt; &lt;br /&gt;
&lt;a href=&quot;http://ikedanobuo.livedoor.biz/&quot;&gt;池田信夫 blog : 非現実的な夢想家&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--- 小さな気になる事 ---&lt;br /&gt;
&lt;br /&gt;
しかし、少し気になる事がある。&lt;br /&gt;
この人の感覚の中に無いのは「そこに人が住んでいて、痛みを感じたり、苦しんだりしている人間がいる」と言う事。&lt;br /&gt;
この人がtwitterで言っている事を読んでると「現実レベルで被害に向き合っている人達の視点」がスッポリ無いと言う事を感じざるを得ない。&lt;br /&gt;
&lt;br /&gt;
これは「大多数の人が納得出来る客観的な事実」や「参考になる経済の変化の予測」に比べて些細な事だろうか？&lt;br /&gt;
&lt;br /&gt;
例えば、この人が言う&lt;br /&gt;
「炉心溶融は致命的な事故ではない。最悪の事故は起こらなかった」&lt;br /&gt;
とはなんだろう？&lt;br /&gt;
&lt;br /&gt;
それまでの人生のすべてを費やしてきた事をすべてを失い、生きる糧や希望を全て失った人たちが大勢いる。そしてそこまで完全に何もかも失った訳ではなくても、本当に大きな損失を受けた人はもっと沢山いるだろう。&lt;br /&gt;
&lt;br /&gt;
彼は「実際には起きなかった現実より大きい事故」と比べて「最悪ではなかった」と言っている。現実より悪い空想と現実を比較して「ましだった」とか言うのは、被害に遭わなかった人が安心する事には意味があるだろう。&lt;br /&gt;
&lt;br /&gt;
しかし、原発事故の本当の問題は、福島やその他の地域に、生きるか死ぬかの苦難を追わされている人たちが大勢いると言う事なのだ。&lt;br /&gt;
&lt;br /&gt;
「現実レベルで被害に向き合っている人達の視点」がなければ、どんなに論理的に考えても、その事には気付かないだろう。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--- 多くの人達が原発停止を望んでいる事に関して ---&lt;br /&gt;
&lt;br /&gt;
彼の、事故の影響による今後の社会の変化に対する考察は的を得ている。&lt;br /&gt;
しかし、今、いままでに無い多くの人たちが原発の停止を望んでいる。&lt;br /&gt;
そして、彼は「原発を止めて困るのは今その原発に反対している人達」だと批判する。&lt;br /&gt;
&lt;br /&gt;
経済の原理から言えば、雇用は減り、社会格差はさらに開き、&lt;br /&gt;
結果、彼の言う通りになるだろう。&lt;br /&gt;
&lt;br /&gt;
しかし、また事故が起きれば日本はどうなるのだろう？&lt;br /&gt;
&lt;br /&gt;
たぶんまた誰かが「まさか、また事故が起こるとは想定外だった。」&lt;br /&gt;
とか言うだろう。&lt;br /&gt;
それは我々に取って本当に「想定外」なのだろうか？&lt;br /&gt;
&lt;br /&gt;
人々が本当に望んでいるものとは、人間の本当の幸福とは....彼が想定している様な「人の安全や、安心を犠牲にし、そこに住んでいる人たちの生活や命を犠牲にする、それらの苦しみとを引き換えに手に入れる経済発展」なのだろうか？&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
　</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/9094176590742945553/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/06/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/9094176590742945553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/9094176590742945553'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/06/blog-post.html' title='池田信夫 blog : 非現実的な夢想家'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-5334931492195683978</id><published>2011-06-05T00:24:00.009+09:00</published><updated>2011-06-06T23:54:09.861+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flash AS3"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラミング"/><title type='text'>FlashIDEでのフォントの埋め込み</title><content type='html'>FlashIDEでのフォントの埋め込み難しい。&lt;br /&gt;
まずフォントクラスを定義してSWCに書き出す。&lt;br /&gt;
&lt;br /&gt;
それからMainでそのSWCを読む設定にし、&lt;br /&gt;
且つ、フォントクラスのインスタンスを一つ生成する。&lt;br /&gt;
そうするとMainに埋め込まれる....あってるかな...&lt;br /&gt;
&lt;br /&gt;
読み込み側&lt;br /&gt;
→ Main.fla&lt;br /&gt;
→ Main.as&lt;br /&gt;
&lt;br /&gt;
フォントを埋め込んだファイル&lt;br /&gt;
→ font.fla&lt;br /&gt;
読み込み指定 &lt;br /&gt;
→ font.swc&lt;br /&gt;
&lt;br /&gt;
※使おうとしているフォントがflaに埋まっているとダメ。&lt;br /&gt;
　埋まってなくても空になっているテキストフィールドに設定されているだけでもダメ。&lt;br /&gt;
　これは結構面倒。&lt;br /&gt;
　ただコンパイルはとても早くなるのでやっぱやるしかないかな。&lt;br /&gt;
　（プロジェクトの規模やマシンのスピードにもよるだろうけど、&lt;br /&gt;
　　今のプロジェクトではコンパイル２６秒から、６秒に縮まった。）&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
●Main.as&lt;br /&gt;
&lt;pre&gt;package fontTest
{
    import FontShingoM;
    
    import flash.display.MovieClip;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextFormat;
    
    public class Main extends flash.display.MovieClip
    {
        public function Main()
        {
            trace(&quot;fontTest.Main&quot;);
            
            var font:FontShingoM = new FontShingoM();
            trace(font.fontName);
            
            var aaa:TextField = new TextField();
            aaa.text = &quot;あいうえおかきくけこ&quot;;
            aaa.autoSize = TextFieldAutoSize.LEFT
            aaa.embedFonts = true;
            
            var format:TextFormat = new TextFormat();
            txt.text = &quot;あいうえおかきくけこ&quot;; //タイムラインに配置したテキストフィールド
            //txt.autoSize = TextFieldAutoSize.LEFT ;
            //↑これを設定するとなぜか高さが低くなる事がある。調べたらテキストフィールドの
            //「段落前後のアキ」にマイナスの値が設定されていた。
            
            format.size = 33;
             format.font = font.fontName; //又は、format.font =&quot;A-OTF Shin Go Pro M&quot;;
            format.color = 0xCEEB43;
            aaa.defaultTextFormat = format;
            addChild(aaa);
            
            txt.defaultTextFormat = format;
        }
    }
}
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/5334931492195683978/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/06/flashide.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/5334931492195683978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/5334931492195683978'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/06/flashide.html' title='FlashIDEでのフォントの埋め込み'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-8701499069833057409</id><published>2011-05-23T22:21:00.007+09:00</published><updated>2011-05-30T18:54:11.400+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="サーバー"/><title type='text'>GMOのSDサーバーでおうちのサーバーのDNSレコードも設定する</title><content type='html'>レジストラをGMOにトランスファーしたのだけど、&lt;br /&gt;
ドメインサービスに付属のDNSサービスは、&lt;br /&gt;
ついでに一緒に注文したSDサーバーには使えない事が判明。&lt;br /&gt;
とても不便。&lt;br /&gt;
&lt;br /&gt;
SDサーバーに付属したDNSサービスを使うしか無いのだけど、これが使いにくいし、&lt;br /&gt;
レコードの追加はMXレコードとTEXTレコードだけ。&lt;br /&gt;
だいたいTEXTレコードとは自分には何の事やら(@_@)&lt;br /&gt;
&lt;br /&gt;
プリセットのwww、smtp、pop、ftp、smtp、imapを、&lt;br /&gt;
「Aレコード」か「CNAMEレコード」か「デフォルト（つまりSDサーバーそのもの）」&lt;br /&gt;
に設定するしか出来ない。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
「サブドメインの追加」と「サブドメインの転送」と「サブドメイン内でのDNS設定」が出来るみたいなので、&lt;br /&gt;
これでなんとかしよう。&lt;br /&gt;
&lt;br /&gt;
まず、wwwをAレコードに変更して我が家のipアドレスを指定。&lt;br /&gt;
サブドメインを作ってサブドメイン内でAレコードを設定する。&lt;br /&gt;
動かした限り、なんとか普通に動いたいた。&lt;br /&gt;
（AレコードでなくCNAMEで設定した場合は、なぜかうまく行かなかった）&lt;br /&gt;
&lt;br /&gt;
サブドメインを追加して、転送を無しに設定。&lt;br /&gt;
これでSDサーバ側のディスクはこれで使える。&lt;br /&gt;
&lt;br /&gt;
サブドメイン無しのアドレスもアクセス出来る。&lt;br /&gt;
&lt;br /&gt;
CNAMEがうまく動かないので、サーバーのIPアドレスが変わったら、&lt;br /&gt;
サブドメインのAレコードを全部変更する必要がある。&lt;br /&gt;
めんどくさいし、動くか不安だったけど、ともかく動いたし、&lt;br /&gt;
SDサーバーはメールサーバーも使える上値段が安いので我慢するとしよう。&lt;br /&gt;
&lt;br /&gt;
ホームページテスト【外部からの表示確認】&lt;br /&gt;
http://www.cman.jp/network/support/http.html</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/8701499069833057409/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/05/gmosddns.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/8701499069833057409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/8701499069833057409'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/05/gmosddns.html' title='GMOのSDサーバーでおうちのサーバーのDNSレコードも設定する'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-6062497884458482173</id><published>2011-04-23T18:47:00.002+09:00</published><updated>2011-05-10T11:07:44.541+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flash AS3"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラミング"/><title type='text'>FlashIDEでSWCを作ってクラスライブラリとして使う</title><content type='html'>http://www.fukei-shashin.co.jp/1000messages/&lt;br /&gt;
このプロジェクトも大分ソースが大きくなってきたので、&lt;br /&gt;
コンパイルの高速化を見込んでFLAのアセットなどを部分的にSWCにておきたいと思った。&lt;br /&gt;
&lt;br /&gt;
ちょっと解った事をまとめるとこんな感じ。 &lt;br /&gt;
&lt;br /&gt;
まず、SWCへはライブラリウィンドウから右クリックで書き出すだけ。 &lt;br /&gt;
クラスの定義はこの場合「コンポーネント定義」は無効で、 （コンポーネントではないから）&lt;br /&gt;
シンボルのプロパティーから定義したクラスの内容が有効になる。 &lt;br /&gt;
&lt;br /&gt;
SWCのファイル名はコンパイルの何にも影響しないみたいなので何でも大丈夫みたい。 &lt;br /&gt;
コンパイルするものからライブラリへのパスだけ通しておく。 &lt;br /&gt;
今回はFlashCS5Proのパブリッシュ設定、Flash、Actionscript3.0設定からライブラリパスにファイルを直接追加した。 &lt;br /&gt;
&lt;br /&gt;
注意点はFLA内にそのままクラスのシンボルがある場合（つまりSWCを使わずに）、 &lt;br /&gt;
そのシンボルの定義を、クラス(as)ファイルの定義内容が、 &lt;br /&gt;
シンボルでの定義内容が生きたまま機能追加されるのだけど、 &lt;br /&gt;
（例えばシンボル内のインスタンスはクラスの定義として生きたまま、 &lt;br /&gt;
　クラスファイル内の定義でもインスタンスオブジェクトとして利用出来る。） &lt;br /&gt;
SWCに書き出したクラスと同じ名前でクラス(as)ファイルで同じ事をしようとすると、&lt;br /&gt;
「定義の重複」になってしまい定義出来ない。 &lt;br /&gt;
&lt;br /&gt;
よって同じ事をしようとする場合、まずSWCに書き出したクラスを継承して、 &lt;br /&gt;
新しいクラスを定義する必要がある.... &lt;br /&gt;
&lt;br /&gt;
ということまで解った。 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
どうも、探してもこの辺りの事はAdobeのドキュメントには書いてないらしく、 &lt;br /&gt;
ただ、Flashのプロの人たちは普通にやってるっぽいのだけど、関連する情報が見つからなくて試すしかなかった..... &lt;br /&gt;
他に情報があればどなたか。</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/6062497884458482173/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/04/flashideswc.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/6062497884458482173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/6062497884458482173'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/04/flashideswc.html' title='FlashIDEでSWCを作ってクラスライブラリとして使う'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-881998710693088185</id><published>2011-04-10T23:55:00.006+09:00</published><updated>2011-04-11T17:29:04.617+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flash AS3"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラミング"/><title type='text'>AS3でクリックされた表示オブジェクトの特定（target取得）</title><content type='html'>マウスイベントからクリックされたターゲットを特定するのはターゲットにidの変数等を初期化時にセットしておき、イベントオブジェクトのターゲットのプロパティとしてidを取得する方法が有効。&lt;br /&gt;
しかし、表示オブジェクトが、複数のパーツをまとめるため等の理由で、深くネストされている場合、ネストの一番奥のオブジェクトがターゲットとして戻されるので、親やその親の表示オブジェクトを参照する必要がある。&lt;br /&gt;
そのため、オブジェクトの構造が複雑な場合、どの深さのオブジェクトがターゲットになるかで、何れだけ上の親を呼ぶか、ターゲットの位置で変わってしまう場合がある。&lt;br /&gt;
この問題はmouseChildrenプロパティーの設定である程度コントロール出来る。&lt;br /&gt;
&lt;br /&gt;
&lt;hr&gt;mouseChildren プロパティ&lt;br /&gt;
mouseChildren:Boolean [読み書き可能]&lt;br /&gt;
&lt;br /&gt;
オブジェクトの子に対してマウスが有効かどうかを調べます。オブジェクトが使用可能なマウスの場合、マウスを使用して対話できます。デフォルト値は true です。&lt;br /&gt;
&lt;br /&gt;
このプロパティは、SimpleButton クラスではなく、Sprite クラスのインスタンスを使用してボタンを作成するときに役立ちます。Sprite インスタンスを使用してボタンを作成する場合、他のSprite インスタンスを追加するために addChild() メソッドを使用してボタンの修飾を選択できます。子として追加する Sprite インスタンスは、親インスタンスをターゲットオブジェクトとすることを想定するときに、マウスイベントのターゲットオブジェクトとなる場合があるため、マウスイベントについて予期しない動作を引き起こす可能性があります。親インスタンスが確実にマウスイベントのターゲットオブジェクトになるようにするには、親インスタンスのmouseChildren プロパティを false に設定します。&lt;br /&gt;
&lt;br /&gt;
このプロパティを設定しても、イベントは送出されません。インタラクティブな機能を作成するには、addEventListener() メソッドを使用する必要があります。</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/881998710693088185/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/04/idid-mousechildren-mousechildren.html#comment-form' title='1 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/881998710693088185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/881998710693088185'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/04/idid-mousechildren-mousechildren.html' title='AS3でクリックされた表示オブジェクトの特定（target取得）'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-5584311929998520341</id><published>2011-04-09T04:19:00.000+09:00</published><updated>2011-04-09T04:19:37.631+09:00</updated><title type='text'>flac+cue を読み込み曲ごとに分割して保存：MacOSX用</title><content type='html'>GUI版とCUI版がある。&lt;br /&gt;
GUI版を使っているけどとても使えるツール。&lt;br /&gt;
http://tmkk.pv.land.to/xld/</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/5584311929998520341/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/04/flaccue-macosx.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/5584311929998520341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/5584311929998520341'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/04/flaccue-macosx.html' title='flac+cue を読み込み曲ごとに分割して保存：MacOSX用'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-5869511826582314845</id><published>2011-04-05T17:17:00.002+09:00</published><updated>2011-04-05T17:26:29.139+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flash AS3"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラミング"/><title type='text'>AS3でゼロ詰めの数値文字列を作るため数値の桁数を計算する</title><content type='html'>とりあえず。&lt;br /&gt;
trace(int(Math.log(9)*Math.LOG10E+1));&lt;br /&gt;
trace(int(Math.log(99)*Math.LOG10E+1));&lt;br /&gt;
trace(int(Math.log(100)*Math.LOG10E+1));&lt;br /&gt;
trace(int(Math.log(1000)*Math.LOG10E+1));&lt;br /&gt;
&lt;br /&gt;
出力&lt;br /&gt;
&lt;br /&gt;
1&lt;br /&gt;
2&lt;br /&gt;
3&lt;br /&gt;
4</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/5869511826582314845/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/04/as3.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/5869511826582314845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/5869511826582314845'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/04/as3.html' title='AS3でゼロ詰めの数値文字列を作るため数値の桁数を計算する'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-775237619390772970</id><published>2011-03-24T00:53:00.001+09:00</published><updated>2011-03-24T00:54:47.981+09:00</updated><title type='text'>FlashAS3のクラスオブジェクト</title><content type='html'>わかってる人には当たり前かもしれないけど、&lt;br /&gt;
AS3はクラスオブジェクトをオブジェクトとして使えるのか？と言う疑問。&lt;br /&gt;
一応試した。&lt;br /&gt;
&lt;br /&gt;
●FlashTest04.as&lt;br /&gt;
package test&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;import flash.display.MovieClip; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public class FlashTest04 extends MovieClip&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;public function FlashTest04(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;var classObject:Class = StaticTestClass;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;trace(&quot;クラスオブジェクト&quot;,classObject.aaa);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
●StaticTestClass.as&lt;br /&gt;
package test&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public class StaticTestClass&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;public static var aaa:String = &quot;ほほほ&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
●出力&lt;br /&gt;
クラスオブジェクト ほほほ</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/775237619390772970/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/flashas3.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/775237619390772970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/775237619390772970'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/flashas3.html' title='FlashAS3のクラスオブジェクト'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-7514936900310565726</id><published>2011-03-23T21:27:00.006+09:00</published><updated>2011-03-23T23:50:36.455+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flash AS3"/><title type='text'>高速tweenエンジン</title><content type='html'>今はtweener使ってるけど、&lt;br /&gt;
やっぱりアイテム数が多いのでtweenエンジンも高速なものにしたいと思って調べてみた&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/kawanet/wiki/KTweenJ&quot;&gt;http://code.google.com/p/kawanet/wiki/KTweenJ&lt;br /&gt;
&lt;/a&gt;&lt;a href=&quot;http://kawa.at.webry.info/201002/article_2.html&quot;&gt;http://kawa.at.webry.info/201002/article_2.html&lt;br /&gt;
&lt;/a&gt;&lt;br /&gt;
大体同じことが出来るけど開始ディレイは無いので少し工夫がいる。&lt;br /&gt;
&lt;br /&gt;
テストコード&lt;br /&gt;
import net.kawa.tween.KTween;&lt;br /&gt;
import net.kawa.tween.KTJob;&lt;br /&gt;
import net.kawa.tween.easing.*;&lt;br /&gt;
//http://code.google.com/p/kawanet/wiki/KTweenFAQJ&lt;br /&gt;
//KTween.to(mySprite, 2, {alpha: 0.0}, Linear.easeOut, callback);&lt;br /&gt;
//KTween.from(mySprite, 3, {x:320, y;480}, Quad.easeOut).round = true;&lt;br /&gt;
//KTween.fromTo(mySprite, 4, {x:0, y:0}, {x:320, y;480}, Elastic.easeOut); &lt;br /&gt;
var job:KTJob = KTween.to(mySprite, 2,{x:320,y:40},Elastic.easeOut);&lt;br /&gt;
job.onCloseParams = [1234,&quot;へへへ&quot;];&lt;br /&gt;
job.onClose = function(a:int,b:String){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;trace(&quot;わわわ&quot;,a,b);&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/7514936900310565726/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/tween.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7514936900310565726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7514936900310565726'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/tween.html' title='高速tweenエンジン'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-4307621334972477979</id><published>2011-03-06T21:52:00.012+09:00</published><updated>2011-03-12T18:58:03.287+09:00</updated><title type='text'>プライベートメソッドの定義</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ce2f24}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #b930a1}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #518187}
span.s1 {color: #77492d}
span.s2 {color: #b930a1}
span.s3 {color: #000000}
span.Apple-tab-span {white-space:pre}
&lt;/style&gt;&lt;span class=&quot;s3&quot;&gt;プライベートにしたいメソッドを実装側（.mのほう）にインターフェース宣言を置く事で出来る。&lt;br /&gt;
(Private)の括弧の内側部分は任意で良いらしい。Protectedは無い。&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;span class=&quot;s1&quot;&gt;#import &lt;/span&gt;&quot;TestViewController.h&quot;&lt;/div&gt;&lt;div class=&quot;p2&quot;&gt;&lt;span class=&quot;s2&quot;&gt;@interface&lt;/span&gt; TestViewController(Private)&lt;/div&gt;&lt;div class=&quot;p2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;- (&lt;span class=&quot;s2&quot;&gt;void&lt;/span&gt;) buttonDidPush;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p3&quot;&gt;&lt;span class=&quot;s1&quot;&gt;@end&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;&lt;span class=&quot;s2&quot;&gt;@implementation&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;TestViewController&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;&lt;span class=&quot;s3&quot;&gt;...... &lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/4307621334972477979/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/blog-post_6430.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/4307621334972477979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/4307621334972477979'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/blog-post_6430.html' title='プライベートメソッドの定義'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-7166373852146873493</id><published>2011-03-06T19:09:00.012+09:00</published><updated>2011-03-06T22:38:07.325+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラミング"/><title type='text'>プロパティへのアクセス</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px &#39;Hiragino Kaku Gothic Pro&#39;}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px &#39;Hiragino Kaku Gothic ProN&#39;; min-height: 17.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px &#39;Hiragino Kaku Gothic ProN&#39;}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #ce2f24}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #b930a1}
p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #77492d}
p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; min-height: 13.0px}
p.p9 {margin: 0.0px 0.0px 0.0px 28.0px; text-indent: -28.0px; font: 11.0px Menlo}
span.s1 {color: #77492d}
span.s2 {color: #b930a1}
span.s3 {color: #000000}
span.s4 {color: #518187}
span.s5 {font: 11.0px &#39;Hiragino Kaku Gothic ProN&#39;}
span.s6 {color: #ce2f24}
span.s7 {color: #3e217f}
span.s8 {color: #3031d5}
span.Apple-tab-span {white-space:pre}
&lt;/style&gt;&lt;div class=&quot;p1&quot;&gt;プロパティへのアクセスはgetterやsetterをつかってアクセス出来る。&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;または構造体のメンバとして直接アクセスすることも出来る。&lt;/div&gt;&lt;div class=&quot;p2&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p3&quot;&gt;クラス定義：A.h&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span class=&quot;s1&quot;&gt;#import &lt;/span&gt;&amp;lt;Foundation/Foundation.h&amp;gt;&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;&lt;span class=&quot;s2&quot;&gt;@interface&lt;/span&gt; A : NSObject {&lt;/div&gt;&lt;div class=&quot;p6&quot;&gt;&lt;span class=&quot;s3&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&lt;/span&gt;@public&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;s4&quot;&gt;aaa&lt;/span&gt;;&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;}&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;&lt;span class=&quot;s2&quot;&gt;@property&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;int&lt;/span&gt; aaa;//&lt;span class=&quot;s5&quot;&gt;デフォルトで&lt;/span&gt;readWrite&lt;span class=&quot;s5&quot;&gt;になっている&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p6&quot;&gt;@end&lt;/div&gt;&lt;div class=&quot;p3&quot;&gt;クラス定義：A.m&lt;/div&gt;&lt;div class=&quot;p7&quot;&gt;#import &lt;span class=&quot;s6&quot;&gt;&quot;A.h&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p6&quot;&gt;@implementation&lt;span class=&quot;s3&quot;&gt; A&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p6&quot;&gt;@synthesize&lt;span class=&quot;s3&quot;&gt; aaa;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p6&quot;&gt;@end&lt;/div&gt;&lt;div class=&quot;p8&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p3&quot;&gt;呼び出し側：&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;A&lt;/span&gt; *abc = [[&lt;span class=&quot;s4&quot;&gt;A&lt;/span&gt; &lt;span class=&quot;s7&quot;&gt;alloc&lt;/span&gt;] &lt;span class=&quot;s7&quot;&gt;init&lt;/span&gt;];&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;abc-&amp;gt;&lt;span class=&quot;s4&quot;&gt;aaa&lt;/span&gt; = &lt;span class=&quot;s8&quot;&gt;125&lt;/span&gt;;&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;NSLog&lt;/span&gt;(&lt;span class=&quot;s6&quot;&gt;@&quot;test = %d&quot;&lt;/span&gt;,abc-&amp;gt;&lt;span class=&quot;s4&quot;&gt;aaa&lt;/span&gt;);//&lt;span class=&quot;s5&quot;&gt;プロパティへ直接アクセス&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s7&quot;&gt;NSLog&lt;/span&gt;(&lt;span class=&quot;s6&quot;&gt;@&quot;test = %d&quot;&lt;/span&gt;,abc.&lt;span class=&quot;s4&quot;&gt;aaa&lt;/span&gt;);//&lt;span class=&quot;s5&quot;&gt;ゲタを使ってアクセス&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p8&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p3&quot;&gt;結果：&lt;/div&gt;&lt;div class=&quot;p9&quot;&gt;&lt;b&gt;2011-03-06 19:22:32.178 testAccessPropertyOrAccesser[50215:207] test = 125&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;p9&quot;&gt;&lt;b&gt;2011-03-06 19:22:32.180 testAccessPropertyOrAccesser[50215:207] test = 125&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/7166373852146873493/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/blog-post_06.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7166373852146873493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7166373852146873493'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/blog-post_06.html' title='プロパティへのアクセス'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-7285869410318108872</id><published>2011-03-04T23:01:00.008+09:00</published><updated>2011-03-06T20:26:52.217+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラミング"/><title type='text'>ブロック</title><content type='html'>ブロック、良く解らないけどプログラムの小さな固まり（たぶんすごく大きくても良いけど）。&lt;br /&gt;
変数や、リテラル値として定義できる。&lt;br /&gt;
AS3の関数リテラルやJavaScriptのクロージャ？のような感じ。&lt;br /&gt;
ちょっとわかりにくいので使わなくても良いかな？と思うけど、&lt;br /&gt;
COCOAフレームワークのではメソッドの引数として使われることもあるようなので必須なのかも。&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #d200a8;&quot;&gt;int&lt;/span&gt; a = &lt;span style=&quot;color: #3a00e3;&quot;&gt;5&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #d200a8;&quot;&gt;int&lt;/span&gt; (^onefrom)(&lt;span style=&quot;color: #d200a8;&quot;&gt;int&lt;/span&gt;); &lt;span style=&quot;color: #008d00;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: #008d00; font: normal normal normal 11px/normal &#39;Hiragino Kaku Gothic ProN&#39;;&quot;&gt;ブロック変数定義&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #008d00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;onefrom = ^(&lt;/span&gt;&lt;span style=&quot;color: #d200a8;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; anint){ &lt;/span&gt;//&lt;span style=&quot;font: normal normal normal 11px/normal &#39;Hiragino Kaku Gothic ProN&#39;;&quot;&gt;ブロックのリテラル定義、ブロック変数に代入&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #d200a8;&quot;&gt;int&lt;/span&gt; b = &lt;span style=&quot;color: #3a00e3;&quot;&gt;10&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #d200a8;&quot;&gt;return&lt;/span&gt; anint +a +b;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;};&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #480088;&quot;&gt;NSLog&lt;/span&gt;(&lt;span style=&quot;color: #ea0000;&quot;&gt;@&quot;Block =%d&quot;&lt;/span&gt;,onefrom(&lt;span style=&quot;color: #3a00e3;&quot;&gt;20&lt;/span&gt;));&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: small;&quot;&gt;結果：&lt;/span&gt;&lt;/div&gt;2011-03-04 22:46:43.113 testBlock[15953:207] Block =35</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/7285869410318108872/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/blog-post_04.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7285869410318108872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7285869410318108872'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/blog-post_04.html' title='ブロック'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-7190481075716718755</id><published>2011-03-04T19:53:00.000+09:00</published><updated>2011-03-04T19:53:51.336+09:00</updated><title type='text'>痛風</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAwdTiKZ0uPTnu2p8p4qbBdMnWtsNoxLgZQ2i3Wd-e6kodFYiu-t3jlbWoUnGL7iD8mEGOI9x75gKOT8umYv9Uzcd_gl8B04Pl-r3bjmK3Lll7tF9DLx4QdqT6j-mjDy8WcG-OqduYQ49k/s1600/100304_kusuri.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear:left; float:left;margin-right:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; width=&quot;299&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAwdTiKZ0uPTnu2p8p4qbBdMnWtsNoxLgZQ2i3Wd-e6kodFYiu-t3jlbWoUnGL7iD8mEGOI9x75gKOT8umYv9Uzcd_gl8B04Pl-r3bjmK3Lll7tF9DLx4QdqT6j-mjDy8WcG-OqduYQ49k/s400/100304_kusuri.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;病院行ってきた。&lt;br /&gt;
尿酸値９．８orz&lt;br /&gt;
クスリパワーアップ！</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/7190481075716718755/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7190481075716718755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7190481075716718755'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/03/blog-post.html' title='痛風'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAwdTiKZ0uPTnu2p8p4qbBdMnWtsNoxLgZQ2i3Wd-e6kodFYiu-t3jlbWoUnGL7iD8mEGOI9x75gKOT8umYv9Uzcd_gl8B04Pl-r3bjmK3Lll7tF9DLx4QdqT6j-mjDy8WcG-OqduYQ49k/s72-c/100304_kusuri.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7184992387921835404.post-7172719596780237706</id><published>2011-02-28T02:28:00.012+09:00</published><updated>2011-03-06T20:17:12.003+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><category scheme="http://www.blogger.com/atom/ns#" term="プログラミング"/><title type='text'>@class</title><content type='html'>お互いに参照し合うようにヘッダファイルをインポートするとエラーが起きる。ヘッダファイルにはヘッダファイルをインポートせずに、使用する型がクラスであるという事だけを宣言して（@class MainController;）、ソースファイル側にヘッダファイルをインポートする。&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;PhotosController.h
 #import &amp;lt;uikit/uikit.h&amp;gt;
 @class MainController;
 @interface PhotosController : UIViewController {
　　　MainController *parent;
 }
 @property (nonatomic, retain) MainController *parent;
 @end
MainController.h
 #import &amp;lt;uikit/uikit.h&amp;gt;
 @class PhotosController;
 @interface MainController : UIViewController {
　　　PhotosController *_photosController;
 }
 @property (nonatomic, retain) PhotosController *_photosController;
 @end&lt;/pre&gt;&lt;iframe src=&quot;http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=ielements-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;asins=4797346809&quot; style=&quot;width:120px;height:240px;&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;iframe src=&quot;http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=ielements-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;asins=4797361786&quot; style=&quot;width:120px;height:240px;&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://shinjixxxxx.blogspot.com/feeds/7172719596780237706/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/02/photoscontroller.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7172719596780237706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7184992387921835404/posts/default/7172719596780237706'/><link rel='alternate' type='text/html' href='http://shinjixxxxx.blogspot.com/2011/02/photoscontroller.html' title='@class'/><author><name>shinjixxxxx</name><uri>http://www.blogger.com/profile/06795973920593403677</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMGGbCqbOQKjj7m23Nx5JDpIGPRhhYL58bEpph2U0NobWoDKFUngmnlHLHX8o8oUqMkRP4TrYUcTp-RoTt7Gn86MOX9xr3FccP1focW9QocarfWZwpzjYe-0bMoWJw/s220/1156312_1644363070.jpg'/></author><thr:total>0</thr:total></entry></feed>