<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Hi-Farm blog</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/" />
    <link rel="self" type="application/atom+xml" href="http://www.hi-farm.net/blog/atom.xml" />
   <id>tag:www.hi-farm.net,2007:/blog//2</id>
    <link rel="service.post" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2" title="Hi-Farm blog" />
    <updated>2007-09-06T09:12:40Z</updated>
    <subtitle>ここではFlashについていろいろと実験しています。</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type  3.2-ja-2</generator>
 
<entry>
    <title>454</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/09/454.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=74" title="454" />
    <id>tag:www.hi-farm.net,2007:/blog//2.74</id>
    
    <published>2007-09-06T09:12:09Z</published>
    <updated>2007-09-06T09:12:40Z</updated>
    
    <summary>54564</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="Flash" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        4545
        4545
    </content>
</entry>
<entry>
    <title>http://blog.hi-farm.net/tb.php?article_id=1188919489</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/09/httpbloghifarmnettbphparticle.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=73" title="http://blog.hi-farm.net/tb.php?article_id=1188919489" />
    <id>tag:www.hi-farm.net,2007:/blog//2.73</id>
    
    <published>2007-09-04T15:26:59Z</published>
    <updated>2007-09-04T15:27:58Z</updated>
    
    <summary>http://blog.hi-farm.net/tb.php?article_i...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="Ajax" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        http://blog.hi-farm.net/tb.php?article_id=1188919489
        http://blog.hi-farm.net/tb.php?article_id=1188919489
    </content>
</entry>
<entry>
    <title>Mac IE!!!</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/06/mac_ie.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=72" title="Mac IE!!!" />
    <id>tag:www.hi-farm.net,2007:/blog//2.72</id>
    
    <published>2007-06-23T10:13:34Z</published>
    <updated>2007-06-23T10:16:10Z</updated>
    
    <summary>ひさびさにHTMLなんですが、 既にサポートの終わっているMac IE。 Web...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="HTML" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        <![CDATA[ひさびさにHTMLなんですが、
既にサポートの終わっているMac IE。

WebブラウザといえばIEという風潮のせいか、デザインの業種以外にもMac IEを使っている人がいる。

で、&lt;textarea&gt;の文字が、UTFの場合、Mac IEは文字化けするらしい。

正直サポート外にしたかったのだが、
cssでtextareaのフォントを指定する事で回避できました。

]]>
        
    </content>
</entry>
<entry>
    <title>Flash CS3 インストールででこけた。</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/06/flash_cs3_1.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=71" title="Flash CS3 インストールででこけた。" />
    <id>tag:www.hi-farm.net,2007:/blog//2.71</id>
    
    <published>2007-06-22T07:41:49Z</published>
    <updated>2007-06-22T07:49:12Z</updated>
    
    <summary>早速つまづいた。 原因は英語のTrial版をそのままゴミ箱へ入れてしまったのが原...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="Flash" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        <![CDATA[早速つまづいた。

原因は英語のTrial版をそのままゴミ箱へ入れてしまったのが原因。

早速アドビへ電話。

すぐにつながった。
気分がいい。

やはり原因は、英語版のFlashがきちんと削除されていないことが原因らしい。

これは他のCreative Suiteでも同様の現象が起きるらしい。

で、教えていただいた通り、
Googleにて『adobe 231362』と検索し、

［231362］プレリリース（ベータ）版 CS3 アプリケーションを削除する方法
とかかれたこのページへ。

<a href="http://support.adobe.co.jp/faq/faq/qadoc.sv?231362+002+3" target="_blank">http://support.adobe.co.jp/faq/faq/qadoc.sv?231362+002+3</a>

僕はMacなので、CS3Cleanをダウンロードし、その中をダブルクリックして行くと、
突然Terminalが開く。

Terminalは最近大変したしみのあるアプリケーション。
ここで、言語を日本語にすると、快適にも日本語で解説が始まる。

そのまま素直に流れに従うと、見事解決！！

『最悪の場合データが消える可能性がある』とか書かれてちょっと怖かったけど、無事終了しました。

]]>
        
    </content>
