<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>wp.aiziro.com</title>
	<atom:link href="http://wp.aiziro.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wp.aiziro.com</link>
	<description>藍白デザイン Web制作からコンサルティングまで</description>
	<lastBuildDate>Wed, 29 Dec 2010 06:13:16 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>制作実績 : MUSICUBE AUDITION 2010</title>
		<link>http://wp.aiziro.com/archives/173/</link>
		<comments>http://wp.aiziro.com/archives/173/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 13:02:22 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=173</guid>
		<description><![CDATA[ホームページ制作実績【MUSICUBE AUDITION 2010】
クライアント：株式会社キューブ様
担当分野：サイトデザイン・htmlコーディング・ポスター＆エントリーシートのディレクション
ひとことメモ：いきものが [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【MUSICUBE AUDITION 2010】</span><br />
<span class="bk3">クライアント</span>：株式会社キューブ様<br />
<span class="bk3">担当分野</span>：サイトデザイン・htmlコーディング・ポスター＆エントリーシートのディレクション<br />
<span class="bk3">ひとことメモ</span>：いきものががり、藤木直人さんらが所属するCUBE Inc. さんが主催で開催されるミュージシャン発掘オーディション、MUSICUBE AUDITIONの2010年度版サイトを担当しました。ポスターとエントリーシートのデザインディレクションからスタートし、サイトを含めたデザイン全体の統一感で、イベント自体の今後の“ブランド感”にもつながればと考えました。個別のデザイン面では、CUBEくんというオリジナルキャラクターとのバランスも考え、あえて原色に近い色を使い、ポップ感を全面に押し出す方向に。若干グレーがまじった黒と黄色のコントラストで全体の印象をまとめています。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/173/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作実績 : 常盤綜合法律事務所 ホームページ</title>
		<link>http://wp.aiziro.com/archives/169/</link>
		<comments>http://wp.aiziro.com/archives/169/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 12:41:35 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=169</guid>
		<description><![CDATA[ホームページ制作実績【常盤綜合法律事務所 ホームページ】
担当分野：サイトデザイン・地図デザイン・htmlコーディング
ひとことメモ：常盤綜合法律事務所さんの新規サイト立ち上げを担当させていただきました。SEOの観点から [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【常盤綜合法律事務所 ホームページ】</span><br />
<span class="bk3">担当分野</span>：サイトデザイン・地図デザイン・htmlコーディング<br />
<span class="bk3">ひとことメモ</span>：常盤綜合法律事務所さんの新規サイト立ち上げを担当させていただきました。SEOの観点からも、当初の予定よりページ数・テキスト量ともにボリュームを多くしてサイトを再構成。デザインに関しては、質実剛健・信頼感といったキーワードが打ち合わせであがり、最終的に茶系の落ち着いた色で統一感をもたせました。ご年配の方も相談にこられることも多いとのことでしたので、テキストの組み方に配慮しています。文章量が多いページでの最適なテキストサイズと行間を何度かテストし、切り替え時の大きさの差のバランスも調節。改めてウェブページにおけるテキスト構成の重要性を実感しました。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/169/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作実績 : 弁護士 松本徹子 Webサイト</title>
		<link>http://wp.aiziro.com/archives/166/</link>
		<comments>http://wp.aiziro.com/archives/166/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 12:25:01 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=166</guid>
		<description><![CDATA[ホームページ制作実績【弁護士 松本徹子 Webサイト】
担当分野：サイトデザイン・htmlコーディング・印刷物のデザイン
ひとことメモ：第一東京弁護士会所属の松本徹子弁護士の新規サイト立ち上げに参加させていただきました。 [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【弁護士 松本徹子 Webサイト】</span><br />
<span class="bk3">担当分野</span>：サイトデザイン・htmlコーディング・印刷物のデザイン<br />
<span class="bk3">ひとことメモ</span>：第一東京弁護士会所属の松本徹子弁護士の新規サイト立ち上げに参加させていただきました。遺言・相続に関する法律等の説明ページとなるため、サイトデザインの第一目標は、「文字量が多くても読みやすく、かつ理解しやすい」に設定。カラーリングも明るめにし、女性らしい親しみやすさも感じられるよう、柔らかい印象のアイコンやイラストを使用しています。関連する印刷物も担当しており、ホームページと印刷物、全てのデザインに統一感をもたせたデザインを提案させていただきました。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/166/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作実績 : KAGOME トマトケチャップ</title>
		<link>http://wp.aiziro.com/archives/158/</link>
		<comments>http://wp.aiziro.com/archives/158/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 11:21:09 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=158</guid>
		<description><![CDATA[ホームページ制作実績【ちょっとで、もっと Happy Tomato Ketchup Life】
クライアント：カゴメ株式会社様 株式会社メンバーズ様
担当分野：グランドデザイン・レシピ検索システム・Flashオーサリング [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【ちょっとで、もっと Happy Tomato Ketchup Life】</span><br />
<span class="bk3">クライアント</span>：カゴメ株式会社様 株式会社メンバーズ様<br />
<span class="bk3">担当分野</span>：グランドデザイン・レシピ検索システム・Flashオーサリング・htmlコーディング・写真ディレクション<br />
<span class="bk3">ひとことメモ</span>：KAGOMEさんのトマトケチャップのブランドプロモーションサイト。Flash演出による商品紹介やレシピ検索などもシステム面から実装しています。また、歴史あるブランドなので、その歴史や商品のポイントなどを改めてユーザーに知ってもらう、というコンセプトのもと、htmlの静的ページによる読み物系のコンテンツも豊富に掲載されました。デザイン面からは、家庭的で少し“ほっこり”とできる、温かみのある方向性を目指しました。Flashの演出面でも、シャープな動きを極力減らし、バウンドするボールのようなイメージの柔らかみのある演出を多用しています。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/158/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作実績 : Magazine House Recruit 2010</title>
		<link>http://wp.aiziro.com/archives/183/</link>
		<comments>http://wp.aiziro.com/archives/183/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 11:00:08 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=183</guid>
		<description><![CDATA[ホームページ制作実績【Magazine House Recruit 2010】
クライアント：株式会社マガジンハウス様
担当分野：グランドデザイン・Flash制作・htmlコーディング
ひとことメモ：前年度同様に、出版社 [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【Magazine House Recruit 2010】</span><br />
<span class="bk3">クライアント</span>：株式会社マガジンハウス様<br />
<span class="bk3">担当分野</span>：グランドデザイン・Flash制作・htmlコーディング<br />
<span class="bk3">ひとことメモ</span>：前年度同様に、出版社採用ホームページということで、“紙”の質感を感じてもらえるようなデザイン、インターフェースを心がけました。各ページのデザインはあくまで雑誌のレイアウトデザインのようなイメージで。また、発想豊かな柔らかいイメージの企業イメージを強くアピールするために、Flashの演出部分にはなるべく“遊び”の部分をもうけるようにしました。本社ビルをデフォルメし、少しコミカルな登場演出を加えたり、ロゴをキャラクターのように見立てて登場させたりもしています。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/183/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作実績 : 無印良品 MUJI Life</title>
		<link>http://wp.aiziro.com/archives/156/</link>
		<comments>http://wp.aiziro.com/archives/156/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 10:57:12 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=156</guid>
		<description><![CDATA[ホームページ制作実績【無印良品 MUJI Life】
クライアント：株式会社良品計画様 株式会社メンバーズ様
担当分野：サイトデザイン・htmlコーディング・写真撮影
ひとことメモ：無印良品さんの新生活向けサイト、MUJ [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【無印良品 MUJI Life】</span><br />
<span class="bk3">クライアント</span>：株式会社良品計画様 株式会社メンバーズ様<br />
<span class="bk3">担当分野</span>：サイトデザイン・htmlコーディング・写真撮影<br />
<span class="bk3">ひとことメモ</span>：無印良品さんの新生活向けサイト、MUJI Lifeのリニューアルにあたり、サイトデザイン、htmlコーディング、写真撮影などを担当させていただきました（※担当分のコンテンツは期間限定で公開されたものです）。それまではモデルさんが登場していましたが、このコンテンツでは実際のご夫婦の方に登場していただき、インテリアのスタイリングに対して、感想やコメントをいただく、というコンテンツにリニューアルしました。実際の商品を試しながら撮影を楽しんでいただいたカップルの方々と同じように、サイトのユーザーにも家具選びの楽しさを感じてもらえるようなデザインを目指しました。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/156/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作実績 : シガノンCQ</title>
		<link>http://wp.aiziro.com/archives/153/</link>
		<comments>http://wp.aiziro.com/archives/153/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 10:40:39 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=153</guid>
		<description><![CDATA[ホームページ制作実績【禁煙補助パッチ シガノンCQ】
クライアント：グラクソ・スミスクライン株式会社様 株式会社アマナ様
担当分野：Flashオーサリング
ひとことメモ：禁煙補助パッチ シガノンCQのプロモーションサイト [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【禁煙補助パッチ シガノンCQ】</span><br />
<span class="bk3">クライアント</span>：グラクソ・スミスクライン株式会社様 株式会社アマナ様<br />
<span class="bk3">担当分野</span>：Flashオーサリング<br />
<span class="bk3">ひとことメモ</span>：禁煙補助パッチ シガノンCQのプロモーションサイトで、Flashオーサリングを担当させていただきました。禁煙診断やQ&#038;A、Flashゲームなど、コンセプトの段階からユーザーを飽きさせない参加系のコンテンツが多く提案されていたので、全面Flashでの展開に。アメコミ調のキャラクターデザインとの合性を考え、細かな演出やキャラクターの動き方にコミカルな印象を強調して実装しています。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/153/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作実績 : Bar de Ollaria バルデオジャリア</title>
		<link>http://wp.aiziro.com/archives/150/</link>
		<comments>http://wp.aiziro.com/archives/150/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 10:22:45 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=150</guid>
		<description><![CDATA[ホームページ制作実績【Bar de Ollaria バル・デ・オジャリア】
クライアント：Bar de Ollaria バル・デ・オジャリア様
担当分野：サイトデザイン・地図デザイン・写真撮影・Flash・htmlコーデ [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【Bar de Ollaria バル・デ・オジャリア】</span><br />
<span class="bk3">クライアント</span>：Bar de Ollaria バル・デ・オジャリア様<br />
<span class="bk3">担当分野</span>：サイトデザイン・地図デザイン・写真撮影・Flash・htmlコーディング<br />
<span class="bk3">ひとことメモ</span>：銀座・コリドー街のスペインバル、バル・デ・オジャリアさんのお店立ち上げと同時に立ち上げるサイトの制作を担当させていただきました。本場のシェリーの品揃えや、おじやをスペイン風にアレンジしたオジャなど、常に新しい話題や素材が生まれてくるバルなので、オリジナルブログをコンテンツの中心に据える構成を提案しました。WordPressによる実装で、小規模なCMS要素も組み込まれています。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/150/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作実績 : 和田建築 Wada Construction</title>
		<link>http://wp.aiziro.com/archives/145/</link>
		<comments>http://wp.aiziro.com/archives/145/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 09:53:12 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=145</guid>
		<description><![CDATA[ホームページ制作実績【和田建築 Wada Construction】
クライアント：和田建築様
担当分野：サイトデザイン・地図デザイン・htmlコーディング
ひとことメモ：デザインへのこだわりをオーダー時にいただいたので [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【和田建築 Wada Construction】</span><br />
<span class="bk3">クライアント</span>：和田建築様<br />
<span class="bk3">担当分野</span>：サイトデザイン・地図デザイン・htmlコーディング<br />
<span class="bk3">ひとことメモ</span>：デザインへのこだわりをオーダー時にいただいたので、ホームページらしいホームページ、からはなるべく離れたデザインで仕上げることを第一に考えました。これまでの業務実績をご紹介されるのがメインとのことでしたので、案件ごとの紹介ページを、施主さんへ送るポストカードのように見立て、さらにその周りに余白を大きくとることで、一般的なサイトデザインとも少し違う印象のサイトに仕上がりました。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/145/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作実績 : WAMONO 和物</title>
		<link>http://wp.aiziro.com/archives/142/</link>
		<comments>http://wp.aiziro.com/archives/142/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 09:34:15 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=142</guid>
		<description><![CDATA[ホームページ制作実績【WAMONO ワモノ】
クライアント：&#8211;
担当分野：サイトデザイン・htmlコーディング
ひとことメモ：期間限定でロンドンなどで配布されたフリーペーパー「WAMONO」のコンセプトサイト [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【WAMONO ワモノ】</span><br />
<span class="bk3">クライアント</span>：&#8211;<br />
<span class="bk3">担当分野</span>：サイトデザイン・htmlコーディング<br />
<span class="bk3">ひとことメモ</span>：期間限定でロンドンなどで配布されたフリーペーパー「WAMONO」のコンセプトサイト。フリーペーパーは英語版のみでしたが、サイトは英語の対訳を併記する形のデザインとなりました。英語を掲載するときの均等揃えなど、日本語だけのサイトを制作していると見落としがちな課題も、改めて発掘させてくれました。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/142/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>制作実績 : Magazine House Recruit 2009</title>
		<link>http://wp.aiziro.com/archives/135/</link>
		<comments>http://wp.aiziro.com/archives/135/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 05:45:40 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=135</guid>
		<description><![CDATA[ホームページ制作実績【Magazine House Recruit 2009】
クライアント：株式会社マガジンハウス様
担当分野：グランドデザイン・Flash制作・htmlコーディング
ひとことメモ：出版社の採用ホームペ [...]]]></description>
			<content:encoded><![CDATA[<p><span class="bk3">ホームページ制作実績【Magazine House Recruit 2009】</span><br />
<span class="bk3">クライアント</span>：株式会社マガジンハウス様<br />
<span class="bk3">担当分野</span>：グランドデザイン・Flash制作・htmlコーディング<br />
<span class="bk3">ひとことメモ</span>：出版社の採用ホームページということで、なるべくデジタルという印象ではなく、“紙”の質感を感じてもらえるようなデザイン、インターフェースを心がけました。Flash内のページ遷移を、日めくりカレンダーのように、ページをちぎってその後ろに次のページが登場する、という演出を加えています。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/135/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>サーバの引っ越し完了</title>
		<link>http://wp.aiziro.com/archives/125/</link>
		<comments>http://wp.aiziro.com/archives/125/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 03:19:09 +0000</pubDate>
		<dc:creator>adminmin</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=125</guid>
		<description><![CDATA[サイトマップ系のエラーが段々増えてきまして、
サーバの移行を常々考えていましたが、ようやく完了。
WordPressも思い切って3.0に。
久々のエクスポート＆インポート作業でどうなることかと思いましたが、
とりあえず何 [...]]]></description>
			<content:encoded><![CDATA[<p>サイトマップ系のエラーが段々増えてきまして、</p>
<p>サーバの移行を常々考えていましたが、ようやく完了。</p>
<p>WordPressも思い切って3.0に。</p>
<p>久々のエクスポート＆インポート作業でどうなることかと思いましたが、</p>
<p>とりあえず何の不具合もなく稼働中。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/125/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL : TIPS</title>
		<link>http://wp.aiziro.com/archives/84/</link>
		<comments>http://wp.aiziro.com/archives/84/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 09:15:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[TIPS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=84</guid>
		<description><![CDATA[Database



表示
mysql&#62; SHOW DATABASES


作成
mysql&#62; CREATE DATABASE db-name


使用
mysql&#62; USE db-name



T [...]]]></description>
			<content:encoded><![CDATA[<p><span class="cyan">Database</span></p>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th>表示</th>
<td>mysql&gt; SHOW DATABASES</td>
</tr>
<tr>
<th>作成</th>
<td>mysql&gt; CREATE DATABASE db-name</td>
</tr>
<tr>
<th>使用</th>
<td>mysql&gt; USE db-name</td>
</tr>
</tbody>
</table>
<p class="marT20"><span class="cyan">Table</span></p>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th>作成</th>
<td>mysql&gt; CREATE TABLE　tb-name(no INT, name VARCHAR(50), birth DATE)</td>
</tr>
<tr>
<th>表示</th>
<td>mysql&gt; SHOW TABLES</td>
</tr>
<tr>
<th>構造修正</th>
<td>mysql&gt; ALTER TABLE tb-name ADD added-fieldname INT<br />
※ADD部分はいろいろあります。</td>
</tr>
<tr>
<th>フィールド表示</th>
<td>mysql&gt; SHOW FIELDS FROM db-name</td>
</tr>
<tr>
<th>データ追加</th>
<td>mysql&gt; INSERT INTO tb-name VALUES(data1, data2)<br />
※値は全てフィールドに合わせる。</td>
</tr>
<tr>
<th>更新</th>
<td>mysql&gt; UPDATE tb-name SET field-name=value WHERE no=6<br />
※WHERE condition</td>
</tr>
<tr>
<th>削除</th>
<td>mysql&gt; DELETE FROM tb-name WHERE no=6<br />
mysql> DELETE FROM tb-name WHERE no BETWEEN 1 AND 5<br />
※WHERE condition</td>
</tr>
<tr>
<th>検索</th>
<td>mysql&gt; SELECT * FROM tb-name WHERE no=6<br />
※WHERE condition</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/84/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smarty : TIPS</title>
		<link>http://wp.aiziro.com/archives/83/</link>
		<comments>http://wp.aiziro.com/archives/83/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 09:39:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Smarty]]></category>
		<category><![CDATA[TIPS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=83</guid>
		<description><![CDATA[


assignで渡す配列のアクセス
単純配列の場合 : {$array[0]}
連想配列の場合 : {$array.key}&#160;&#160;※{$array['key']}はアウト
オブジェクトの場合 : { [...]]]></description>
			<content:encoded><![CDATA[<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th>assignで渡す配列のアクセス</th>
<td>単純配列の場合 : {$array[0]}<br />
連想配列の場合 : {$array.key}&nbsp;&nbsp;※{$array['key']}はアウト<br />
オブジェクトの場合 : {$object-&gt;property} , {$object-&gt;method()}</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/83/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>etc. : TIPS</title>
		<link>http://wp.aiziro.com/archives/82/</link>
		<comments>http://wp.aiziro.com/archives/82/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 02:48:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[TIPS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=82</guid>
		<description><![CDATA[


Flash Switcherのエラー回避
1. /Library/Internet Plug-Insのパーミッションを777にする。
2. Firefox終了後、Flash Player.pluginとflashp [...]]]></description>
			<content:encoded><![CDATA[<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th>Flash Switcherのエラー回避</th>
<td>1. /Library/Internet Plug-Insのパーミッションを777にする。<br />
2. Firefox終了後、Flash Player.pluginとflashplayer.xptを削除する。</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP : TIPS</title>
		<link>http://wp.aiziro.com/archives/81/</link>
		<comments>http://wp.aiziro.com/archives/81/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 06:05:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Reference]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=81</guid>
		<description><![CDATA[


&#8216;$var&#8217;と&#8221;$var&#8221;
&#8216;$var&#8217;は文字列。&#8221;$var&#8221;は変数として展開。


コメント
//,# &#8212 [...]]]></description>
			<content:encoded><![CDATA[<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th>&#8216;$var&#8217;と&#8221;$var&#8221;</th>
<td>&#8216;$var&#8217;は文字列。&#8221;$var&#8221;は変数として展開。</td>
</tr>
<tr>
<th>コメント</th>
<td>//,# &#8212; 単数行<br />/**/ &#8212; 複数行</td>
</tr>
<tr>
<th>.</th>
<td>文字列連結</td>
</tr>
<tr>
<th>-&gt;</th>
<td>プロパティ、メソッドへのアクセス</td>
</tr>
<tr>
<th>=&gt;</th>
<td>キー（配列ならインデックス）に値を割り振る。<br />
&#8216;XML&#8217; =&gt; &#8216;Extensible Markup Language&#8217;<br />
0 =&gt; &#8216;Hypertext Preprocessor&#8217;</td>
</tr>
<tr>
<th>(int)</th>
<td>データ型のキャスト。print((int)$data)<br />
指定できるのは、bool, boolean, double, float, real, int, integer, string, object</td>
</tr>
<tr>
<th>foreach</th>
<td>foreach(配列名 as 値用の変数){}<br />
foreach(配列名 as キー用の変数 =&gt; 値用の変数){}</td>
</tr>
<tr>
<th>&amp;</th>
<td>値渡しではなく参照渡し。変数の代入、関数の戻り値でも使われる。<br />
戻り値のときは関数名の前 → function &amp;getValue(){}</td>
</tr>
<tr>
<th>スクリプト名、ディレクトリ名いろいろ</th>
<td>お題：<span class="cyan">http://www.fujinando.com/dir1/dir2/index.php?var=data1</span><br />
$_SERVER['PHP_SELF'] → /dir1/dir2/index.php<br />
$_SERVER['REQUEST_URI'] → /dir1/dir2/index.php?var=data1<br />
$_SERVER['SCRIPT_NAME'] → /dir1/dir2/index.php<br />
$_SERVER['SCRIPT_FILENAME'] → /var/www/htdocs/dir1/dir2/index.php<br />
$_SERVER['QUERY_STRING'] → var=data1<br />
__FILE__ → /var/www/htdocs/dir1/dir2/index.php<br />
dirname(__FILE__) → /var/www/htdocs/dir1/dir2<br />
basename(__FILE__) → index.php<br />
basename(__FILE__, &#8216;.php&#8217;) → index
</td>
</tr>
<tr>
<th>!isset($var)とis_null($var)</th>
<td>$var = nullのとき、どちらもfalseが出る。<br />
is_null($var)はnoticeエラーも出る。<br />
シンボルテーブルに名前のない変数のときにnoticeが出るらしい。$var = nullだと変数名varはシンボルテーブルに登録されていて、Cでのポインタ値が0（意味のないメモリ番地）になっている。</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : SingletonクラスをStageやMovieClip内に予め配置。</title>
		<link>http://wp.aiziro.com/archives/80/</link>
		<comments>http://wp.aiziro.com/archives/80/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 05:58:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=80</guid>
		<description><![CDATA[package
{
    import flash.display.*;
    public class ClassA extends Sprite
    {
        private static var  [...]]]></description>
			<content:encoded><![CDATA[<pre name="code" class="js">package
{
    import flash.display.*;
    public class ClassA extends Sprite
    {
        private static var instance:ClassA = null;
        public function ClassA(en:SingletonEnforcer){}
        public static function getInstance():ClassA
        {
          if( instance == null )
          {
              instance = new ClassA( new SingletonEnforcer() );
          }
          return instance;
        }
    }
}
class SingletonEnforcer extends Sprite{}
</pre>
<p>通常はライブラリで<span class="cyan">引数をとる</span>ClassAにリンケージされたMovieClip, Spriteは、stageやDisplayObjectContainerに予め配置しておくことができない。引数を指定できないから。ただし、上のようにクラスファイル内のprivate class（SingletonEnforcer, デコンパイルするとprivate classとして定義されてる）を引数にとる場合は問題ないが、<span class="cyan">private classもMovieClip, Spriteを継承する必要がある</span>（かも。エラーが出る場合があり。原因未調査）。もっと単純化するなら（使い方に注意がいるけど）以下のとおり。</p>
<pre name="code" class="js">package
{
    import flash.display.*;
    public class ClassA extends Sprite
    {
        private static var instance:ClassA = null;
        public function ClassA()
        {
            instance = this;
        }
        public static function getInstance():ClassA
        {
            if( instance == null )
            {
                instance = new ClassA();
            }
            return instance;
        }
    }
}
</pre>
<p>使い方は注意が必要。newができてしまうので、必ずgetInstance経由で呼び出す。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/80/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : Tweener CurveModifiersクラス</title>
		<link>http://wp.aiziro.com/archives/79/</link>
		<comments>http://wp.aiziro.com/archives/79/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 05:45:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=79</guid>
		<description><![CDATA[カーブに沿ってTweenさせたいとき。
package
{
    import caurina.transitios.properties.CurveModifier;
    public class Main ex [...]]]></description>
			<content:encoded><![CDATA[<p>カーブに沿ってTweenさせたいとき。</p>
<pre name="code" class="as3">package
{
    import caurina.transitios.properties.CurveModifier;
    public class Main extends Sprite
    {
        var sp:Sprite = new Sprite();
        ...
        Tweener.addTween(sp, {x:20, y:20, _besier:{x:10, y:10} });
    }
}
</pre>
<p>_besierはコントロールポイント。Tweenの始点・終点を結んだ曲線上を移動する。</p>
<p>_besierのx,yのどちらかを省略した場合は、始点・終点の中点が補われる（ハズ）。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/79/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : Iteratorパターン</title>
		<link>http://wp.aiziro.com/archives/78/</link>
		<comments>http://wp.aiziro.com/archives/78/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 06:38:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[DesignPattern]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=78</guid>
		<description><![CDATA[DesignPattern学習。
Iterator Pattern

note.
■ ConcIteratorのコンストラクタでは、引数にIAggregateを取る。どの集合体を数え上げるかが渡される。
■ ConcAg [...]]]></description>
			<content:encoded><![CDATA[<p>DesignPattern学習。</p>
<p class="marB30 cyan bold">Iterator Pattern</p>
<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img class="mt-image-none" src="http://wp.aiziro.com/wp1_aiziro/wp-content/uploads/2009/03/iterator.gif" alt="iterator.gif" width="520" height="251" /></span></p>
<p class="cyan marT30 marB10">note.</p>
<p>■ ConcIteratorのコンストラクタでは、引数にIAggregateを取る。どの集合体を数え上げるかが渡される。</p>
<p>■ ConcAggregateで実装しとくべきメソッド<br />
・function getLast(){} → 自身がもつ（数える対象となる）要素の最終位置（=length）<br />
・function getItemAt(index:int){} → index位置の要素を返す</p>
<p>■ ConcIteratorでは、indexをプロパティにもつ。どの位置を捜査しているか、の値。nextが呼ばれたらインクリメント。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/78/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : Stateパターン</title>
		<link>http://wp.aiziro.com/archives/77/</link>
		<comments>http://wp.aiziro.com/archives/77/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 06:32:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[DesignPattern]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=77</guid>
		<description><![CDATA[DesignPattern学習。
State Pattern

note.
■ Contextには、stateプロパティ用のsetter,getterメソッドを実装するパターンがほとんど。function setStat [...]]]></description>
			<content:encoded><![CDATA[<p>DesignPattern学習。</p>
<p class="marB30 cyan bold">State Pattern</p>
<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="state.gif" src="http://wp.aiziro.com/wp1_aiziro/wp-content/uploads/2009/03/state.gif" class="mt-image-none" style="" height="247" width="520" /></span></p>
<p class="cyan marT30 marB10">note.</p>
<p>■ Contextには、stateプロパティ用のsetter,getterメソッドを実装するパターンがほとんど。<br />function setState(state:IState){};<br />
function getConcState1(){};<br />
function getConcState2(){};
</p>
<p>■ ConcState（ex : PlayState)にContextの参照をもたせて、特定の処理をさせてからContext.setState()を呼び出し、Context.stateプロパティを変更（ex : PlayState）する。</p>
<p>■ 新たなStateを追加する場合<br />
<span class="cyan">1. </span>IStateに追加State用のメソッドを追加<br />
<span class="cyan">2. </span>既存の全ConcStateに1.のメソッドを実装<br />
<span class="cyan">3. </span>新規ConcStateクラスを作成<br />
<span class="cyan">4. </span>Contextを変更。setter、getter、新規ConcState用のrequestを追加</p>
<p>■ Context内のrequestA,Bは、methodA,BのようにIStateが規定するメソッドと同じ名前にしたほうが解りやすいか。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/77/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : Observerパターン</title>
		<link>http://wp.aiziro.com/archives/76/</link>
		<comments>http://wp.aiziro.com/archives/76/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 04:39:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[DesignPattern]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=76</guid>
		<description><![CDATA[DesignPattern学習。
Observer Pattern

note.
■ ２つの抽象クラスはインターフェースにしても。observers:Arrayの設定が必須。
■ ConcSubjectとConcObse [...]]]></description>
			<content:encoded><![CDATA[<p>DesignPattern学習。</p>
<p class="marB30 cyan bold">Observer Pattern</p>
<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="observer.gif" src="http://wp.aiziro.com/wp1_aiziro/wp-content/uploads/2009/03/observer.gif" width="520" height="291" class="mt-image-none" style="" /></span></p>
<p class="cyan marT30 marB10">note.</p>
<p>■ ２つの抽象クラスはインターフェースにしても。observers:Arrayの設定が必須。</p>
<p>■ ConcSubjectとConcObserverが同じプロパティを持つと解りやすい。<br />
<br />Subjectがsetter メソッドで自プロパティを上書きして、そのプロパティ値を引数にして、notifyObserverを呼ぶ、など。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/76/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : Adapterパターン</title>
		<link>http://wp.aiziro.com/archives/75/</link>
		<comments>http://wp.aiziro.com/archives/75/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 10:04:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[DesignPattern]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=75</guid>
		<description><![CDATA[DesignPattern学習。
Adapter Pattern

note.
■ ２タイプあり
継承パターン &#8594; Adapteeクラスを拡張。
委譲パターン &#8594; Adapteeクラスの参照を保持。
]]></description>
			<content:encoded><![CDATA[<p>DesignPattern学習。</p>
<p class="marB30 cyan bold">Adapter Pattern</p>
<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="adapter.gif" src="http://wp.aiziro.com/wp1_aiziro/wp-content/uploads/2009/03/adapter.gif" class="mt-image-none" style="" height="483" width="520" /></span></p>
<p class="cyan marT30 marB10">note.</p>
<p>■ ２タイプあり<br />
継承パターン &rarr; Adapteeクラスを拡張。<br />
委譲パターン &rarr; Adapteeクラスの参照を保持。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/75/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : Compositeパターン</title>
		<link>http://wp.aiziro.com/archives/74/</link>
		<comments>http://wp.aiziro.com/archives/74/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 09:19:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[DesignPattern]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=74</guid>
		<description><![CDATA[DesignPattern学習。
Composite Pattern

note.
■ clientはLeafもCompositeも同一視（=同じメソッドを使える）
■ methodA,methodBはComposite [...]]]></description>
			<content:encoded><![CDATA[<p>DesignPattern学習。</p>
<p class="marB30 cyan bold">Composite Pattern</p>
<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="composite.gif" src="http://wp.aiziro.com/wp1_aiziro/wp-content/uploads/2009/03/composite.gif" width="520" height="321" class="mt-image-none" style="" /></span></p>
<p class="cyan marT30 marB10">note.</p>
<p>■ clientはLeafもCompositeも同一視（=同じメソッドを使える）</p>
<p>■ methodA,methodBはComposite内では再帰的に処理される。<br />
&rarr; Compositeの中にはLeafだけでなくCompositeも含まれる。</p>
<p>■ removeのときは要注意。<br />
&rarr; 参照を全てnullにして、ガベージコレクションの対象にする。</p>
<p>■ CompositeのmethodAは、chilren:Array全てに対してmethodAを呼び出す。children[i]が、<br/>Leafのとき &rarr; 特定の処理<br />
Compositeのとき &rarr; children:Arrayの各itemに対してmethodAを呼び出す。<br />
= recursion.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/74/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : Decoratorパターン</title>
		<link>http://wp.aiziro.com/archives/73/</link>
		<comments>http://wp.aiziro.com/archives/73/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 07:46:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[DesignPattern]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=73</guid>
		<description><![CDATA[DesignPattern学習。
Decorator Pattern

note.
■ AbDecoratorはAbComponentの参照を持つ。
■ AbComponentでメソッド定義。実装はサブクラスで。
■ C [...]]]></description>
			<content:encoded><![CDATA[<p>DesignPattern学習。</p>
<p class="marB30 cyan bold">Decorator Pattern</p>
<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="decorator.gif" src="http://wp.aiziro.com/wp1_aiziro/wp-content/uploads/2009/03/decorator.gif" class="mt-image-none" style="" height="339" width="520" /></span></p>
<p class="cyan marB10 marT30">note.</p>
<p class="marB10">■ AbDecoratorはAbComponentの参照を持つ。</p>
<p class="marB10">■ AbComponentでメソッド定義。実装はサブクラスで。</p>
<p class="marB10">■ ConcDecoratorのメソッドであるmethodAは、参照をもつConcComponentのmethodAを呼び出し、さらに処理を追加する。＝ Decoration.</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/73/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : Commandパターン</title>
		<link>http://wp.aiziro.com/archives/72/</link>
		<comments>http://wp.aiziro.com/archives/72/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 04:59:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[DesignPattern]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=72</guid>
		<description><![CDATA[DesignPattern学習。
Command Pattern

note.
■ Receiver = 実際の命令の受け取り手、というイメージ。
■ client（Documentクラス）がInvokerの役を果たすこ [...]]]></description>
			<content:encoded><![CDATA[<p>DesignPattern学習。</p>
<p class="marB30 cyan bold">Command Pattern</p>
<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="command.gif" src="http://wp.aiziro.com/wp1_aiziro/wp-content/uploads/2009/03/command.gif" class="mt-image-none" style="" height="191" width="520" /></span></p>
<p class="cyan marT30 marB10">note.</p>
<p>■ Receiver = 実際の命令の受け取り手、というイメージ。</p>
<p class="marT10">■ client（Documentクラス）がInvokerの役を果たすこともある。</p>
<p class="marT10">■ 抽象クラスが使えないので、AbCommandはインターフェースにしてみても。</p>
<p class="marT10">■ AbCommandを配列で保持するAbMacroCommandみたいなクラスもありうる。<br />add、removeを（インタフェースで）実装。<br />ConcMacroCommand.execute()で配列内の全Commandをexecute。ProgressionのSerialListみたいな感じか。Compositeにも近い。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/72/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : XML演算子</title>
		<link>http://wp.aiziro.com/archives/71/</link>
		<comments>http://wp.aiziro.com/archives/71/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 07:19:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Reference]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=71</guid>
		<description><![CDATA[XML演算子リスト



@
XMLまたはXMLListの属性値にアクセス


{}
XMLまたはXMLListの式で変数を囲む


[]
XMLまたはXMLListのノードにアクセス


+
XMLまたはXMLList [...]]]></description>
			<content:encoded><![CDATA[<p class="cyan">XML演算子リスト</p>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th>@</th>
<td>XMLまたはXMLListの属性値にアクセス</td>
</tr>
<tr>
<th>{}</th>
<td>XMLまたはXMLListの式で変数を囲む</td>
</tr>
<tr>
<th>[]</th>
<td>XMLまたはXMLListのノードにアクセス</td>
</tr>
<tr>
<th>+</th>
<td>XMLまたはXMLListの値の連結</td>
</tr>
<tr>
<th>+=</th>
<td>XMLまたはXMLListの値を連結して代入</td>
</tr>
<tr>
<th>..</th>
<td>XMLまたはXMLListの子孫エレメントに移動。@と併用も可能。<br />
ノード名がActionScriptの予約語と一致するときはXML.descendants()メソッドを使う。</td>
</tr>
<tr>
<th>.</th>
<td>XMLまたはXMLListの子エレメントまたはアトリビュートにアクセス</td>
</tr>
<tr>
<th>()</th>
<td>XMLまたはXMLListの構造内の式を評価・実行</td>
</tr>
<tr>
<th>&lt;&gt;</th>
<td>XMLタグを定義する</td>
</tr>
<tr>
<th>delete</th>
<td>XMLエレメントまたはアトリビュートの削除</td>
</tr>
</tbody>
</table>
<p class="cyan marT30">サンプルXMLがこちら</p>
<pre name="code" class="xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
<employees>
<employee id="2">
<class>A</class>
<firstname>Kohei</firstname>
<lastname>Tabuchi</lastname>
<position>Catcher</position>
</employee>
<employee id="3">
<class>A</class>
<firstname>Shingo</firstname>
<lastname>Wakabayashi</lastname>
<position>First base</position>
</employee>
<employee id="5">
<class>A</class>
<firstname>Kizashi</firstname>
<lastname>Sasaki</lastname>
<position>Third base</position>
</employee>
<employee id="1">
<class>A</class>
<firstname>Futoshi</firstname>
<lastname>Nakagomi</lastname>
<position>Pitcher</position>
</employee>
<employee id="6">
<class>A</class>
<firstname>Hajime</firstname>
<lastname>Uchiyama</lastname>
<position>Short stop</position>
</employee>
</employees></pre>
<pre name="code" class="js">var xml:XML = new XML();
xml = XML(xmlLoader.data);
trace(xml..lastName[0].text());
//Result -&gt; Tabuchi
trace(xml..employee[4].@id);
//Result -&gt; 6
trace(xml..employee.(firstName=="Shingo").position);
//Result -&gt; First base
trace(xml..employee.(Number(@id)&gt;5).lastName);
//Result -&gt; Uchiyama
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/71/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : Progression TIPS</title>
		<link>http://wp.aiziro.com/archives/70/</link>
		<comments>http://wp.aiziro.com/archives/70/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 15:44:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Progression]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=70</guid>
		<description><![CDATA[addCommandとinsertCommandの違い。
addCommand(
    function(){
        addCommand(new Command(step1));
    },
    ne [...]]]></description>
			<content:encoded><![CDATA[<p class="cyan">addCommandとinsertCommandの違い。</p>
<pre name="code" class="as3">addCommand(
    function(){
        addCommand(new Command(step1));
    },
    new Command(step2),
    new Command(step3)
}</pre>
<p class="marB30">実行順はstep2 → step3 → step1</p>
<pre name="code" class="as3">addCommand(
    function(){
        insertCommand(new Command(step1));
    },
    new Command(step2),
    new Command(step3)
}</pre>
<p class="marB30">実行順はstep1 → step2 → step3<br />
実行リストの尻に加えるのか、横入りさせるのかの違い、みたいな感じ。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/70/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : 予め配置されたMovieClipとクラス定義</title>
		<link>http://wp.aiziro.com/archives/69/</link>
		<comments>http://wp.aiziro.com/archives/69/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 15:07:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=69</guid>
		<description><![CDATA[parentClass.as内
public var child_instanceName : childClass
・親クラスのプロパティ名 = 子のインスタンス名
・childClassはリンケージで書き出し設定済み [...]]]></description>
			<content:encoded><![CDATA[<p>parentClass.as内</p>
<pre name="code" class="js">public var child_instanceName : childClass</pre>
<p>・親クラスのプロパティ名 = 子のインスタンス名<br />
・childClassはリンケージで書き出し設定済み<br />
・childClass用のプロパティはpublicで宣言</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/69/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JS : TIPS</title>
		<link>http://wp.aiziro.com/archives/68/</link>
		<comments>http://wp.aiziro.com/archives/68/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 13:23:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=68</guid>
		<description><![CDATA[01.ブロックスコープが存在しない。
scriptA
function func(){
for(var i=0; i&#60;10; i++){
var j = i;
}
alert(j);// access ok.
}
 [...]]]></description>
			<content:encoded><![CDATA[<p class="marB10 cyan">01.ブロックスコープが存在しない。</p>
<p>scriptA</p>
<pre name="code" class="js">function func(){
for(var i=0; i&lt;10; i++){
var j = i;
}
alert(j);// access ok.
}</pre>
<p class="marT10 marB5">scriptAは以下と同じ。</p>
<pre name="code" class="js">function func(){
var i,j;
for(i=0; i&lt;10; i++){
j = i;
}
alert(j);
}</pre>
<p class="marB50">「関数内ローカル変数は全て先頭で宣言したことになる」だと。出典：<a href="http://builder.japan.zdnet.com/sp/javascript-kickstart-2007/story/0,3800083428,20373861-3,00.htm">builder</a></p>
<p class="marB10 cyan">02.クロージャでprivate的なプロパティ</p>
<pre name="code" class="js">var sample = (function(){
var n = 0;
return function(){
alert(n++);
}
})();
sample(); //0
sample(); //1
sample(); //2
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/68/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JS : jQueryプラグイン</title>
		<link>http://wp.aiziro.com/archives/67/</link>
		<comments>http://wp.aiziro.com/archives/67/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 12:58:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=67</guid>
		<description><![CDATA[jQueryプラグインは、jQueryオブジェクトを返す形で。メソッドチェーンが切てしまうから。
$.fn.pluginName = function(){
return this.each(
function(obj) [...]]]></description>
			<content:encoded><![CDATA[<p class="marB10">jQueryプラグインは、jQueryオブジェクトを返す形で。<br />メソッドチェーンが切てしまうから。</p>
<pre name="code" class="js">$.fn.pluginName = function(){
return this.each(
function(obj){
var cgiPath = 'http://yourdomain.com/?';
var param = $(this).attr('href');
$(this).hover(
function(ev){
$('img#frame')
.show()
.attr('src',sgiPath + param)
.css({'border':'1px splid #DDD'});
},
function(ev){
$('img#frame').hide();
}
);
}
);
};
$(document).ready(
function(ev){
$('a').pluginName();
}
};</pre>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/67/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JS : google JSAPI</title>
		<link>http://wp.aiziro.com/archives/66/</link>
		<comments>http://wp.aiziro.com/archives/66/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 08:29:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=66</guid>
		<description><![CDATA[&#60;script type="text/javascript" src="http://www.google.com/jsapi"&#62; google.load("jquery","1.3")]]></description>
			<content:encoded><![CDATA[<pre name="code" class="js">&lt;script type="text/javascript" src="http://www.google.com/jsapi"&gt;
<script type="text/javascript">google.load("jquery","1.3")</script></pre>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/66/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MT : 変数注意書き</title>
		<link>http://wp.aiziro.com/archives/65/</link>
		<comments>http://wp.aiziro.com/archives/65/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 08:32:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MT]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=65</guid>
		<description><![CDATA[変数使用時の注意点
1. mt:SetVarBlockでの改行に注意。値を代入して条件分岐などに使うときは特に。
(LF)
&#60;$MTCategoryLabel remove_html="1"&#62;(LF)

とす [...]]]></description>
			<content:encoded><![CDATA[<p class="marB20 bold" style="">変数使用時の注意点</p>
<p>1. mt:SetVarBlockでの改行に注意。値を代入して条件分岐などに使うときは特に。</p>
<pre name="code" class="js"><mt:setvarblock name="targetCat">(LF)
&lt;$MTCategoryLabel remove_html="1"&gt;(LF)
</mt:setvarblock></pre>
<p class="marB30">とすると意図した値が変数には入っていない。htmlソースとして使うとき以外は、LFを削除して１行で。</p>
<p>2. mt:ifのときのname=&#8221;変数名&#8221;に$はいらない。</p>
<pre name="code" class="js"><mt:setvarblock name="targetCat">
&lt;$MTCategoryLabel remove_html="1"&gt;
</mt:setvarblock>
...
<mt:setvarblock name="tmpCat">
&lt;$MTCategoryLabel remove_html="1"&gt;
</mt:setvarblock>
<mt:if name="tagetCat" eq="$tmpCat">
...
</mt:if></pre>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/65/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS : haslayoutプロパティ</title>
		<link>http://wp.aiziro.com/archives/64/</link>
		<comments>http://wp.aiziro.com/archives/64/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 04:34:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=64</guid>
		<description><![CDATA[Windows IEの独自拡張プロパティ
A.親（もしくは祖先）によって大きさ・位置が決められている
B.要素自身が大きさ・位置を決めている
どちらかを示しているプロパティ。デフォルトはhaslayout = false [...]]]></description>
			<content:encoded><![CDATA[<p class="marB15">Windows IEの独自拡張プロパティ<br />
A.親（もしくは祖先）によって大きさ・位置が決められている<br />
B.要素自身が大きさ・位置を決めている<br />
どちらかを示しているプロパティ。デフォルトはhaslayout = false (A)。</p>
<p>haslayout = trueにするには</p>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th>width</th>
<td>auto以外</td>
</tr>
<tr>
<th>min-width<br />min-height</th>
<td>値を与える　※IE7のみ</td>
</tr>
<tr>
<th>max-width<br />max-height</th>
<td>none以外　※IE7のみ</td>
</tr>
<tr>
<th>height</th>
<td>auto以外</td>
</tr>
<tr>
<th>float</th>
<td>left,right</td>
</tr>
<tr>
<th>position</th>
<td>absolute</td>
</tr>
<tr>
<th>position</th>
<td>fixed　※IE7のみ</td>
</tr>
<tr>
<th>display</th>
<td>inline-block</td>
</tr>
<tr>
<th>overflow<br />overflow-x<br />overflow-y</th>
<td>hidden,scroll,auto　※IE7のみ</td>
</tr>
<tr>
<th>zoom</th>
<td>normal以外</td>
</tr>
<tr>
<th>writing-mode</th>
<td>tb-rl</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS : clearfix</title>
		<link>http://wp.aiziro.com/archives/63/</link>
		<comments>http://wp.aiziro.com/archives/63/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 04:22:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=63</guid>
		<description><![CDATA[.clearfix{ content:"."; display:block; height:0; clear:both; visibility:hidden; } .clearfix{ display:inline-block; } /* Hide from IE-mac \*/ * html .clearfix{height:1%;} .clearfix{display:block;} /* End Hide from IE-mac */]]></description>
			<content:encoded><![CDATA[<pre name="code" class="css">.clearfix{
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
.clearfix{
display:inline-block;
}
/* Hide from IE-mac \*/
* html .clearfix{height:1%;}
.clearfix{display:block;}
/* End Hide from IE-mac */
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/63/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RegExp : TIPS</title>
		<link>http://wp.aiziro.com/archives/62/</link>
		<comments>http://wp.aiziro.com/archives/62/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 10:45:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[RegExp]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=62</guid>
		<description><![CDATA[


/
デリミタ
デリミタには英数字および\以外の全ての文字を使用可


^
〜ではじまる
^ABC → ABCで始まったら


$
〜で終わる
ABC$ → ABCで終われば


[ABC]
A,B,Cのうちどれか１ [...]]]></description>
			<content:encoded><![CDATA[<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th>/</th>
<td>デリミタ<br />
デリミタには英数字および\以外の全ての文字を使用可</td>
</tr>
<tr>
<th>^</th>
<td>〜ではじまる<br />
^ABC → ABCで始まったら</td>
</tr>
<tr>
<th>$</th>
<td>〜で終わる<br />
ABC$ → ABCで終われば</td>
</tr>
<tr>
<th>[ABC]</th>
<td>A,B,Cのうちどれか１文字</td>
</tr>
<tr>
<th>[A-Z]</th>
<td>A〜Zのどれか１文字</td>
</tr>
<tr>
<th>[^ABC]</th>
<td>A,B,Cのいずれでもない１文字</td>
</tr>
<tr>
<th>.</th>
<td>改行をのぞく任意の１文字</td>
</tr>
<tr>
<th>*</th>
<td>直前にある文字の０回以上の繰り返し<br />
12* → マッチ = 1,12,122&#8230;&#8230;</td>
</tr>
<tr>
<th>+</th>
<td>直前にある文字の１回以上の繰り返し<br />
12+ → マッチ = 12,122,1222&#8230;&#8230;</td>
</tr>
<tr>
<th>?</th>
<td>直前にある文字の０回or１回の繰り返し<br />
12? : 1 → マッチ 12222&#8230;.. → 12にマッチ</td>
</tr>
<tr>
<th>+?</th>
<td>直前にある文字の１回以上の繰り返し＋最短マッチ<br />
12+? : 122222222 → 12にマッチ<br />
（JSは通常は最長マッチになる）</td>
</tr>
<tr>
<th>|</th>
<td>論理和<br />
AB|CD|EF → ABまたはCDまたはEF</td>
</tr>
<tr>
<th>{n}</th>
<td>直前の文字がn個<br />
A{2} → AAにマッチ</td>
</tr>
<tr>
<th>{n,}</th>
<td>直前の文字がn個以上<br />
A{2,} → AA,AAA,AAAA,&#8230;&#8230;にマッチ</td>
</tr>
<tr>
<th>{m,n}</th>
<td>直前の文字がm〜n個<br />
A{2,3} → AA,AAAにマッチ</td>
</tr>
<tr>
<th>\w</th>
<td>アルファベット、数字または下線</td>
</tr>
<tr>
<th>\W</th>
<td>上記以外</td>
</tr>
<tr>
<th>\d</th>
<td>数字</td>
</tr>
<tr>
<th>\D</th>
<td>数字以外 = [^0-9]</td>
</tr>
<tr>
<th>\s</th>
<td>空白文字（スペース、タブ、改行）</td>
</tr>
<tr>
<th>\n</th>
<td>改行</td>
</tr>
<tr>
<th>\r</th>
<td>リターン（復帰）</td>
</tr>
<tr>
<th>\t</th>
<td>タブ</td>
</tr>
<tr>
<th>\o</th>
<td>８進数の値</td>
</tr>
<tr>
<th>\x811</th>
<td>16進数の値</td>
</tr>
<tr>
<th>\cx</th>
<td>制御文字</td>
</tr>
<tr>
<th>\.</th>
<td>.（\でクォート）</td>
</tr>
<tr>
<th>i</th>
<td>大文字小文字を区別しない。 i=ignore</td>
</tr>
<tr>
<th>g</th>
<td>繰り返しのマッチング。g=global</td>
</tr>
<tr>
<th>m</th>
<td>マルチラインモード。&#8217;^'と&#8217;$'が改行の直前直後でマッチ。</td>
</tr>
<tr>
<th>s</th>
<td>シングルラインモード。改行文字も&#8217;.'とみなされる。</td>
</tr>
<tr>
<th>e</th>
<td>文字列$replacementをPHPの式として評価。</td>
</tr>
<tr>
<th>l</th>
<td>最長マッチ。l=Longest</td>
</tr>
<tr>
<th>$1,$2,$3&#8230;&#8230;, $0</th>
<td>●番目にマッチした要素が入る。$0はマッチした全体の文字列。</td>
</tr>
<tr>
<th>[:alpha:]</th>
<td>アルファベット = [A-Za-z]</td>
</tr>
<tr>
</tr>
<tr>
<th>[:digit:]</th>
<td>数字 = [0-9]</td>
</tr>
<tr>
<th>[:alnum:]</th>
<td>数字とアルファベット = [A-Za-z0-9]</td>
</tr>
<tr>
<th>[:blank:]</th>
<td>スペースとタブ = [ \t]</td>
</tr>
<tr>
<th>[:space:]</th>
<td>[ \t\n\r\f\v]</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/62/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux : TIPS</title>
		<link>http://wp.aiziro.com/archives/61/</link>
		<comments>http://wp.aiziro.com/archives/61/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 08:10:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Reference]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=61</guid>
		<description><![CDATA[


ファイル検索
# find / -name [_fileName] -print


ファイルの閲覧
less [f-name] (cat,moreでもよし)


vi 主要コマンド
/[string] &#038;rarr [...]]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th>ファイル検索</th>
<td># find / -name [_fileName] -print</td>
</tr>
<tr>
<th>ファイルの閲覧</th>
<td>less [f-name] (cat,moreでもよし)</td>
</tr>
<tr>
<th>vi 主要コマンド</th>
<td>/[string] &rarr; stringを順方向に検索<br />
?[string] &rarr; stringを逆方向に検索<br />
n &rarr; 順方向の検索再実行<br />
N &rarr; 逆方向の検索再実行<br />
set number &rarr; 行番号の表示
</td>
</tr>
<tr>
<th>コマンドのキャンセル</th>
<td>Ctrl-g</td>
</tr>
<tr>
<th>ユーザの追加・削除</th>
<td>追加<br />
useradd [newUserName]<br />
パスワード設定<br />
passwd [newUserName] &rarr; newPassword * 2<br />
削除<br />
userdel [userName]</td>
</tr>
<tr>
<th>アクセス権限変更</th>
<td>chmod [000] [f/d-name]</td>
</tr>
<tr>
<th>オーナー変更</th>
<td>chown [userName:groupName] [f/d-name]</td>
</tr>
<tr>
<th>ファイルの移動とリネーム</th>
<td>mv [target_f/d-Name] [dest_f/d-name]<br />
mv f-name1 f-name2 &rarr; rename<br />
mv f-name d-name &rarr; move<br />
mv d-name1 d-name2(exist) &rarr; move<br />
mv d-name1 d-name2(not exist) &rarr; rename
</td>
</tr>
<tr>
<th>wget後の保存場所</th>
<td>/root/[_filename]</td>
</tr>
<tr>
<th>シンボリックリンク</th>
<td>ln -s [リンク先ファイル名=実ファイル] [リンク名（ディレクトリ＋リンク名）]</td>
</tr>
<tr>
<th>yum いろいろ</th>
<td><span class="bold">アップデート可能な全パッケージをアップデート</span><br />
# yum update （# yum update [packageName]でもよし）<br />
<span class="bold">パッケージ情報を取得</span><br />
#yum info [packageName]<br />
<span class="bold">パッケージ検索</span><br />
#yum search [keyword]<br />
<span class="bold">インストールされたソフトを確認</span><br />
#yum list installed | grep [keyword]
</td>
</tr>
<tr>
<th>MySQL いろいろ</th>
<td><span class="cyan bold">ログイン</span><br />
# mysql -u username -p (and Enter PW)<br />
<span class="bold">ユーザ確認</span><br />
mysql> SELECT host,user FROM mysql.user</td>
</tr>
<tr>
<th>httpdログ</th>
<td>/var/log/access_log<br />/var/log/error_log</td>
</tr>
<tr>
<th>PHP php.iniのありか</th>
<td>/etc/php.ini</td>
</tr>
<tr>
<th>Perl バージョン確認</th>
<td># perl -v</td>
</tr>
<tr>
<th>Perl CPANの起動、モジュールのインストール</th>
<td># perl _MCPAN -e shell [enter]<br />cpan> install [moduleName]</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/61/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : フォーカス関連（まとめ中）。</title>
		<link>http://wp.aiziro.com/archives/6/</link>
		<comments>http://wp.aiziro.com/archives/6/#comments</comments>
		<pubDate>Fri, 16 May 2008 12:18:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=6</guid>
		<description><![CDATA[DisplayObject.stage.stageFocusRect はデフォルトが true。 &#8594; キーボードイベントなどを受け取るオブジェクトは矩形が表示される。 &#8594; 一括指定で消したい場合は、D [...]]]></description>
			<content:encoded><![CDATA[<p>DisplayObject.stage.stageFocusRect はデフォルトが true。<br /> &rarr; キーボードイベントなどを受け取るオブジェクトは矩形が表示される。<br /> &rarr; 一括指定で消したい場合は、DisplayObject.stage.stageFocusRect = false</p>
<p> 個別に矩形の表示を指定するなら、まず一括で全部消してから、<br /> InteractiveObject.focusRect = true/false</p>
<p> Flash9のヘルプでfocusRectの set メソッドの引数がObjectなのは、<br /> true / false 以外にnullも値にとるから（かも。要確）。<br /> InteractiveObject.focusRect = nullを指定すると、stage.stageFocusRectの設定を踏襲。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : 線幅と塗り</title>
		<link>http://wp.aiziro.com/archives/121/</link>
		<comments>http://wp.aiziro.com/archives/121/#comments</comments>
		<pubDate>Fri, 16 May 2008 07:31:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=5</guid>
		<description><![CDATA[spriteInstance.grafics.lineStyle ( &#8230;arg ) ;で設定した線の幅の半分は、塗りと重なる。＝ 元々のサイズ + 線幅。200*200pxの塗りに線幅4pxなら、sprite [...]]]></description>
			<content:encoded><![CDATA[<p>spriteInstance.grafics.lineStyle ( &#8230;arg ) ;<br />で設定した線の幅の半分は、塗りと重なる。＝ 元々のサイズ + 線幅。<br />200*200pxの塗りに線幅4pxなら、spriteInstance . width ( height ) = 204 となる。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/121/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 : 正規表現 exec() の戻り値</title>
		<link>http://wp.aiziro.com/archives/4/</link>
		<comments>http://wp.aiziro.com/archives/4/#comments</comments>
		<pubDate>Thu, 15 May 2008 14:35:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=4</guid>
		<description><![CDATA[var string:String = "green_mc";
var pattern:RegExp = /(\w+)_(\w+)/;
var result:Object = pattern.exec(string);
 [...]]]></description>
			<content:encoded><![CDATA[<pre name="code" class="js">var string:String = "green_mc";
var pattern:RegExp = /(\w+)_(\w+)/;
var result:Object = pattern.exec(string);
</pre>
<p>この場合のresultは、<br />
result = [ "green_mc","green","mc" ] となる。<br />
[0]はグループマッチ全体、その後に、個別のグループマッチが入る。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP : fgetcsvで抜き出した日本語が空っぽ。紆余曲折メモ</title>
		<link>http://wp.aiziro.com/archives/54/</link>
		<comments>http://wp.aiziro.com/archives/54/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 19:16:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=54</guid>
		<description><![CDATA[スタート
1. numbersからcsvを吐き出す（セル内に日本語、カンマ付き数字あり）&#8594; 吐き出されたcsv内では日本語部分は&#34;&#34;で囲まれてない&#8594; カンマ付き数字は&#34;&#038; [...]]]></description>
			<content:encoded><![CDATA[<p>スタート</p>
<p>1. numbersからcsvを吐き出す（セル内に日本語、カンマ付き数字あり）<br /><span style="color: rgb(128, 128, 128);">&rarr; 吐き出されたcsv内では日本語部分は&quot;&quot;で囲まれてない<br />&rarr; カンマ付き数字は&quot;&quot;で囲まれている<br />&rarr; エンコードはUTF-8</span><br />2. そのcsvをfgetcsvで読み込んで、htmlソースとしてecho<br /><span style="color: rgb(128, 128, 128);">&rarr; ローカルでは日本語も読み込まれてる<br />&rarr; サーバにアップしたとたん日本語が消える<br />&rarr; 半角数字が混ざった日本語は、半角数字以降表示される</span><br />3. fgetcsvはロケール設定を考慮するとの記述あり<br /><span style="color: rgb(128, 128, 128);">&rarr; setlocale(LC_ALL, &#8216;ja_JP&#8217;); をfgetcsv呼び出す前に実行</span><br />4 ちゃんと日本語が表示された&#8230;、が１文字目が消えとる<br />5. 日本語を&quot;&quot;で囲めば問題なく表示されるが<br /><span style="color: rgb(128, 128, 128);">&rarr; &quot;&quot;なしの、numbersのデフォルト書き出しのママ使いたい&#8230;</span><br />6. とりあえず放置</p>
<p>再スタート</p>
<p>1. fgetcsvをあきらめexplodeにしてみる<br />2. 日本語はちゃんと表示される<br />3. カンマ付き数字がネック<br /><span style="color: rgb(128, 128, 128);">&rarr; eplodeだとカンマ付き数字のカンマでも区切っている</span><br />4. とりあえず放置</p>
<p>再々スタート</p>
<p>1. csvのエンコードもEUC-JPにする<br />2. ロケール設定もする<br />3. EUC-JP環境のサーバにアップ<br />4. 成功した。EUC-JPでもロケールの設定が必要</p>
<p>※UTF-8のcsv問題は未解決。いずれ。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/54/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JS : オブジェクト定義の備忘録</title>
		<link>http://wp.aiziro.com/archives/55/</link>
		<comments>http://wp.aiziro.com/archives/55/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 19:05:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=55</guid>
		<description><![CDATA[[A.定義方法]
var Car = function(x){
this.x=x;
}
オブジェクトを定義するときには、関数オブジェクト(Functionオブジェクト)を使う。 この1行目の定義により、Car()はコンス [...]]]></description>
			<content:encoded><![CDATA[<p><strong>[A.定義方法]</strong></p>
<pre name="code" class="js">var Car = function(x){
this.x=x;
}</pre>
<p>オブジェクトを定義するときには、関数オブジェクト(Functionオブジェクト)を使う。<br /> この1行目の定義により、Car()はコンストラクタ(初期化関数)として機能するようになる。</p>
<p><strong>[B.prototypeプロパティ]</strong></p>
<pre name="code" class="js">Car.prototype = {
maker:'toyota';
type:'prius';
run:function(){
alert('boooon');
}</pre>
<p>prototypeプロパティにリテラルで割り当てられた各オブジェクトは、オブジェクトが持つプロパティの初期値(参照先)として利用される。</p>
<p> オブジェクト定義（クラスみたいなもの。違うけど）はA,Bのセットで考える。<br /> prototypeはオブジェクトの隠しプロパティ。<br /> →あるプロパティがCarのオブジェクト定義になければ、prototypeプロパティにあるかどうかを調べる。→ プロトタイプチェーン →継承メカニズム（プロトタイプチェーン）で与えられる。<br /> →辿りつく最後はObjectオブジェクトのprototype</p>
<p><strong>[C.new演算子の実際の機能]</strong></p>
<p>ex.new Car();<br /> 1. 新しくECMAScriptオブジェクトを生成する。<br /> 2. Carオブジェクトのプロトタイププロパティを取得する。<br /> <span style="color: rgb(128, 128, 128);">→ これがオブジェクトなら、1のprototypeにセット。<br /> → オブジェクトでなければ、Objectオブジェクトのprototypeをセット。</span><br /> 3. 引数としてnewされたときの引数を設定して、Car()（コンストラクタ）をコール。<br /> <span style="color: rgb(128, 128, 128);">→ このコンストラクタ内部では、1で生成したオブジェクトをthisとして扱う。<br /> → この返り値がオブジェクトなら、これをnewの結果オブジェクトとして返す。<br /> → オブジェクトでなければ、1で生成したオブジェクトをnewの結果オブジェクトとして返す。</span></p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/55/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS2 : Bitmapとメモリリーク</title>
		<link>http://wp.aiziro.com/archives/56/</link>
		<comments>http://wp.aiziro.com/archives/56/#comments</comments>
		<pubDate>Wed, 19 Dec 2007 19:02:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS2]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=56</guid>
		<description><![CDATA[attachBitmapしたMovieClipをremoveMovieClipしても、BitmapDataはメモリを圧迫し続ける。BitmapData.dispose(); をしてから、MC.removeMovieCli [...]]]></description>
			<content:encoded><![CDATA[<p>attachBitmapしたMovieClipをremoveMovieClipしても、BitmapDataはメモリを圧迫し続ける。<br />BitmapData.dispose(); をしてから、MC.removeMovieClip(); する癖を。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/56/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS : IE6でチラチラする画像置換への対処</title>
		<link>http://wp.aiziro.com/archives/57/</link>
		<comments>http://wp.aiziro.com/archives/57/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 18:58:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=57</guid>
		<description><![CDATA[IE6の設定 [ インターネットオプション ] &#8594; [ インターネット一時ファイル ] &#8594; [ 設定 ] 内 「保存しているページの新しいバージョンの確認」が「保存しているページの新しいバージョンの確 [...]]]></description>
			<content:encoded><![CDATA[<p>IE6の設定<br /> [ インターネットオプション ] &rarr; [ インターネット一時ファイル ] &rarr; [ 設定 ] 内<br /> 「保存しているページの新しいバージョンの確認」が「保存しているページの新しいバージョンの確認」になってるとキャッシュを読み込まず、その度に画像を読み込みにいくため。</p>
<p><strong>[ Measure ]</strong></p>
<p>cssに以下を記述</p>
<pre name="code" class="js">html{
filter:expression(
document.execCommand("BackgroundImageCache", false,true)
);}</pre>
<p>※filter以降は１行で記入する。</p>
<p>※IE7では解消済み。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/57/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS : 結合ボーダーモデルと1pxの境界</title>
		<link>http://wp.aiziro.com/archives/58/</link>
		<comments>http://wp.aiziro.com/archives/58/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 18:54:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=58</guid>
		<description><![CDATA[tableにcssでborder-collapse:collapse;を設定した場合、ボーダー幅の1/2づつ左右にはみ出る。 ボーダー幅が1pxの場合、ブラウザは左右0.5pxのはみ出しを巧くレンダリングできずにtabl [...]]]></description>
			<content:encoded><![CDATA[<p>tableにcssでborder-collapse:collapse;を設定した場合、ボーダー幅の1/2づつ左右にはみ出る。<br /> ボーダー幅が1pxの場合、ブラウザは左右0.5pxのはみ出しを巧くレンダリングできずにtableを1px左右にずらす。以下各ブラウザの挙動。</p>
<p>Win : IE <span style="color: rgb(128, 128, 128);">&rarr; tableの内側に表示（見た目はテキ）</span></p>
<p>Win : Opera <span style="color: rgb(128, 128, 128);">&rarr; tableの内側に表示（見た目はテキ）</span></p>
<p>Win : Firefox <span style="color: rgb(128, 128, 128);">&rarr; 左に1px</span></p>
<p>Mac : Firefox <span style="color: rgb(128, 128, 128);">&rarr; 左に1px</span></p>
<p>Mac : Safari <span style="color: rgb(128, 128, 128);">&rarr; 右に1px</span></p>
<p>ハックで対処か。</p>
<p> ※border-collapse:separate;（デフォルト）の場合、セルが空だとIEではボーダーが表示されない。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/58/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BugBugBug : IE &#8211; バグリスト</title>
		<link>http://wp.aiziro.com/archives/59/</link>
		<comments>http://wp.aiziro.com/archives/59/#comments</comments>
		<pubDate>Sat, 01 Sep 2007 19:20:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[BugBugBug]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=59</guid>
		<description><![CDATA[[ floatとpadding-top ]
floatしてる要素にpadding-topが指定してあり、背景画像による罫線を上にひくと（背景画像を使ってると）、中にあるa:hoverの挙動がおかしい。paddingが増え [...]]]></description>
			<content:encoded><![CDATA[<p><strong>[ floatとpadding-top ]</strong></p>
<p>floatしてる要素にpadding-topが指定してあり、背景画像による罫線を上にひくと（背景画像を使ってると）、中にあるa:hoverの挙動がおかしい。paddingが増える模様。</p>
<p><strong>[ 文字のないリスト要素 ]</strong></p>
<p>IEだと文字列が存在しないリスト要素の行ボックスの高さに不具合がでる。</p>
<p>[ Measure ]</p>
<pre name="code" class="css">li.className{
width:000px;height:000px;/*imgと同じサイズを指定*/
line-height:0;
vertical-align:bottom;
font-size:0;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/59/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BugBugBug : Safari &#8211; バグリスト</title>
		<link>http://wp.aiziro.com/archives/60/</link>
		<comments>http://wp.aiziro.com/archives/60/#comments</comments>
		<pubDate>Sat, 01 Sep 2007 18:48:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[BugBugBug]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=60</guid>
		<description><![CDATA[1. フォント指定はアルファベットで&#8594; &#34;Hiragino Kaku Gothic Pro&#34;など、ファミリー名で指定すれば、ボールドを持つ書体ならfont-weight指定でもバグらない。
 [...]]]></description>
			<content:encoded><![CDATA[<p>1. フォント指定はアルファベットで<br /><span style="color: rgb(128, 128, 128);">&rarr; &quot;Hiragino Kaku Gothic Pro&quot;など、ファミリー名で指定すれば、ボールドを持つ書体ならfont-weight指定でもバグらない。</span></p>
<p>2. a:hover{ text-decoration : underline } が上手く機能しない<br /><span style="color: rgb(128, 128, 128);">&rarr; 特定のフォントで、フォントサイズが12px以下で発生する。font-family : sans-serif; (serifも）としておけば回避。ちなみにSafariでのsans-serif指定時のアルファベットはLucida Grande。<br />&rarr; あと&lt;a&gt;指定したテキストに&lt;br /&gt;2回指定しても回避。</span></p>
<p>3. line-heightを指定したブロック要素内が、匿名でないインライン要素だけで構成されているとline-heightが無視される。<br /><span style="color: rgb(128, 128, 128);">&rarr;&lt;p style=&quot;line-height : 2em&quot;&gt;&lt;span&gt;テキスト内容&lt;/span&gt;&lt;p&gt;<br />といったときはline-heightが無視される(Operaも同様）。</span><br /><span style="color: rgb(128, 128, 128);">&rarr;&lt;p&gt;テキスト１&lt;span&gt;テキスト２&lt;/span&gt;テキスト３&lt;/p&gt;というコードの場合、&quot;テキスト１&quot;と&quot;テキスト３&quot;が匿名インライン要素。</span></p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/60/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS : 子要素がfloatした親要素の背景が消える理由</title>
		<link>http://wp.aiziro.com/archives/37/</link>
		<comments>http://wp.aiziro.com/archives/37/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 18:40:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=37</guid>
		<description><![CDATA[子要素にfloatを指定すると、親要素の背景が消える（IE6は消えない。やっぱりバグ）のは、floatが&#8221;浮いて&#8221;右寄せ左寄せされるから、親要素の高さを失うというカラクリ。
[ oh! ]
対処法 [...]]]></description>
			<content:encoded><![CDATA[<p>子要素にfloatを指定すると、親要素の背景が消える（IE6は消えない。やっぱりバグ）のは、floatが&#8221;浮いて&#8221;右寄せ左寄せされるから、親要素の高さを失うというカラクリ。</p>
<p>[ oh! ]</p>
<p>対処法はいつくかアリ。</p>
<p>1. 親要素に高さを指定する。<br />
※中にテキストがある場合は高さの指定が難しい。</p>
<p>2. 親ボックスの次要素にclear指定</p>
<pre name="code" class="css">div.floated:after{/*floated = parent*/
content:"";
display:block;
clear:both;
}
</pre>
<p>※IE6は:afterもcontentも未対応。でもバグのおかけで結果は一緒。<br />
3. 親ボックスにoverflow:auto;を指定。</p>
<pre name="code" class="css">div.floated{
width:000px;
background:#666666;
overflow:auto;
}
</pre>
<p>※MacIEではoverflowがvisible以外だとスクロールバーが出るらしい（テストしたら出なかった!?）。<br />
なのでMacIE用に以下を記述して上書き。</p>
<pre name="code" class="css">/*\*//*/
*html div.floated{overflow: visible;}
/**/</pre>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/37/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS : IE5.5-6でのPNG画像</title>
		<link>http://wp.aiziro.com/archives/36/</link>
		<comments>http://wp.aiziro.com/archives/36/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 18:31:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=36</guid>
		<description><![CDATA[*html div#idname{ /*star huck*/
background:url();/*For no IE. Remove background PNG image.*/　　filter:progid:DX [...]]]></description>
			<content:encoded><![CDATA[<pre name="code" class="css">*html div#idname{ /*star huck*/
background:url();/*For no IE. Remove background PNG image.*/　　filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='path',sizingMethod='scale'
);/*In Actual, Do not insert the line feed.*/
height:100%;
}</pre>
<p><strong>[ sizingMethodプロパティ ]</strong></p>
<p>scale = 要素に合わせて画像を拡大・縮小<br /> image = 要素を画像のサイズに合わせる<br /> crop = そのまま</p>
<p> ※AlphaImageLoader内のsrcは<span style="color: rgb(255, 0, 0);">HTMLファイルからのパス</span>として適用される</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/36/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS : clearの正体</title>
		<link>http://wp.aiziro.com/archives/35/</link>
		<comments>http://wp.aiziro.com/archives/35/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 18:28:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=35</guid>
		<description><![CDATA[■ブロックレベル要素に適用できる (=brなどインライン要素に適用するのはダメ）。
■clear適用のボックスにはmargin-topを指定しない。
&#8594; clear は、「float を解除する」ために、ボック [...]]]></description>
			<content:encoded><![CDATA[<p>■ブロックレベル要素に適用できる (=brなどインライン要素に適用するのはダメ）。</p>
<p>■clear適用のボックスにはmargin-topを指定しない。<br />
&rarr; clear は、「float を解除する」ために、ボックスの上マージンを増やして、フロート要素の外下辺より clear したボックスのボーダー上辺が下にくるよう調整するから</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/35/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TIPS : コメント書き方</title>
		<link>http://wp.aiziro.com/archives/34/</link>
		<comments>http://wp.aiziro.com/archives/34/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 18:26:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[TIPS]]></category>

		<guid isPermaLink="false">http://wp.aiziro.com/?p=34</guid>
		<description><![CDATA[A. htmlの場合&#60;!&#8211; コメント&#8211;&#62;
B. CSSの場合/* コメント*/
C. Actionscript , Javascriptの場合//コメント: 単一行
/* コメント*/ [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: rgb(255, 0, 0);">A.</span> htmlの場合<br />&lt;!&#8211; コメント&#8211;&gt;</p>
<p><span style="color: rgb(255, 0, 0);">B.</span> CSSの場合<br />/* コメント*/</p>
<p><span style="color: rgb(255, 0, 0);">C.</span> Actionscript , Javascriptの場合<br />//コメント: 単一行</p>
<p>/* コメント*/ : 複数行</p>
<p><span style="color: rgb(255, 0, 0);">D.</span> xhtml (xml) でstyle要素内にスタイルシートを記述する場合<br />&lt;![CDATA[　コメント　]]&gt;<br />&rarr; CSS2に対応していないブラウザでは、&lt;!&#8211; コメント&#8211;&gt;が認識される可能性があるから</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.aiziro.com/archives/34/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

