<?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>Vancouverで活動中の沖縄人。flash Actionscript Blog構築 他プログラミング &#124; エンズクリエイティブスタヂオ &#187; Flash Lite</title>
	<atom:link href="http://www.ncreate.net/category/flash-lite/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ncreate.net</link>
	<description>バンクーバーで活動中の沖縄人。フリーランスのウェブデザイナー。Flash,Actionscript他</description>
	<lastBuildDate>Wed, 28 Jul 2010 18:37:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>FlashLite 上下ボタンでフォーカスを最上部→最下部（最下部→最上部）へループさせないようにする（改）</title>
		<link>http://www.ncreate.net/flash-lite/post689/</link>
		<comments>http://www.ncreate.net/flash-lite/post689/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 05:28:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Lite]]></category>

		<guid isPermaLink="false">http://www.ncreate.net/?p=689</guid>
		<description><![CDATA[相変わらず、縦長のFlashLiteをやっております。前の記事でフォーカスのループに悩まされていましたが、なんとか解決しました。という事を書いたのですが。話はまわ終わっていませんでした。
前回と同様、終わってみれば本当に [...]]]></description>
			<content:encoded><![CDATA[<p>相変わらず、縦長のFlashLiteをやっております。<a href="http://www.ncreate.net/flash-lite/post680/">前の記事</a>でフォーカスのループに悩まされていましたが、なんとか解決しました。という事を書いたのですが。話はまわ終わっていませんでした。</p>
<p>前回と同様、終わってみれば本当に本当に簡単なことでした。難しく考えすぎず、まずは初心に帰りなさい、ということですな。</p>
<p>今回はコードを書くまでもなさそうですね。やったことは、</p>
<p>「上端（下端）にしたいボタンのすぐ先（上端ならそれより少し上、下端ならその逆）にもう１個ボタンを作り、そのボタンのオンマウスイベントと同時に直前のボタンへフォーカスを当てなおす」</p>
<p>です。。。</p>
<p>では、コードをご覧下さい。</p>
<div class="igBar"><span id="lactionscript-2"><a href="#" onclick="javascript:showPlainTxt('actionscript-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
<div id="actionscript-2">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ButtonA.<span style="color: #0066CC;">onRollOver</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">Selection</span>.<span style="color: #0066CC;">setFocus</span><span style="color: #66cc66;">&#40;</span>ButtonB<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ButtonE.<span style="color: #0066CC;">onRollOver</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">Selection</span>.<span style="color: #0066CC;">setFocus</span><span style="color: #66cc66;">&#40;</span>ButtonD<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>上から順にBCDと縦にボタン並んでいて、B,Dをそれぞれ上、下とした場合、Bの少し上にダミーAを、Dの少し下にダミーEのボタンを置きます。</p>
<p>「A(E)にフォーカスがあたったら、すぐにB(D)に当て直して下さい」というもの。</p>
<p>B(D)にフォーカスが当たっている状態で上(下)ボタンを押しても処理が一瞬で済んでしまうので、見た目上、動いていないように見える。すなわちループを阻止できるという訳です。</p>
<p>これでようやく解決か。少し寝よう、、</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ncreate.net/flash-lite/post689/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashLite 上下ボタンでフォーカスを最上部→最下部（最下部→最上部）へループさせないようにする</title>
		<link>http://www.ncreate.net/flash-lite/post680/</link>
		<comments>http://www.ncreate.net/flash-lite/post680/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 12:01:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Lite]]></category>

		<guid isPermaLink="false">http://www.ncreate.net/?p=680</guid>
		<description><![CDATA[携帯の画面に入りきらないくらい縦長のFlashLiteアプリを作ることになりまして、これまでになくいろいろ勉強させて頂いている訳ですが、今回地味だけどかなり悩んだ事があったのでメモ。
悩まされたのは「最下部（最上部）のボ [...]]]></description>
			<content:encoded><![CDATA[<p>携帯の画面に入りきらないくらい縦長のFlashLiteアプリを作ることになりまして、これまでになくいろいろ勉強させて頂いている訳ですが、今回地味だけどかなり悩んだ事があったのでメモ。</p>
<p>悩まされたのは「最下部（最上部）のボタンにフォーカスが当たっているときに更に下（上）ボタンを押すと最下部（最上部）に移動してループしてしまう」という仕様。</p>
<p>これを、ループさせず最下部（最上部）で下（上）を押してもフォーカスを移動させず残しておきたい。</p>
<p>まず、もともとそういう事を制御するプロパティとかありそうだ、ということで探してみるが、見つけきれず、、、</p>
<p>そのボタンにオンマウスしたら、他のボタンをすべてenabled = falseで使えなくしつつ、（最下部にフォーカスがあった場合）上ボタンをおした時だけ、復活！そして移動！みたいなこともやってみたが、なんだかうまくいかない。。</p>
<p>ちょっと頭を冷やそうと思ったときに、ふと書いたコードで解決。簡単なことでした。</p>
<div class="igBar"><span id="lactionscript-4"><a href="#" onclick="javascript:showPlainTxt('actionscript-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
<div id="actionscript-4">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">Button</span>.<span style="color: #0066CC;">onRollOut</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Key</span>.<span style="color: #0066CC;">getCode</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> == <span style="color: #cc66cc;color:#800000;">40</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">Selection</span>.<span style="color: #0066CC;">setFocus</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>40というのはキーコードで下ボタンを意味します。なので、「下をおしたときはもう一度自分にフォーカスを戻してね」という事になります。（ちなみに上キーは38です）</p>
<p>例えば、1つのswf内でエリア分けしてその中だけで移動を制御したい場合等、特に一番上（下）のボタンでなくても使えそうですね。</p>
<p>（ただし、上下ボタン対応の機種のみで、上下左右使えるものは別ですが、、）</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ncreate.net/flash-lite/post680/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>日本のFlashLiteの仕様</title>
		<link>http://www.ncreate.net/flash-lite/post385/</link>
		<comments>http://www.ncreate.net/flash-lite/post385/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 12:01:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Lite]]></category>

		<guid isPermaLink="false">http://www.ncreate.net/?p=385</guid>
		<description><![CDATA[アドビさんがこういうページを持っていました。助かりまっす！（メモメモ、、）
Flash Lite入門講座　第1回　日本のFlashLiteの仕様
あと、Docomoさんでもデバイスフォント一覧を用意しててくれていた。
D [...]]]></description>
			<content:encoded><![CDATA[<p>アドビさんがこういうページを持っていました。助かりまっす！（メモメモ、、）</p>
<p><a href="http://www.adobe.com/jp/devnet/devices/articles/develop_in_japan.html">Flash Lite入門講座　第1回　日本のFlashLiteの仕様</a></p>
<p>あと、Docomoさんでもデバイスフォント一覧を用意しててくれていた。</p>
<p><a href="http://www.nttdocomo.co.jp/service/imode/make/content/spec/flash/">Docomo携帯のFlashLite仕様</a></p>
<p>他のキャリアさんもこういうの持っててくれたらいいのに！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ncreate.net/flash-lite/post385/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>携帯向けFlash　actionscript 一覧</title>
		<link>http://www.ncreate.net/flash-lite/post376/</link>
		<comments>http://www.ncreate.net/flash-lite/post376/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 12:34:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Lite]]></category>

		<guid isPermaLink="false">http://www.ncreate.net/?p=376</guid>
		<description><![CDATA[こりゃ便利
作者様、ありがとうー！
携帯向けFlash　actionscript 一覧
]]></description>
			<content:encoded><![CDATA[<p>こりゃ便利</p>
<p>作者様、ありがとうー！</p>
<p><a href="http://nsflash.com/action/action.html">携帯向けFlash　actionscript 一覧</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ncreate.net/flash-lite/post376/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fscommand2 コマンド</title>
		<link>http://www.ncreate.net/flash-lite/post228/</link>
		<comments>http://www.ncreate.net/flash-lite/post228/#comments</comments>
		<pubDate>Tue, 19 May 2009 02:26:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Lite]]></category>

		<guid isPermaLink="false">http://www.ncreate.net/?p=228</guid>
		<description><![CDATA[いろいろできるのね、、メモメモ
Flash Lite 2.x fscommand2 コマンド
]]></description>
			<content:encoded><![CDATA[<p>いろいろできるのね、、メモメモ</p>
<p><a href="http://livedocs.adobe.com/flashlite/2_jp/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part_api_ref.html">Flash Lite 2.x fscommand2 コマンド</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ncreate.net/flash-lite/post228/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Lite 2.0 と 2.1 の違い</title>
		<link>http://www.ncreate.net/flash-lite/post224/</link>
		<comments>http://www.ncreate.net/flash-lite/post224/#comments</comments>
		<pubDate>Sat, 02 May 2009 12:24:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Lite]]></category>

		<guid isPermaLink="false">http://www.ncreate.net/?p=224</guid>
		<description><![CDATA[flash playerを手軽にバージョンアップできるPCと違い、ハードに依存している携帯は世代交代するまでかなりの時間を要する。
既にバージョンが3.1になっているFlash Liteも、未だに1.1での制作依頼が多い [...]]]></description>
			<content:encoded><![CDATA[<p>flash playerを手軽にバージョンアップできるPCと違い、ハードに依存している携帯は世代交代するまでかなりの時間を要する。<br />
既にバージョンが3.1になっているFlash Liteも、未だに1.1での制作依頼が多いのが現状。後数年の辛抱か、、、</p>
<p>今回はめずらしく2.0の依頼。仕様を見直そうと調べていると2.1もあることが分かり違いを調べてみた。</p>
<p>2.0と2.1の主な違い（追加されたもの）はこんな感じ</p>
<ul>
<li><span class="Apple-style-span" style="border-collapse: collapse; color: #000000; font-family: 'MS P Gothic'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">インラインテキスト入力のサポート（一部の言語を除く）</span></li>
<li><span class="Apple-style-span" style="border-collapse: collapse; color: #000000; font-family: 'MS P Gothic'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">XMLSocket クラスを使用したソケット通信をサポートしているデバイスでこのソケット通信が可能</span></li>
<li><span class="Apple-style-span" style="border-collapse: collapse; color: #000000; font-family: 'MS P Gothic'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">BREWデバイス向け開発ツールの追加</span></li>
</ul>
<ol></ol>
<p><span class="Apple-style-span" style="border-collapse: collapse; color: #000000; font-family: 'MS P Gothic'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">2.0、2.1の違いはほとんど無いみたい。</span></p>
<p><span class="Apple-style-span" style="border-collapse: collapse; color: #000000; font-family: 'MS P Gothic'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">どうりで2.1の情報が多いわけだ。情報元は<a href="http://help.adobe.com/ja_JP/FlashLite/2.0_FlashLiteDevGuide2/WS5b3ccc516d4fbf351e63e3d118d293e4ad-7fe6.html">こちら</a>。</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ncreate.net/flash-lite/post224/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashLite 時計</title>
		<link>http://www.ncreate.net/works/post82/</link>
		<comments>http://www.ncreate.net/works/post82/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 17:09:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Lite]]></category>
		<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://www.ncreate.net/?p=82</guid>
		<description><![CDATA[先日、仕事がきっかけで初めてFlashLiteに挑戦してみた。。
実際の作業はボタンを貼り付けてクリックでgetURL(なんだか懐かしい)させただけで、「挑戦」という程高度な事をした訳でもなかったんだけど、ＰＣの画面で見 [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_92" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-92" title="FlashLite 時計" src="http://www.ncreate.net/wp-content/uploads/2008/11/2008111012-300x198.jpg" alt="FlashLite 時計" width="300" height="198" /><p class="wp-caption-text">FlashLite 時計</p></div>
<p>先日、仕事がきっかけで初めてFlashLiteに挑戦してみた。。</p>
<p>実際の作業はボタンを貼り付けてクリックでgetURL(なんだか懐かしい)させただけで、「挑戦」という程高度な事をした訳でもなかったんだけど、ＰＣの画面で見るのとまた違い、携帯の中で動かすのはまた新鮮で良かった。</p>
<p>しかし、ハードがぜんぜん追いついてなさすぎ！（だよね？？）CS3でFlashLite3.0+AS2での開発は可能なのに、実際はまだFlashLite1.1が主流とか。モバイル端末で電力の制約はあるだろうけど、これはちょっと厳しい、、</p>
<p>ソーラーパワーで単体で充電できる携帯とか出てくれればいいのになぁ、、</p>
<p>さておき、、、</p>
<p>見やすい携帯用の時計がほしくて、Flashで待ちうけできるかなぁ、、と勉強がてら作ってみました。シンプルですが、西暦の横に和暦を入っているので、ど忘れした時に使えます。レイアウトは適当。秒のところがやたらでかいですが、ちょっと「動いてる感」を出したかったので、、</p>
<p>それで、ひっかかった事があったので、メモ。</p>
<p>どうやらハードの仕様(私のはF905i)で、Flashは表示から30秒でストップしてしまうみたい。何かボタンを押せばまた動き出すので最新の時間が更新されるのだが、、、そんなの嬉しくない！！（時計としては致命的。。）</p>
<p>きちんと理想的な動きをしてくれる端末も結構あるようなので、ご興味あればお試し下さい。</p>
<ul>
<li>FlashLite1.1</li>
<li>AS1.0</li>
</ul>
<p><a href="http://www.ncreate.net/flashlite/clock.swf">http://www.ncreate.net/flashlite/clock.swf</a>に携帯でアクセスして下さい。<br />
（携帯用です。ＰＣブラウザで見た場合表示が崩れますのでご注意）</p>
<p>私のF905iでは携帯端末で表示した状態から</p>
<p>MENU→画像保存→画像選択→保存→設定→[1]待ち受けに設定</p>
<p>でいけましたので参考まで。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ncreate.net/works/post82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