</entry>
<entry>
    <title>Flash CS3</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/06/flash_cs3.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=70" title="Flash CS3" />
    <id>tag:www.hi-farm.net,2007:/blog//2.70</id>
    
    <published>2007-06-22T06:51:41Z</published>
    <updated>2007-06-22T06:55:12Z</updated>
    
    <summary>ついに日本版も販売開始ですね！！...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="Flash" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        ついに日本版も販売開始ですね！！
        
    </content>
</entry>
<entry>
    <title>自身のIPを確認『メモ』</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/06/ip.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=69" title="自身のIPを確認『メモ』" />
    <id>tag:www.hi-farm.net,2007:/blog//2.69</id>
    
    <published>2007-06-20T16:52:02Z</published>
    <updated>2007-06-20T17:17:55Z</updated>
    
    <summary>普通にipconfigですね。...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="linux" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        普通にipconfigですね。
        
    </content>
</entry>
<entry>
    <title>flex3とAIR。</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/06/flex3air.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=68" title="flex3とAIR。" />
    <id>tag:www.hi-farm.net,2007:/blog//2.68</id>
    
    <published>2007-06-11T07:19:39Z</published>
    <updated>2007-06-11T07:23:03Z</updated>
    
    <summary>でましたねー。Flex 3 にAIR。（Apollo） もしかしたら実案件で経験...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="Flex" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        でましたねー。Flex 3 にAIR。（Apollo）

もしかしたら実案件で経験できそうなので、Flex Builderを買おうか検討してただけに、助かった。。
で、お試しを始めますよ。

またMac版だけなかなか買えないなんてことがないように祈っておりまよ。
        
    </content>
</entry>
<entry>
    <title>PrintJob</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/06/printjob.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=67" title="PrintJob" />
    <id>tag:www.hi-farm.net,2007:/blog//2.67</id>
    
    <published>2007-06-06T15:53:36Z</published>
    <updated>2007-06-06T15:59:30Z</updated>
    
    <summary>PrintJobクラスを使って、『なるべく』用紙サイズにあわせて印刷できるように...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="Flash" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        PrintJobクラスを使って、『なるべく』用紙サイズにあわせて印刷できるようにする。
ただ、これは、
印刷できる大きさ　＜　実際のMCの大きさ
の場合はこれでいいけど、違う時は
Math.min　ー＞　Math.max　にかえた方がいいかも。

var page:Number  = 0;
	var pj:PrintJob = new PrintJob();
	
	if(pj.start()){
		var area:Object = new Object(); //
		//ステージの幅と実際に印刷される大きさを比較する。
		var x1:Number = pj.pageWidth;
		var x2:Number = Stage.width;
		//x1 , x2 と同様。
		var y1:Number = pj.pageHeight;
		var y2:Number = Stage.height;
		//
		var scale_x:Number = x1 / x2 * 100;
		var scale_y:Number = y1 / y2 * 100;
		//はみ出さないように、x と y の縮小具合を比較し、小さい方を採用。
		var scale:Number = Math.min(scale_x, scale_y );
		_root._xscale = scale;
		_root._yscale = scale;
		area = {xMin:0, xMax: Stage.width , yMin: 0 , yMax : Stage.height};
		pj.addPage(0,area,{printAsBitmap:true},1);
		pj.send();
	}
	_root._xscale = 100;
	_root._yscale = 100;
	delete pj;
        
    </content>
</entry>
<entry>
    <title>vine linux</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/06/vine_linux.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=66" title="vine linux" />
    <id>tag:www.hi-farm.net,2007:/blog//2.66</id>
    
    <published>2007-06-02T11:59:56Z</published>
    <updated>2007-06-02T12:10:48Z</updated>
    
    <summary>結局、FreeBSDは先日購入したサーバー、 DELLのSC440で使うのはちょ...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="linux" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        結局、FreeBSDは先日購入したサーバー、
DELLのSC440で使うのはちょっと厳しそう。

