<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>石間謙 勝手ブログ Ver.2.5 &#187; flash</title>
	<atom:link href="http://jbar.jp/ishima/tag/flash/feed" rel="self" type="application/rss+xml" />
	<link>http://jbar.jp/ishima</link>
	<description>IT、iPhone、NOKIA、バー、日本酒、柏、冷麺、釣り、星、フードニングネタを書き綴るサイト</description>
	<lastBuildDate>Fri, 09 Dec 2011 05:25:05 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://jbar.jp/ishima/tag/flash/feed" />
		<item>
		<title>smokescreenがすごい</title>
		<link>http://jbar.jp/ishima/it/flash_on_smokescreen.html</link>
		<comments>http://jbar.jp/ishima/it/flash_on_smokescreen.html#comments</comments>
		<pubDate>Mon, 07 Jun 2010 10:46:58 +0000</pubDate>
		<dc:creator>石間</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://jbar.jp/ishima/?p=871</guid>
		<description><![CDATA[iPhoneがFlashを今後もサポートしないのは先日、スティーブ・ジョブズが発表したばかりだ。 しかしFlashをサポートしていない機種でもFlashコンテンツを表示できる「Smokescreen」というものが最近話題 [...]]]></description>
			<content:encoded><![CDATA[<p>iPhoneがFlashを今後もサポートしないのは先日、スティーブ・ジョブズが発表したばかりだ。</p>
<p>しかしFlashをサポートしていない機種でもFlashコンテンツを表示できる「Smokescreen」というものが最近話題になっている。デモサイトは下記の通りだ。デモサイトではFlashプレーヤとsmokescreenで表示させた場合と二つ見ることができるが、smokescreenは遜色ない。</p>
<p><a href="http://smokescreen.us/demos/lyrisdemo.html">http://smokescreen.us/demos/lyrisdemo.html</a></p>
<p>smokescreenはHTML5＋javascriptで書かれたいわばFlashプレーヤだ。これを使うことで既存のFlashコンテンツを問題なく表示させることがでる。以前、同様のコンセプトで「Gordon」（サイトは<a href="http://paulirish.com/work/gordon/demos/">こちら</a>）があったが、それよりも格段に優れている。</p>
<p>まだIEでは実現できないようだが、他のブラウザは問題なく表示できる。</p>
<p>ライセンスもオープンライセンスになるようなのでこれが早く公にダウンロードできるようになれば、またJavascriptの活用の幅が広がるだろう。</p>
<p> </p>
<hr />
<p><span style="color: #99cc00;"><strong>本日の石間のボソッと</strong></span></p>
<p>paypalと拙作拡張ダウンロードプラグインの合体バージョンはユーザのニーズがあるかも／smokescreenすごい／月刊ビミーなんて知らなかった。WHISKYWORLDの日本酒バージョンみたいなものなのか？／GoogleAdSenseより楽天アフィリエイトが上回る可能性が・・・。</p>
<img src="http://jbar.jp/ishima/?ak_action=api_record_view&id=871&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jbar.jp/ishima/it/flash_on_smokescreen.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://jbar.jp/ishima/it/flash_on_smokescreen.html" />
	</item>
		<item>
		<title>swfmillとFLASHLITE</title>
		<link>http://jbar.jp/ishima/it/swfmill%e3%81%a8flashlite.html</link>
		<comments>http://jbar.jp/ishima/it/swfmill%e3%81%a8flashlite.html#comments</comments>
		<pubDate>Wed, 06 Jan 2010 21:32:01 +0000</pubDate>
		<dc:creator>石間</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[swfmill]]></category>

		<guid isPermaLink="false">http://jbar.jp/ishima/?p=568</guid>
		<description><![CDATA[昨日はFLASHLITEをswfmillでいじるのに思いきりハマってしまった。 結果的には文字コードの問題だった。KLabの記事によると、日本語を含むFlash Lite 1.xのswfファイルをswfmill swf2 [...]]]></description>
			<content:encoded><![CDATA[<p>昨日はFLASHLITEをswfmillでいじるのに思いきりハマってしまった。</p>
<p>結果的には文字コードの問題だった。<a href="http://dsas.blog.klab.org/archives/51174693.html">KLabの記事</a>によると、日本語を含むFlash Lite 1.xのswfファイルをswfmill swf2xmlしてみたところ、&#8221;<strong>error : xmlEncodeEntitiesReentrant : input not UTF-8</strong>&#8220;というエラーメッセージがでて、xmlファイルの出力が途中で止まってしまうのは、Flash Lite 1.xで日本語swfの中の文字コードはcp932、Flash Lite 2.x以降のswf内文字コードはUTF-8のために起こるようだ。</p>
<p>swfmillがlibxml2を利用するときはかならずUTF-8になるため、cp932の文字コードの入ったswfファイルを扱えば文字が化ける。もっともな理屈です。</p>
<p>上記のKLabのサイトではこのcp932に対応したWindowsで利用できるバイナリも用意してくれていたので試してみました。swfmill利用時に　-e cp932 オプションを付けるだけです。</p>
<p>すると私が扱っているswfファイルでは以下のようなことになりました。</p>
<p><strong><span style="color: #0000ff;"> ・SWFからXMLファイルの生成はできる</span></strong></p>
<p><strong><span style="color: #0000ff;"> ・画像の入れ替えはできた</span></strong></p>
<p><strong><span style="color: #0000ff;"> ・一部文字が化けました。（「修」という文字から先の文字列）</span></strong></p>
<p><strong><span style="color: #0000ff;"> ・urlのリンク先変更ができない。</span></strong></p>
<p>自分の環境でビルドしないと問題は解決しないのだろうか・・・。</p>
<p>その他参考URL：</p>
<p><a href="http://tmty.jp/2009/04/16/generate_flash_lite_on_server/">http://tmty.jp/2009/04/16/generate_flash_lite_on_server/<br />
</a><a href="http://d.hatena.ne.jp/haru-komugi/20090213/1234541317">http://d.hatena.ne.jp/haru-komugi/20090213/1234541317</a></p>
<p><a href="http://d.hatena.ne.jp/haru-komugi/20090213/1234541317"></a></p>
<img src="http://jbar.jp/ishima/?ak_action=api_record_view&id=568&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jbar.jp/ishima/it/swfmill%e3%81%a8flashlite.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://jbar.jp/ishima/it/swfmill%e3%81%a8flashlite.html" />
	</item>
		<item>
		<title>FTPを使わずブラウザからファイルのアップロード</title>
		<link>http://jbar.jp/ishima/it/flash_file_uploader.html</link>
		<comments>http://jbar.jp/ishima/it/flash_file_uploader.html#comments</comments>
		<pubDate>Tue, 05 Jan 2010 14:00:52 +0000</pubDate>
		<dc:creator>石間</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[file upload]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jbar.jp/ishima/?p=553</guid>
		<description><![CDATA[FTPは便利だが、環境によってはユーザにFTPを使わせたくない場合もある。このような時にFTPの利便性を損なわないまま、ブラウザでファイルをアップロードできる環境があると便利だ。 特に下記のFlashFileUpload [...]]]></description>
			<content:encoded><![CDATA[<p>FTPは便利だが、環境によってはユーザにFTPを使わせたくない場合もある。<br />このような時にFTPの利便性を損なわないまま、ブラウザでファイルをアップロードできる環境があると便利だ。 特に下記のFlashFileUploaderはなかなか便利だった。</p>
<p><a href="http://don.citarella.net/index.php/actionscript-examples/flash-file-uploader/#custom">http://don.citarella.net/index.php/actionscript-examples/flash-file-uploader/#custom</a></p>
<p><img class="alignleft size-medium wp-image-559" title="WS000002" src="http://jbar.jp/ishima/wp-content/uploads/2010/01/WS000002-300x130.jpg" alt="WS000002" width="300" height="130" /></p>
<p>このFlashFileUploaderはアップロードの進捗表示もできるのでなかなか便利だ。アップロード先もPHPのスクリプトを見られる人ならすぐに変更できる。</p>
<p>上記のURLからダウンロードすれば、解凍したフォルダごとそのまま利用できる。特に設定は不要だ。ただ、基本が英語のまま書かれているので、メニューなどを日本語化したい場合はエディタなどで各英語メニューの単語を探してメニューを日本語にすればよい。ただ、その際にheadタグ内でcharsetなどを設定してあげないと文字化けする場合がある（デフォルトでは設定されていない）。もしくは.htaccessなどで文字コードを設定してしまうとよい。<br />またスクリプト内の最初に記述されているxmlのlangもenのままなので、これもjaに直そう。<br />私はデータベースを使う関係とこの仕組みがFlashを使っているので、UTF-8が良いのではないかと考えてスクリプトの文字コードやデータベースのコードもすべてUTF-8にしているが今のところ特に問題はない。ただし日本語のファイル名などは試していない。</p>
<p>ただ気をつけたい点があった。これはFlashを利用したシステムなので、BASIC認証のかかったフォルダ下におくと動作しない。これはFlashの制限でBASIC認証を通過できないためだ。<br />調べた限りではこのようなことを行いたい場合はFlashからproxyとしてPHPのスクリプトを呼び出してBASIC認証をすり抜けるやり方があるようだ。もしかするとこのスクリプトのupload.phpを改造すればそれも可能なのかもしれないが、そこまでは試していない。</p>
<p> </p>
<p>他にも同様のものとして下記のようなものがあるようだが、こちらはまだ試していない。</p>
<p>http://www.inaflashuploader.com/</p>
<img src="http://jbar.jp/ishima/?ak_action=api_record_view&id=553&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://jbar.jp/ishima/it/flash_file_uploader.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://jbar.jp/ishima/it/flash_file_uploader.html" />
	</item>
	</channel>
</rss>