ネットワークにつなげない。
ネットワークカードを認識してくれない模様。

で、結局こっちにはVine Linuxを入れました。
こちらは認識してくれるし、GUIを突っ込んだので、簡単に環境が作れそう。

と、思ってたら、Sambaの設定でちょっと困ってます。

で、FreeBSDはmacminiに突っ込む事に。
こちらは無線LANは認識してくれるので、無線LANで突っ込む予定。

うーん。。。

なんか、一つ身につけようとすると、実は関連して沢山勉強しないと行けないなあ、という事がでてきて困ります。

サーバー周りで設定含めてやらないといけないなあ、と思っていると、Apacheのことを勉強し、
サーバーにプログラムをインストールしてWebで提供したい、と考えると、サーバー全体の事。
自然とUNIXの知識が。。
で、プログラムをインストールしても環境ごとの差異でつまづくので、Cの知識とか。。。
で、OSのインストールも必要になるので、OSの知識が。。。
で、やっぱり環境ごとの差異があるので、ハードウェアとの知識が。。。
で、簡単にプログラムをインストールするように、FreeBSDでいう、portsをインストールしても、うまく行かないので、アップグレードしようとすると、結局はネットにつながないといけなくなる。
さらには共有が必要になり、Sambaとか。
サーバーだからメールもやらんと、と思うとsendmailとかPostfixとか。。

となるとわざわざOS毎にエディタを探すのも面倒なので、vimとかを使わないといけなくなり。。

他にはApollo使うには、アプリケーションという発想からすると、Flashだけっていうのも効率よくないのでFlexか。。そうなるとmxmlか。。ってきりがなくなりますね。。

ああ、ディープへディープなところへはまって行く。。
        
    </content>
</entry>
<entry>
    <title>mxml基本。</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/06/mxml.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=65" title="mxml基本。" />
    <id>tag:www.hi-farm.net,2007:/blog//2.65</id>
    
    <published>2007-05-31T16:44:55Z</published>
    <updated>2007-05-31T16:48:13Z</updated>
    
    <summary>ちょっとずつ、Flexも覚えたいなあ、と思ってます。 で、メモとして、記述。 サ...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="Flex" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        <![CDATA[ちょっとずつ、Flexも覚えたいなあ、と思ってます。

で、メモとして、記述。

サンプルはこれ。
<a href="http://www.hi-farm.net/blog/sample3.swf">ダウンロードしたファイル</a>
基本的なHBoxとVBoxです。

サンプルコード：
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <mx:Panel x="450" y="150" width="400" height="300" layout="absolute" title="sample form">
                <mx:VBox x="35" y="10" height="100%">
                        <mx:HBox width="100%">
                                <mx:Label text="test" />
                                <mx:Label text="label line2." />
                        </mx:HBox>
                        <mx:HBox width="100%">
                                <mx:Label text="para2" />
                                <mx:Label text="paragraph2 line2." />
                        </mx:HBox>
                </mx:VBox>
        </mx:Panel>
</mx:Application>

要するに、HBoxの内部にあるものは横に並び、
VBoxの内部にある物は上下に並ぶ、ということですね。]]>
        
    </content>
</entry>
<entry>
    <title>今更。</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/05/post_11.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=64" title="今更。" />
    <id>tag:www.hi-farm.net,2007:/blog//2.64</id>
    
    <published>2007-05-29T17:49:54Z</published>
    <updated>2007-05-29T17:51:39Z</updated>
    
    <summary>ここしばらくFlashの仕事はあまり無かったのですが、最近連続でFlashを触る...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="Flash" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        ここしばらくFlashの仕事はあまり無かったのですが、最近連続でFlashを触る仕事がありました。

で、ここぞ！とばかりにEventDispatcherをつかったのですが、便利すぎて今まで使わなかった事がばからしく思えてきますね。


        
    </content>
</entry>
<entry>
    <title>FreeBSDでのMySQL</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/05/freebsdmysql.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=63" title="FreeBSDでのMySQL" />
    <id>tag:www.hi-farm.net,2007:/blog//2.63</id>
    
    <published>2007-05-27T21:25:07Z</published>
    <updated>2007-05-27T21:27:52Z</updated>
    
    <summary>ずーっとmyql.sockが生成されなくて困っていたが、 とりあえずメモ。 /v...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="MySQL" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        ずーっとmyql.sockが生成されなくて困っていたが、

とりあえずメモ。

/var/db/mysql以下を
chown mysql:mysql mysql

tosi,

cd /usr/local ;/usr/local/bin/mysqld_safe &amp; 

これでひとまずOK。
あとは、mysql.sockを保護しないとですね。
        
    </content>
</entry>
<entry>
    <title>わかった事。</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/05/post_10.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=62" title="わかった事。" />
    <id>tag:www.hi-farm.net,2007:/blog//2.62</id>
    
    <published>2007-05-25T21:27:28Z</published>
    <updated>2007-05-25T21:30:19Z</updated>
    
    <summary>FreeBSDでツールをportsなりでインストールしてたのですが、 libto...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="FreeBSD" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        FreeBSDでツールをportsなりでインストールしてたのですが、
libtool: --tag　がなになにとかでつまずいていたのですが、

entering....[]の場所を確認し、
その階層のMakefileを開いて、「LIBTOOL 」のあたりに「--tag=CC」とでもすればいいみたいですね。
これでもだめなら、ccacheを確認してみましょうね。ということか。
        
    </content>
</entry>
<entry>
    <title>memo</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/05/memo.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=61" title="memo" />
    <id>tag:www.hi-farm.net,2007:/blog//2.61</id>
    
    <published>2007-05-25T05:15:47Z</published>
    <updated>2007-05-25T05:21:23Z</updated>
    
    <summary>FreeBSDを最近触り始めました。 で、a52decでmakeする時にはじかれ...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="FreeBSD" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        <![CDATA[FreeBSDを最近触り始めました。

で、a52decでmakeする時にはじかれてたのですが、はじめてエラーコードを読んで解決できたので記念にメモ。

make時のエラー：
audio_out_oss.c:38:31: machine/soundcard.h: No such file or directory

ってことは、このマシンは別の場所にsoundcard.hがあるのでは？と思って、
find / -name soundcard.h
すると、
sys/soundcard.hであることを発見。

で、これを
find . -name audio_out_oss.cして libao/にあることを発見。

なので、
vi audio_out_oss.c で

#include <machine/soundcard.h>を
#include <sys/soundcard.h>に変更し、
makeすると、通りました！
ただ、#ついててどうしてmakeが通ったのかがわからん。。。。]]>
        
    </content>
</entry>
<entry>
    <title>Textmateについて。</title>
    <link rel="alternate" type="text/html" href="http://www.hi-farm.net/blog/2007/05/textmate.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.hi-farm.net/blog/mt/mt-atom.cgi/weblog/blog_id=2/entry_id=60" title="Textmateについて。" />
    <id>tag:www.hi-farm.net,2007:/blog//2.60</id>
    
    <published>2007-05-24T06:24:51Z</published>
    <updated>2007-05-24T06:28:06Z</updated>
    
    <summary>昨日の、Apollo mini campで、 Mike Chambers と D...</summary>
    <author>
        <name>Hi-Farm</name>
        <uri>http://www.hi-farm.net/</uri>
    </author>
            <category term="Blog" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.hi-farm.net/blog/">
        <![CDATA[昨日の、Apollo mini campで、
Mike Chambers と Daniel Duraが使っていたテキストエディタ、Textmate。
とても便利そうだったので、使えないかと調べました。

<a href="http://d.hatena.ne.jp/hetima/20061102/1162435711" target="_blank">http://d.hatena.ne.jp/hetima/20061102/1162435711</a>。

なんと、『日本語入力がだめ！！』

日本人にはそこが重要なのですよ！！

このブログをみながらインストールしようとしたのですが、やっぱりつまずきました。。。

解決したら方法とともにまた書きますね。
]]>
        
    </content>
</entry>

</feed> 

