<?xml version="1.0" encoding="UTF-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="ja">
<title>nod::ぶろぐ:RIA::Flex/AIR/Flash</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/" />
<modified>2008-07-21T15:11:22Z</modified>
<tagline>FlashやFlex,(Ajax）,S2Flex2,ActionScript3,yui-frameworks,Akabanaプロジェクトなどのメモ帳</tagline>
<id>tag:www.noridon.net,2008:/weblogs//3</id>
<generator url="http://www.movabletype.org/" version="3.36">Movable Type</generator>
<copyright>Copyright (c) 2008, nod</copyright>
<entry>
<title>Flash Player 10 Beta 2の新機能やチュートリアルなど</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/07/flash_player_10_3.html" />
<modified>2008-07-21T15:11:22Z</modified>
<issued>2008-07-20T17:45:32Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.565</id>
<created>2008-07-20T17:45:32Z</created>
<summary type="text/plain">Flash Player 10 Betaの新機能やチュートリアル、サンプルなどの...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>Flash Player</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p><a href="http://labs.adobe.com/technologies/flashplayer10/" target="external">Flash Player 10 Beta</a>の新<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features" target="external">機能</a>やチュートリアル、サンプルなどのリンクをこれまで試したものも含めてまとめてみました。</p>

<p>まず最初はリリースノートから。<br />
<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html" target="external">リリースノート</a>をみると、変更点や、改善点などがわかります。</p>

<p>Adobe Labs - Flash Player 10 Beta Release Notes<br />
<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html" target="external">http://labs.adobe.com/technologies/flashplayer10/releasenotes.html</a></p>

<p>Linux版Flash Playerについて多く書かれている、<a href="http://blogs.adobe.com/penguin.swf/" target="external">Penguin.swf</a>ではLinux版の新機能を中心に、トルコ語を含む10言語サポートなどについても言及されていました。</p>

<p>■Penguin.SWF: Turkish Localization! ... also Wmode, V4L2<br />
<a href="http://blogs.adobe.com/penguin.swf/2008/07/turkish_localization_also_wmod.html" target="external">http://blogs.adobe.com/penguin.swf/2008/07/turkish_localization_also_wmod.html</a><br />
より。</p>

<ul><li>トルコ語サポート</li><li>wmode</li><li>Updated Camera Support (V4L2)</li><li>Extended Language Support</li><li>Speed and Stability</li><li>dynamic sound generation</li></ul>]]>
<![CDATA[<h3>■速度改善(Speed and Stability)</h3>

<p><a href="http://www.macotakara.jp/blog/i target="external">MACお宝鑑定団 blog</a>によると、Mac OS X版のFlash Playerは以前のバージョンの<a href="http://www.macotakara.jp/blog/index.php?ID=442" target="external">３倍早くなっている</a>との事。<br />
このエントリーで語られている、<a href="http://www.craftymind.com/guimark/" target="external">GUI Mark</a>というのを初めて知りました。</p>

<p>#シャア専用みたいなエントリーで速度改善を知りました。<br />
Flash Player 10 for Mac OS Xは前のバージョンより３倍速い － MACお宝鑑定団 blog<br />
<a href="http://www.macotakara.jp/blog/index.php?ID=442" target="exernal">http://www.macotakara.jp/blog/index.php?ID=442</a></p>

<p>#元ネタ<br />
kaourantin.net: Adobe Flash Player 10 pre-release refresh<br />
<a href="http://www.kaourantin.net/2008/07/adobe-flash-player-10-pre-release.html" target="external">http://www.kaourantin.net/2008/07/adobe-flash-player-10-pre-release.html</a></p>

<h3>■unloadAndStop</h3>
これは、Beta2からの新機能の一つ。AS2のアンロードと似た動作を行うとの事です。
unloadAndStop については、どのblogをみてもリンク先が同じで<a href="http://www.gskinner.com/" target="external">Grant Skinnerさん</a>が書いたこの<a href="http://www.gskinner.com/blog/archives/2008/07/additional_info.html" target="external">エントリー</a>になっていました。

<p>gskinner.com: gBlog: Additional Information on Loader.unloadAndStop<br />
<a href="http://www.gskinner.com/blog/archives/2008/07/additional_info.html" target="external">http://www.gskinner.com/blog/archives/2008/07/additional_info.html</a></p>

<h3>Dynamic Sound Generation</h3>

<p>Soundクラスの拡張で動的にオーディオコンテンツを作成できる機能のようです。</p>

<p>#コードも含めたサンプルをみる事ができます。結構うるさい音がでますので要注意<br />
Flash Player 10 Beta: Dynamic Sound<br />
<a href="http://www.gotoandlearn.com/player.php?id=75"  target="external">http://www.gotoandlearn.com/player.php?id=75</a><br />
#Beta1がでた頃のエントリーをBeta2用に修正してくれています。<br />
kaourantin.net: Adobe Is Making Some Noise Part 2<br />
 <a href="http://www.kaourantin.net/2008/05/adobe-is-making-some-noise-part-2.html" target="exernal">http://www.kaourantin.net/2008/05/adobe-is-making-some-noise-part-2.html</a><br />
kaourantin.net: Adobe Is Making Some Noise Part 3<br />
<a href="http://www.kaourantin.net/2008/05/adobe-is-making-some-noise-part-3.html" target="external">http://www.kaourantin.net/2008/05/adobe-is-making-some-noise-part-3.html</a></p>

<p>#物理エンジンとの組み合わせのようですが、試したStandAlone版FlashPlayer(10.0.0.525 macos X)では再生できず。<br />
joeberkovitz.com » Audio-enabled Physics Engine Example<br />
<a href="http://www.joeberkovitz.com/blog/2008/06/09/audio-enabled-physics-engine-example/" target="external">http://www.joeberkovitz.com/blog/2008/06/09/audio-enabled-physics-engine-example/</a></p>

<p>#SoundAPI関連のリンク集<br />
FlashPlayer 10 is making noise (links) at Adobe, MAKE SOME NOISE<br />
<a href="http://www.make-some-noise.info/2008/05/21/flashplayer-10-is-making-noise-links/" target="external">http://www.make-some-noise.info/2008/05/21/flashplayer-10-is-making-noise-links/</a></p>

<p></p>

<h3>■ファイルリファレンス runtimeAccess</h3>
<a href="http://livedocs.adobe.com/flex/3_jp/langref/flash/net/FileReference.html" target="external">ファイルリファレンス</a>も強化され、ローカルファイルのアクセスができるようになっています。
<ul><li>ローカルファイルデータの読み込み</li><li>ローカルファイルへの出力</li></ul>リリースノートによるとコミュニティによるリクエストのようです。
<a href="http://s2flex2.sandbox.seasar.org/ja/" target="external">S2Flex2</a>のサンプルでカメラ画像をPNGにエンコードしてサーバ上で保存し、一覧から表示するというアプリケーションがあるのですが、サーバ連携なしにFlash Playerだけでできるようになります。

<p>新しいファイルリファレンスの解説は、<a href="http://d.hatena.ne.jp/arkw/" target="external">arkw</a>さんと<a href="http://weblogs.macromedia.com/akamijo/" target="external">上条さん</a>のblogが参考になります。</p>

<p>#arkwさんによるファイルリファレンスの解説<br />
File Reference runtime access - AKABANA<br />
<a href="http://d.hatena.ne.jp/arkw/20080516/1210925411" target="exernal">http://d.hatena.ne.jp/arkw/20080516/1210925411</a></p>

<p>#上条さんの解説<br />
akihiro kamijo: Flash Player 10 のローカルファイルアクセス機能 (FileReference クラス)<br />
<a href="http://weblogs.macromedia.com/akamijo/archives/2008/07/flash_player_10_5.html#more" target="exernal">http://weblogs.macromedia.com/akamijo/archives/2008/07/flash_player_10_5.html#more</a></p>

<p>#Alive PDFとファイルリファレンスを組み合わせたデモのリンクがあります。<br />
AlivePDF with FileReference in Astro <font size='1'>[ by Thibault Imbert ]</font> < ByteArray.org<br />
<a href="http://www.bytearray.org/?p=135" target="external">http://www.bytearray.org/?p=135</a></p>

<p><br />
<h3>WMODEのサポート(Linux)</h3><br />
Beta2になってLinux版ではこれまでサポートされていなかったWMODEがサポートされています。<br />
以前の<a href="http://www.noridon.net/weblogs/archives/2008/07/scree.html" target="external">エントリー</a>にも書きましたが、日本語が入力できなくなる、fpsが変わるなどwmode自体昔から問題があるようです。今後の改善に期待です。<br />
<a href="http://www.adobe.com/support/documentation/en/flashplayer/9/releasenotes.html" target="external">Flash Player 9のリリースノート</a>によるとFullScreenモードとwmodeが併用できないバグ(Bug 202290)はmovieStarの時に修正されたとの事ですが、wmodeを初めてサポートしたこのLinux版では直っていないようです..。</p>

<p>#このエントリーでもmovieStar(Flash Player 9 update3)で修正されたと言及されています。<br />
Kenny Bunch » Blog Archive » Fullscreen works with WMode<br />
<a href="http://www.kennybunch.com/blog/2008/03/wmode-works-with-fullscreen/" target="external">http://www.kennybunch.com/blog/2008/03/wmode-works-with-fullscreen/</a><br />
Full-screen can be used when wmode is set (202290)</p>

<p>#fxugのフォーラムにあった、wmodeの問題に関するThread<br />
wmodeの問題<br />
<a href="http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=thread&topic_id=73&forum=2&post_id=3235" target="external">http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=thread&topic_id=73&forum=2&post_id=3235</a></p>

<p><br />
<h3>Video4Linux V2のサポート</h3><br />
これのBeta2からの新機能です。LinuxのカメラサポートにVideo4Linux V2をサポートして、カメラがより扱いやすくなりました。<br />
eeePCでの検証結果は<a href="http://www.noridon.net/weblogs/archives/2008/07/flash_player_be.html" target="internal">こちらのエントリー</a>でまとめています。</p>

<p>#Adobeのフォーラム<br />
*  Flash Player 10beta2 with v4l2 on linux   - chihchun - 07/10/2008 01:13:29 AM<br />
<a href="http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=675&threadid=1377203&enterthread=y" target="external">http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=675&threadid=1377203&enterthread=y</a></p>

<p>バグレポにもあがっているみたい。<br />
[#FP-204] Video4Linux2 Support for Linux - Adobe Bug System<br />
<a href="http://bugs.adobe.com/jira/browse/FP-204" target="external">http://bugs.adobe.com/jira/browse/FP-204</a></p>

<p></p>

<h3>■チュートリアルやサンプル</h3>
Astroの新機能についてのチュートリアルもいくつかありました。この<a href="http://www.gotoandlearn.com/index.php" target="external">サイト</a>ではAstroのマークをつけたFileReferenceやDynamic Sound,3Dの例が、ファイルとともにDownloadして確認する事ができます。

<p>この<a href="http://blog.massivecube.com/?p=10" target="external>サイト</a>では<a href="labs.adobe.com/" target="external">Adobe Labs</a>にあるビデオやサンプルファイルのリンクがまとめられています。<br />
テキストエンジンに関するサンプルも<a href="http://download.macromedia.com/pub/labs/flashplayer10/sampleSource/NewTextEngine_Sample.zip" target="external">Download</a>することができるのですが<br />
<blockquote>	import vellum_flash;</blockquote>が解決できずコンパイルする事ができませんでした。同じ事が <a href="http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=675&threadid=1365238&highlight_key=y&keyword1=TextEngine" target="external">フォーラム</a>にもあがっていたのですが未解決のままのようです...。</p>

<p>この<a href="http://flashenabledblog.com/2008/07/08/tutorials-adobe-flash-tutorials-roundup/" target="external">エントリー</a>では、Astroの3Dを利用したカードのフリップのサンプル<a href="http://www.thetechlabs.com/flash/create-a-card-flip-effect-for-flash-player-10-using-actionscript-3/" target="external">リンク</a>などがありました。</p>

<p>Drawing APIについては、Beta1の頃にでた<a href="http://www.senocular.com/flash/tutorials/flash10drawingapi/" target="external">このチュートリアル</a>が参考になると思います。</p>

<p>Vectorについては、三度の飯よりActionScriptな<a href="http://www.be-interactive.org/" target="external">yossy</a>さんがサンプルや解説を書かれていますので<a href="http://www.be-interactive.org/index.php?itemid=374" target="external">こちら</a>をどうぞ。<br />
#yossyさんまだお会いした事ないので、今度のFxUG勉強会で会える事楽しみにしています。(^o^)ノ</p>

<p>#チュートリアルいっぱい<br />
gotoandlearn.com - Free video tutorials by Lee Brimelow on the Flash Platform<br />
<a href="http://www.gotoandlearn.com/index.php" target="external"></p>

<p>#新機能に関するリンクがいっぱい(beta1)<br />
Adobe Flash Player 10 (Astro) | Massive Cube Blog<br />
<a href="http://blog.massivecube.com/?p=10" target="external">http://blog.massivecube.com/?p=10</a></p>

<p>＃サンプルいっぱいあります。必見<br />
Tutorials | Adobe Flash Tutorials Roundup « Flash Enabled Blog<br />
<a href="http://flashenabledblog.com/2008/07/08/tutorials-adobe-flash-tutorials-roundup/" target="external">http://flashenabledblog.com/2008/07/08/tutorials-adobe-flash-tutorials-roundup/</a></p>

<p>#Drawing APIのチュートリアル。あちこちのblogでリンクされています。<br />
senocular.comTutorial Flash Player 10 Drawing API page 1<br />
<a href="http://www.senocular.com/flash/tutorials/flash10drawingapi/" target="external">http://www.senocular.com/flash/tutorials/flash10drawingapi/</a></p>

<p>#3D modelRenderの例。これもソース参照可能です。<br />
Flash Player 10 - 3D rendering in a simple loop (source) at Agit8<br />
<a href="http://agit8.turbulent.ca/bwp/2008/06/02/flash-player-10-3d-rendering-in-a-simple-loop-source/" target="external">http://agit8.turbulent.ca/bwp/2008/06/02/flash-player-10-3d-rendering-in-a-simple-loop-source/</a></p>

<p>#devnetの記事のようになっています。Card Flipのサンプルで、ファイルのDownloadもできます。<br />
Create a Card Flip Effect For Flash Player 10 using ActionScript 3 |<br />
The Tech Labs<br />
<a href="http://www.thetechlabs.com/flash/create-a-card-flip-effect-for-flash-player-10-using-actionscript-3/" target="external">http://www.thetechlabs.com/flash/create-a-card-flip-effect-for-flash-player-10-using-actionscript-3/</a></p>

<p><br />
#このサンプルの作り方は知っておきたいところ。しかしながらサンプルはこの<a href="http://download.macromedia.com/pub/labs/flashplayer10/sampleSource/NewTextEngine_Sample.zip"  target="external">ファイル</a>以外のコード例はほかではみたことがありません。<br />
#最近Downloadが可能になったFlex 4には含まれているかもしれません。<br />
textVideo<br />
<a href="http://labs.adobe.com/technologies/flashplayer10/demos/videos/text.html" target="external">http://labs.adobe.com/technologies/flashplayer10/demos/videos/text.html</a></p>

<p>#3Dに関するビデオ。最初にみてさわった記念＾＾；<br />
3DVideo<br />
<a href="http://labs.adobe.com/technologies/flashplayer10/demos/videos/3d.html" target="external">http://labs.adobe.com/technologies/flashplayer10/demos/videos/3d.html</a></p>

<h3>プレゼン資料など</h3>
ユーザグループなどのプレゼン資料が公開されているものもあります。この<a href="http://www.boostworthy.com/blog/?p=256" target="external">エントリー</a>では、アトランタユーザグループでの<a href="http://www.boostworthy.com/blog/?p=256" target="external">プレゼンファイル</a>とサンプルコードのリンクがあります。
<a href="http://www.fxug.net/" target="external">FxUG</a><a href="http://www.fxug.net/modules/bwiki/index.php?Flex3%CA%D9%B6%AF%B2%F1%C2%E843%B2%F3%A1%F7%C5%EC%B5%FE%BB%B2%B2%C3%BC%F5%C9%D5" target="external">勉強会</a>でもFlash Player 10を使うことについて、<a href="http://d.hatena.ne.jp/arkw/" target="external">arkw</a>さんより紹介がありました。お願いすれば資料の公開があるかもしれません。＾＾；

<p>boostworthyisryantaylor » AFPUG ‘Intro To Flash Player 10′ Presentation Files<br />
<a href="http://www.boostworthy.com/blog/?p=256" target="exernal">http://www.boostworthy.com/blog/?p=256</a><br />
#上記のリンク元。<br />
<a href="http://www.leifwells.com/index.cfm/2008/7/8/Tonights-Adobe-Flash-Platform-User-Group-Meeting-Ryan-Taylor-and-Flash-Player-10" target="external">http://www.leifwells.com/index.cfm/2008/7/8/Tonights-Adobe-Flash-Platform-User-Group-Meeting-Ryan-Taylor-and-Flash-Player-10</a></p>

<h3>その他</h3>

<p>Adobe Labs - Flash Player 10 Feature Demos and Videos<br />
<a href="http://labs.adobe.com/technologies/flashplayer10/demos/" target="external">http://labs.adobe.com/technologies/flashplayer10/demos/</a></p>

<p><br />
#devnetの記事。この記事はBeta1の頃のものです。<br />
Adobe - デベロッパーセンター : Flash Player 10パブリックベータ、登場<br />
http://www.adobe.com/jp/devnet/flashplayer/articles/flashplayer10_beta.html</p>

<p>#上条さんによるBeta1,Beta2の解説記事<br />
akihiro kamijo: Flash Player 10 beta 公開<br />
<a href="http://weblogs.macromedia.com/akamijo/archives/2008/05/flash_player_10.html" target="external">http://weblogs.macromedia.com/akamijo/archives/2008/05/flash_player_10.html</a><br />
akihiro kamijo: Flash Player 10 ベータ 2 公開<br />
<a href="http://weblogs.macromedia.com/akamijo/archives/2008/07/flash_player_10_4.html#more" target="external">http://weblogs.macromedia.com/akamijo/archives/2008/07/flash_player_10_4.html#more</a></p>

<p>#Beta1のころのエントリー<br />
Flash Player 10 Beta - A Wonderful New World « Flash Enabled Blog<br />
<a href="http://flashenabledblog.com/2008/05/15/flash-player-10-beta-a-wonderful-new-world/" target="external">http://flashenabledblog.com/2008/05/15/flash-player-10-beta-a-wonderful-new-world/</a></p>

<p>#Spark ProjectによるAPIリストや新クラスの一覧。Beta1の頃に作成され一気に充実していました。<br />
FlashPlayer/10/API - Spark project<br />
<a href="http://wiki.libspark.org/wiki/FlashPlayer/10/API" target="external">http://wiki.libspark.org/wiki/FlashPlayer/10/API</a></p>

<p>#System.gc()に対しても変更が入っているとの事。<br />
FP10 beta2 出た。 | Mtok-blog<br />
<a href="http://www.matzmtok.com/blog/?p=65" target="external">http://www.matzmtok.com/blog/?p=65</a></p>

<p>#Flash PlayerのBug Systemもあります。<br />
Browse Project - Adobe Bug System<br />
<a href="http://bugs.adobe.com/jira/browse/FP?report=com.atlassian.jira.plugin.system.project:popularissues-panel" target="exernal">http://bugs.adobe.com/jira/browse/FP?report=com.atlassian.jira.plugin.system.project:popularissues-panel</a></p>

<p></p>

<p>以上、Flash Player 10関連でした。<br />
まだβである今改善要望や、バグ報告など<a href="http://www.adobe.com/cfusion/mmform/index.cfm?name=fp_beta_feedback" target="external">フィードバック</a>すれば間に合う気がします。<br />
できる限りフィードバックしてリリースに間に合わせたいところです。</p>

<p><br />
#フィードバックはこちら<br />
Adobe Labs - Adobe Flash Player 10 Feedback Form <a href="http://www.adobe.com/cfusion/mmform/index.cfm?name=fp_beta_feedback">http://www.adobe.com/cfusion/mmform/index.cfm?name=fp_beta_feedback</a></p>

<p>Flash Player がバージョンあがればAIRにも動きがあるでしょうし、(今はairglobal.swcが更新されていないので、AIRアプリでは直接使う事ができません。plugin入れ替えてHTMLでwrapしないとAIRアプリケーションでは新しいAPIが動きません。)Flex4もはじまって、3.0.x,3.xとブランチいっぱいで今年から来年にかけてはどの時点で何を採用すればいいか、わからなくなりそう。また新機能を試していると実案件になった時なにができる、できないがバージョンごちゃごちゃになる時があるので注意です。(自戒)</p>]]>
</content>
</entry>
<entry>
<title>Adobe AIRの開発ツール(ADT)のエラーコード表が公開</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/07/adobe_airadt.html" />
<modified>2008-07-22T08:45:27Z</modified>
<issued>2008-07-20T07:51:30Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.564</id>
<created>2008-07-20T07:51:30Z</created>
<summary type="text/plain">Mike ChambersさんのblogでAdobe AIRの開発時に使用する実...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>apollo</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p>Mike Chambersさんの<a href="http://www.mikechambers.com/blog/" target="external">blog</a>で<a href="http://www.adobe.com/jp/products/air/" target="external">Adobe AIR</a>の開発時に使用する実行環境(ADT)の<a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=kb404054" target="external">エラーコード一覧</a>に対するリンクが<a href="http://www.mikechambers.com/blog/2008/07/14/adt-error-codes/" target="external">掲載されて</a>いました。</p>

<p>コンパイラのエラーコードやFlash Playerのエラーなど不明な事が多いのですが、AIRアプリもよくわからないエラーがあるので、メモしておきます。</p>

<p><br />
でも...</p>

<blockquote>5	Unknown error</blockquote>

<p>やっぱりわからないかも。orz..</p>

<p></p>

<p><br />
#ここにエラーコード一覧が掲載されていました。<br />
#日本語化してほしい一覧のひとつ<br />
AIR Developer Tool (ADT) Error Codes<br />
<a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=kb404054" target="external">http://kb.adobe.com/selfservice/viewContent.do?externalId=kb404054<br />
</a></p>

<p>#実行時のエラーコード表<br />
Main Page - Flexerrorcodes<br />
<a href="http://editthis.info/flexerrorcodes/Main_Page" target="external">http://editthis.info/flexerrorcodes/Main_Page</a></p>

<p>#Flex2のコンパイラの警告<br />
<a href="http://livedocs.adobe.com/flex/2_jp/langref/compilerWarnings.html" target="external">http://livedocs.adobe.com/flex/2_jp/langref/compilerWarnings.html</a></p>

<p>#AS3/Flex3のコンパイラ警告<br />
<a href="http://livedocs.adobe.com/flex/3_jp/langref/compilerWarnings.html" target="external">http://livedocs.adobe.com/flex/3_jp/langref/compilerWarnings.html<br />
</a></p>

<p>追記：リンク張りミスっていたのを修正しました。まなびえさんありがとうございました。m(__)m</p>]]>

</content>
</entry>
<entry>
<title>Flash Player Beta2のVideo4Linux v2サポートを実感してみる</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/07/flash_player_be.html" />
<modified>2008-07-20T08:55:32Z</modified>
<issued>2008-07-19T17:27:00Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.563</id>
<created>2008-07-19T17:27:00Z</created>
<summary type="text/plain">Flash Player 10 Beta2での新機能は、Linux版に限ったサポ...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>Flash Player</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p><a href="http://labs.adobe.com/technologies/flashplayer10/" target="external">Flash Player 10 Beta2</a>での新機能は、Linux版に限ったサポート強化も２点あります。(Wmode,Video4Linux v2 Support あと３点はPlatform共通 <a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features_ocre" target="external">リリースノート</a>より)</p>

<p>WMODEについてはすでに<a href="http://www.noridon.net/weblogs/archives/2008/07/scree.html" target="external">試した</a>のでもうひとつのサポート追加である、V4L2(Video 4 Linux V2)を<a href="http://eeepc.asus.com/jp/product1.htm" target="external">eeePC</a>+<a href="http://2.csx.jp/livecdroom/#ubuntu" target="external">eeeXUbuntu 7.10</a>+<a href="http://mozilla.jp/firefox/" target="external">Firefox 3</a>環境で実験してみました。</p>]]>
<![CDATA[<p>まず最初に、eeeXubuntuで内蔵のWebカメラが使える事を確認します。<br />
その後にFlash Player 9(r124)のときの設定画面を開いてみると以下の様に認識していませんでした。</p>

<p><a href="http://www.noridon.net/weblogs/archives/images/flashplayer/flash-config-fl9.html" onclick="window.open('http://www.noridon.net/weblogs/archives/images/flashplayer/flash-config-fl9.html','popup','width=212,height=136,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.noridon.net/weblogs/archives/images/flashplayer/flash-config-fl9-thumb.png" width="212" height="136" alt="" border="0" /></a></p>

<p>その後Flash Player のpluginを<a href="http://www.sephiroth.it/firefox/flash_switcher/index.php" target="external">Flash Swicher</a>を使って最新のFlash Player 10 Beta 2(d525)に切り替えた後にFlash Player の設定画面を開くと無事認識されてカメラを使うことができるようになりました。video4linux V2がサポートされた事を実感する事ができます。＼(^o^)／</p>

<p><a href="http://www.noridon.net/weblogs/archives/images/flashplayer/flash-config10r525.html" onclick="window.open('http://www.noridon.net/weblogs/archives/images/flashplayer/flash-config10r525.html','popup','width=214,height=140,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.noridon.net/weblogs/archives/images/flashplayer/flash-config10r525-thumb.png" width="214" height="140" alt="" border="0" /></a></p>

<p>これで、Linux上でもカメラを使ったアプリケーションも表示できるようになりました。ファイルリファレンスと組み合わせればローカル保存、参照もできるようになります。</p>

<p>video4Linux v2(<a href="http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html" target="external">仕様</a>)については、ほとんど知らないのですが、恩恵に授かれたのでよかったです。</p>

<p>うちにはWebカメラがまだいくつかあるので、ドライバを探して複数接続してみたりすると面白そう。</p>

<p>そんなわけでまずはQcam Pro 4000をeeeXubuntuで使える方法を探してみたのですがいまいちよくわかりません。orz..<br />
知っている人いましたら教えてください。m(__)m</p>

<p>追記：</p>

<p>#Adobe のForumにもvideo4Linuxv2サポートに対する投稿がありました。<br />
Adobe - Flash Player 10<br />
<a href="http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=675&threadid=1377203&enterthread=y<br />
" target="external">http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=675&threadid=1377203&enterthread=y<br />
</a></p>

<p></p>

<p># Video4Linux v2の確認用にたくさんのカメラ＾＾；<br />
Penguin.SWF: Paparazzi v2<br />
<a href="http://blogs.adobe.com/penguin.swf/2008/07/paparazzi_v2_1.html" target="external">http://blogs.adobe.com/penguin.swf/2008/07/paparazzi_v2_1.html</a></p>

<p>#Wmode,V4L2だけでなく、トルコ語のサポートなども含まれている模様<br />
Penguin.SWF: Turkish Localization! ... also Wmode, V4L2<br />
<a href="http://blogs.adobe.com/penguin.swf/2008/07/turkish_localization_also_wmod.html" target="external">http://blogs.adobe.com/penguin.swf/2008/07/turkish_localization_also_wmod.html</a><br />
</p>]]>
</content>
</entry>
<entry>
<title>Spekt IDE、AIR GEARをはじめとする、Flex Builder 3以外のFlex/AIR開発環境</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/07/spekt_ideairflex.html" />
<modified>2008-07-19T16:20:36Z</modified>
<issued>2008-07-18T23:14:21Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.562</id>
<created>2008-07-18T23:14:21Z</created>
<summary type="text/plain">Spekt IDEというJavaScript の開発環境が、Flexに対応したと...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>Flex</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p><a href="http://www.spket.com/" target="external">Spekt IDE</a>というJavaScript の開発環境が、<a href="http://www.spket.com/flex-mxml-editor.html" target="external">Flexに対応</a>したとして、<a href="<a href="http://www.igorcosta.org/?p=150" target="external" >紹介されて</a>いました。</p>

<p>Flex Builder 3の代替になるかは？ですが、Single User Licenseで$29.90で<a href="http://www.spket.com/buy.html" target="external">販売</a>されているようです。<br />
Spekt IDEはJavaScriptだけでなく、<a href="http://www.openlaszlo.org/" target="external" >Laszlo</a>や、<a href="http://www.microsoft.com/japan/silverlight/" target="exetrnal">SilverLight</a>、<a href="http://ja.wikipedia.org/wiki/XUL" target="external>XULに<a href="http://widgets.yahoo.co.jp/" target="external">Yahoo! Widget</a>のサポートもあって、最近Flexのサポートをが追加されたようです。</p>

<p>コード補完？以上の機能がどのようなものがあるのかは、サイトの紹介ページだけではわかりませんが、SDK単体で行うよりは便利なのかもしれません。</p>]]>
<![CDATA[<p>この<a href="http://www.spket.com/" target="external">Spket IDE</a>の<a href="http://www.spket.com/flex-mxml-editor.html" target="external">Flexのページ</a>をみると、タイトルが<strong>MXML Editor</strong>となっています。</p>

<p>かなり前に<a href="http://www.osflash.org/" target="external">OSFlash</a> から<a href="http://www.osflash.org/mxmleditor/" target="external">MXMLEditor</a>のリリースまで後少しという<a href="http://www.noridon.net/weblogs/archives/2006/08/mxmleditorosfla.html" target="external">エントリー</a>を書いたのですが、リリース予定過ぎてもなかなかリリースされず、なくなってしまったようです。 （T_T)</p>

<p>ほぼ2年経ってしまったのですが、ページタイトルに同じ名前のもの(MXML Editor)をOS FlashのMXML Editorのコンタクト先になっていた<a href="http://www.igorcosta.org/?page_id=2" target="external">igor costa</a>さんが<a href="http://www.igorcosta.org/" target="external">blog</a>で紹介されていたので^^;気になった次第です。</p>

<p>公式以外でのFlash/Flex/AIRの開発環境としては、<br />
<ul<li><http://amateras.sourceforge.jp/cgi-bin/fswiki/wiki.cgi?page=AmaterasAIR" target="external">AIR GEAR</a></li><li><a href="http://www.flashdevelop.org/community/" target="external">Flash Develop</a></li><li><a href="http://www.aptana.com/air/" target="external">Aptana IDE</a>(HTMLベースのAIR)</li><li><a href="http://www.spket.com/flex-mxml-editor.html" target="external">Spekt IDE</a></li></ul><br />
などがあります。</p>

<p>Flex SDKは無償で利用できるものの、単体では使いづらい事もありますので、今回紹介したSpket IDEや上記のツールなどと組み合わせて使えば、公式ツールの導入が難しいケースでも効率よくFlash/AIRの開発ができるかもしれません。</p>

<p></p>

<p>#本エントリーの元ネタ。<br />
Igor Costa » Blog Archive » Spekt IDE a new alternative for Flex Builder<br />
<a href="http://www.igorcosta.org/?p=150" target="external" >http://www.igorcosta.org/?p=150</a></p>

<p>#Spket IDEの紹介がされています。<br />
フリーのJavaScript＆XML開発用Eclipseプラグイン「Spket IDE 1.6.0」リリース：CodeZine<br />
<a href="http://codezine.jp/a/article/aid/1554.aspx" target="external">http://codezine.jp/a/article/aid/1554.aspx</a></p>

<p>#Flash Develop,ASDT,AIR GEARの紹介<br />
【コラム】イマドキのIDE事情 (18) オープンソースのFlash開発環境 | エンタープライズ | マイコミジャーナル<br />
<a href="http://journal.mycom.co.jp/column/ide/018/index.html" target="external">http://journal.mycom.co.jp/column/ide/018/index.html</a></p>

<p>#結局リリースされず..orz..<br />
MXMLEditor(OSFlash)のリリース予定まで後少し：nod::ぶろぐ::RIA::Flash/Flex/Ajax<br />
<a href="http://www.noridon.net/weblogs/archives/2006/08/mxmleditorosfla.html" target="external">http://www.noridon.net/weblogs/archives/2006/08/mxmleditorosfla.html</a></p>

<p>#spket IDEのFlex サポート紹介ページです。<br />
MXML Editor<br />
<a href="http://www.spket.com/flex-mxml-editor.html" target="external">http://www.spket.com/flex-mxml-editor.html</a></p>

<p>#Flexベース、HTMLベースともに開発できて、WYSIWYGフォームデザイナもついてフリーのeclipse Plugin..すごい..。<br />
AmaterasAIR - Project Amateras<br />
<a href="http://amateras.sourceforge.jp/cgi-bin/fswiki/wiki.cgi?page=AmaterasAIR" target="external">http://amateras.sourceforge.jp/cgi-bin/fswiki/wiki.cgi?page=AmaterasAIR<a/></p>

<p># AIR GEARの紹介<br />
フリーのEclipse用AIRプラグイン「AIR GEAR 1.0.0」リリース、WYSIWYGでAIR開発OK！：CodeZine<br />
<a href="http://codezine.jp/a/article/aid/2801.aspx" target="external">http://codezine.jp/a/article/aid/2801.aspx</a></p>

<p>#以前には、こんなエントリーもありました。<br />
timwalling.com » Blog Archive » Flex Builder Lite Recipe<br />
<a href="http://timwalling.com/2006/11/14/flash-builder-lite-recipe/" target="external">http://timwalling.com/2006/11/14/flash-builder-lite-recipe/</a></p>

<p>#FlashDevelopのトップページ<br />
FlashDevelop.org :: Index<br />
<a href="http://www.flashdevelop.org/community/" target="external">http://www.flashdevelop.org/community/</a></p>

<p>#Flash Developは2008/7/14現在 3.0.0 Beta7がリリースされているみたいです<br />
FlashDevelop.org :: View topic - FlashDevelop 3.0.0 Beta7 released<br />
<a href="http://www.flashdevelop.org/community/viewtopic.php?t=2893" target="external">http://www.flashdevelop.org/community/viewtopic.php?t=2893</a></p>

<p>馬鹿全 - FlashDevelop 3.0.0 Beta7 がリリースされていた<br />
<a href="http://blog.bk-zen.com/2008/04/21/61/" target="external">http://blog.bk-zen.com/2008/04/21/61/</a></p>

<p>ASOK? FlashDevelop 3 Beta7 リリース<br />
<a href="http://sazzzzz.blog15.fc2.com/blog-entry-64.html" target="external">http://sazzzzz.blog15.fc2.com/blog-entry-64.html</a></p>

<p>#Aptana IDEは、HTMLベースのAIR開発をサポートしています。<br />
Adobe AIR開発もサポートしたフリーの開発環境「Aptana IDE」：CodeZine<br />
<a href="http://codezine.jp/a/article/aid/1462.aspx" target="external">http://codezine.jp/a/article/aid/1462.aspx</a></p>

<p>#Igor Costaさん作成のironを使うwidget</p>

<p><embed src="http://www.igorcosta.org/widget/ionWidget.swf" width="300" height="125" quality="high" allowscriptaccess="always" type="application/x-shockwave-flash"> </embed></p>]]>
</content>
</entry>
<entry>
<title>Linux WMODE対応を試す。(Flash Player 10 Beta 2)</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/07/scree.html" />
<modified>2008-07-20T07:46:25Z</modified>
<issued>2008-07-12T15:34:29Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.561</id>
<created>2008-07-12T15:34:29Z</created>
<summary type="text/plain">なにかと問題が多いことが指摘されている、swfファイル再生時のwmodeですがF...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>Flash Player</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p><a href="http://support.adobe.co.jp/faq/faq/qadoc.sv?228635+002"target="external">なに</a><a href="http://isog.xrea.jp/2008/06/wmodetransparentflash.html"target="external">かと</a><a href="http://blog.graffiti-web.org/archives/2006/04/wmode.html"target="external">問題</a>が<a href="http://www.neetranger.com/red/2006/12/wmode_in_firefox.html" target="external">多い</a>ことが指摘されている、swfファイル再生時のwmodeですがFlash Player 10 Beta2より Linux版でも<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features_ocre" target="external">サポート</a>されるようになったとのことですので新機能ツアーの一環として動作確認してみました。</p>

<p><br />
リリースノートをみると、Beta2の新機能であることがわかります。<br />
<blockquote> Linux WMODE ― new with 7/2/08 build</blockquote></p>

<p>対応内容をみてみると<br />
<blockquote>Linux WMODE — Flash Player for Linux now supports windowless mode (transparent and opaque).  Windowless mode means proper blending between SWFs and the  HTML above and below the SWF content..  Windowless mode on Linux requires the latest Firefox 3 to work.</blockquote><br />
とありますので、wmode=trasparentをFirefox3で試してみることにします。</p>]]>
<![CDATA[<p><a href="http://www.fxug.net/" target="external">FxUG</a>のフォーラムにあった、<a href="http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=thread&topic_id=73&forum=2&post_id=3235" target="external">wmodeの問題</a>にあった検証用のswfとhtmlを参考にwmode="transparent"にしたところ,Linux版のFlash Player 10 Beta2できちんと透明化されるようになりました。＼(^o^)／</p>

<table border="0">
<tbody>
<tr>
<td>
wmode = 'transparent'<br>
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab' >
    <param name='movie' value='/weblogs/examples/beta2/fullscreenTest.swf' />
    <param name='wmode' value='transparent'>
    <param name='quality' value='high' />
    <param name='allowScriptAccess' value='always' />
    <embed pluginspage='http://www.adobe.com/go/getflashplayer' src='/weblogs/examples/beta2/fullscreenTest.swf' wmode='transparent' play='true' loop='false' quality='high' allowScriptAccess='always' type='application/x-shockwave-flash' >
    </embed>
</object>
</td>
<td>
wmode = 'opaque'<br>
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab' >
    <param name='movie' value='/weblogs/examples/beta2/fullscreenTest.swf' />
    <param name='wmode' value='opaque'>
    <param name='quality' value='high' />
    <param name='allowScriptAccess' value='always' />
    <embed pluginspage='http://www.adobe.com/go/getflashplayer' src='/weblogs/examples/beta2/fullscreenTest.swf'  wmode='opaque' play='true' loop='false' quality='high' allowScriptAccess='always' type='application/x-shockwave-flash' >
    </embed>
</object>
</td>
</tr>
</tbody>
</table>

<p>Flexで作成したアプリケーションはwmode=transparetの指定だけではなく、<a href="http://itpro.nikkeibp.co.jp/article/COLUMN/20070918/282148/?ST=swd-tech&P=2" target="external">applicationAlphaの指定も必要</a>とのことです。</p>

<p>アプリで指定する例はこちら<br />
&lt;mx:Application xmlns:mx=&quot; http://www.adobe.com/2006/mxml&quot;  layout=&quot; absolute&quot; creationComplete=&quot; initApp();&quot; backgroundColor=&quot;#00B4FF&quot;  <strong>backgroundAlpha=&quot; 0&quot;</strong> /&gt;</p>

<p>flexのコードは<a href="http://www.noridon.net/weblogs/examples/beta2/srcview/index.html">こちら</a>(<a href="http://www.noridon.net/weblogs/archives/2008/07/fullscreen.html" target="external">FullScreenモードでのキーボードアクセスを試したとき</a>と同じものです。)</p>

<p>index_template.htmlでは<a href="http://www.noridon.net/weblogs/examples/beta2/srcview/index.template.html.txt" target="external">このように</a>編集しました。<br />
wmodeとAllowFullScreenをパラメータに追加しただけです。</p>

<p>結果は以下のとおりになりました。<br />
<h4>wmode=transparentで背景が透明に</h4><br />
Flash Player 10 Beta2でwmode=transparentを指定することで背景を透明化することができました。＼(^o^)／</p>

<h4>wmode=transparentでは日本語入力不可</h4>
これまで同様日本語入力するのは不可のようです。T.T

<h4>Linux版では、fullscreenのパラメータと、wmodeを一緒に設定するとFullScreenモードにならない</h4>
swfをHTMLで表示する際に、allowFullScreen=trueと、wmode=trasparentをパラメータで共に指定すると、
Linux版ではFullScreenになりませんでした。あわせ技だと動作しないのかもしれません。
Flash CS3のドキュメントで、wmodeを指定するとFullScreenにできない事が<a href="http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002149.html" target="external">言及されて</a>いました。
コメントでは、9.0.115(Flash Player 9update3 codename:MovieStar)で修正されているとありますので、Linux版のみの現象のようです。

<p>試しにwmodeの指定をなくして表示してみたところ、FullScreenモードになりました。<br />
Windows版、Mac版では、wmodeとallowFullScreenともに指定しても動作しました。</p>

<p>しかしFullscreenモードになるとtransparent=transparentは効かなくなりました。<br />
通常だと背景が透明化しているのですが、fullscreenになると、元の指定した色になります。(透明化されない)<br />
これは、fullscreenModeの仕様かもしれません。</p>

<h4>wmodeを指定するとブラウザがクラッシュしていたのが解消</h4>
Linux版の以前のバージョン(beta1/Flash Player 9)でwmodeを指定すると、ブラウザが強制終了してしましたが、今回のBeta2より動作するようになっていて、一歩前進です。＾＾v

<p>しかしながら、wmodeについてはこれまでずーーと問題をひきづっているようなので、利用するときには注意が必要です。</p>

<p>でも今なら<a href="http://www.adobe.com/cfusion/mmform/index.cfm?name=fp_beta_feedback" target="external">フィードバック</a>を受け付けていますし、これまでのversion(Flash Player 9)では<a href="http://bugs.adobe.com/jira/browse/FP?report=com.atlassian.jira.plugin.system.project:popularissues-panel" target="external">バグトラッキング</a>があるので報告した上でvoteするようにすれば解消されるかもしれません。</p>

<p><br />
<strong>2008/7/20 追記：</strong></p>

<p><a href="http://blogs.adobe.com/penguin.swf/" target="external">Penguin.SWF</a>のこの<a href="http://blogs.adobe.com/penguin.swf/2008/07/addessing_wmode_crashes.html" target="exrernal">エントリー</a>によると、wmodeによるクラッシュはfirefox側の修正で改善されるとのこと。2008/7/8以降でコミットされているので、今後のリリースで改善されるみたい。<br />
現在リリースされている3.0.1には間に合わなかったようで、その次のバージョンでは改善されるようです。</p>

<p></p>

<p></p>

<p>今回のサンプルとコードはこちら<br />
<a href="http://www.noridon.net/weblogs/examples/beta2/index.html" target="external">http://www.noridon.net/weblogs/examples/beta2/index.html</a></p>

<p>#Flash Player 10のフィードバックをする際にはこちらより受け付けているようです。<br />
Adobe Labs - Adobe Flash Player 10 Feedback Form<br />
<a href="http://www.adobe.com/cfusion/mmform/index.cfm?name=fp_beta_feedback" target="external">http://www.adobe.com/cfusion/mmform/index.cfm?name=fp_beta_feedback</a></p>

<p># リリースされているFlash Player のバグトラッキングベースはこちら。<br />
Adobe Flash Player Bug and Issue Management System<br />
<a href="http://bugs.adobe.com/jira/browse/FP?report=com.atlassian.jira.plugin.system.project:popularissues-panel" target="external">http://bugs.adobe.com/jira/browse/FP?report=com.atlassian.jira.plugin.system.project:popularissues-panel</a></p>

<p>#wmodeとfullScreenについては、こんなバグも登録されています。<br />
[#FP-241] Transparent Flash Apps have repainting issues when leaving fullscreen - Adobe Bug System<br />
<a href="http://bugs.adobe.com/jira/browse/FP-241" target="external">http://bugs.adobe.com/jira/browse/FP-241</a></p>

<p>#FxUGのフォーラムでもwmodeについての言及がありました。<br />
wmodeの問題<br />
<a href="http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=thread&topic_id=73&forum=2&post_id=3235" target="external">http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=thread&topic_id=73&forum=2&post_id=3235</a></p>

<p>#アドビのサポートページでも日本語入力できないことが書かれています。<br />
［228635］wmode を transparent に設定した際の注意点<br />
<a href="http://support.adobe.co.jp/faq/faq/qadoc.sv?228635+002" target="external">http://support.adobe.co.jp/faq/faq/qadoc.sv?228635+002</a></p>

<p>#wmodeに関するblogエントリー<br />
wmode＝transparentでFlashのボタンが押せないの続報。 - isog<br />
<a href="http://isog.xrea.jp/2008/06/wmodetransparentflash.html" target="external">http://isog.xrea.jp/2008/06/wmodetransparentflash.html</a></p>

<p>graffiti-blog: wmodeのクセ<br />
<a href="http://blog.graffiti-web.org/archives/2006/04/wmode.html" target="external">http://blog.graffiti-web.org/archives/2006/04/wmode.html</a></p>

<p>red日記: WMODEの落とし穴 in FIREFOX<br />
<a href="http://www.neetranger.com/red/2006/12/wmode_in_firefox.html" target="external">http://www.neetranger.com/red/2006/12/wmode_in_firefox.html</a></p>

<p>[ 面白法人的ラボ KAYAC BM11 ] wmode=transparent で全角テキスト入力するには…<br />
<a href="http://bm11.kayac.com/technical/wmodetransparent/" target="external">http://bm11.kayac.com/technical/wmodetransparent/</a></p>

<p>#中垣 - PePe - 茂さんによるITProの記事に、Flexアプリケーションによる背景の透明化方法が書いてありました。<br />
第21回　Flexでちょっと実用的なサンプル・サイトを作ってみる：ITpro<br />
<a href="http://itpro.nikkeibp.co.jp/article/COLUMN/20070918/282148/?ST=swd-tech&P=2" target="external">http://itpro.nikkeibp.co.jp/article/COLUMN/20070918/282148/?ST=swd-tech&P=2</a></p>

<p>#このエントリーでFlash Playerにもオープンバグベースがあることを知りました。(遅すぎ)<br />
中垣 茂 （ Shigeru Nakagaki ） | ブログ （ Flex, AIR, ColdFusion ） | Flex のオープンバグベースに FlashPlayer も追加されました<br />
<a href="http://shigeru-nakagaki.com/index.cfm/2008/4/9/20080409-open-bug-base-for-the-flash-player" target="external">http://shigeru-nakagaki.com/index.cfm/2008/4/9/20080409-open-bug-base-for-the-flash-player</a></p>

<p>#wmode を指定するとfullscreenにできない現象は、以前からあったようです。<br />
func09 - wmodeとallowFullScreen<br />
<a href="http://www.func09.com/wordpress/archives/207" target="external">http://www.func09.com/wordpress/archives/207</a></p>]]>
</content>
</entry>
<entry>
<title>Flash Player 10 Beta2でlinux版のメニュー文字化けが解消</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/07/linuxflashplaye.html" />
<modified>2008-07-10T04:22:55Z</modified>
<issued>2008-07-08T16:50:11Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.560</id>
<created>2008-07-08T16:50:11Z</created>
<summary type="text/plain">Flash Player 10 Beta2のSlandAlone版が入手できるよ...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>Flash Player</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p><a href="http://labs.adobe.com/technologies/flashplayer10/" target="external">Flash Player 10 Beta2</a>のSlandAlone版が<a href="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/" target="external">入手できる</a>ようになったので、インストールしてみました。</p>

<p>ダウンロードしたflashplayer.tar.gzを先の<a href="http://www.noridon.net/weblogs/archives/2008/07/fullscreen.html" target="exernal">エントリー</a>で確認した実行環境(eeePC + xeeeubuntu7.10)で起動したところ、きちんと10,0,0,525になっていました。</p>

<p><a href="http://www.noridon.net/weblogs/archives/images/flashplayer/lnx-flashplayer10beta2.html" onclick="window.open('http://www.noridon.net/weblogs/archives/images/flashplayer/lnx-flashplayer10beta2.html','popup','width=547,height=339,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.noridon.net/weblogs/archives/images/flashplayer/lnx-flashplayer10beta2-thumb.png" width="300" height="185" alt="standalone" border="0" /></a></p>

<p>以前のversion(10.0.0.b218)やリリースされているFlash Player 9(r124)は、LANGの設定がUTF-8になっているとメニューやabout画面の文字が文字化けしていましたが、Beta2で正しく表示されるように改善されていました。</p>]]>
<![CDATA[<p>私の環境(eeePC + xeeeubuntu7.10)ではdefaultのLANG設定は<strong>ja_JP.UTF8</strong>になっています。<br />
LANGがja_JP.UTF8でFlash Playerを起動すると以下のように文字化けしてしまいます。</p>

<p><a href="http://www.noridon.net/weblogs/archives/images/flashplayer/lnx-flashplayer10beta1.html" onclick="window.open('http://www.noridon.net/weblogs/archives/images/flashplayer/lnx-flashplayer10beta1.html','popup','width=529,height=343,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.noridon.net/weblogs/archives/images/flashplayer/lnx-flashplayer10beta1-thumb.png" width="300" height="194" alt="" border="0" /></a></p>

<p>上記はFlash Player 10 Beta1ですが、最新のFlash Player 9でも同様に文字化けしてしまいます。<br />
<a href="http://www.noridon.net/weblogs/images/flashplayer/fp9r124_utf8.html" onclick="window.open('http://www.noridon.net/weblogs/images/flashplayer/fp9r124_utf8.html','popup','width=540,height=350,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.noridon.net/weblogs/images/flashplayer/fp9r124_utf8-thumb.png" width="300" height="194" alt="" border="0" /></a></p>

<p>そこで、LANGを変更して起動するようなシェルをLauncherとして起動したところ、正常に表示されるようになりました。<br />
シェルの内容は以下の通りです。</p>

<pre>
#!/bin/sh
export set LANG=ja_JP.eucJP; /home/eeeuser/flashplayer &amp;
</pre>

<p>LANGをセットしたexportして起動しているだけです。^^;<br />
上記ではEUCを指定していますが、ShiftJISでも正しく表示されました。<br />
他のUbuntu/Linux環境までは確認できていませんが、Flash Player 10 Beta2以前ではLANGを指定して実行することでうまく動作するようです。<br />
<a href="http://www.noridon.net/weblogs/archives/images/flashplayer/fp9r124.html" onclick="window.open('http://www.noridon.net/weblogs/archives/images/flashplayer/fp9r124.html','popup','width=551,height=365,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.noridon.net/weblogs/archives/images/flashplayer/fp9r124-thumb.png" width="300" height="198" alt="" border="0" /></a></p>

<p><br />
上記のシェルでLANGをCに指定すると、メニューが英語表記で起動しました。<br />
<a href="http://www.noridon.net/weblogs/archives/images/flashplayer/fp9_lang_c.html" onclick="window.open('http://www.noridon.net/weblogs/archives/images/flashplayer/fp9_lang_c.html','popup','width=519,height=359,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.noridon.net/weblogs/archives/images/flashplayer/fp9_lang_c-thumb.png" width="300" height="207" alt="" border="0" /></a></p>

<p><br />
Linux版のStandAlonePlayerは、他のPlatformのものと少し異なっています。<br />
ブラウザのようにアドレスバーが画面上部にあって、Bookmark登録もできるようになっています。Bookmark登録は他のプラットフォーム用でもあったらいいなと思いました。</p>

<p></p>

<p>Adobe Labs - Flash Player 10<br />
<a href="http://labs.adobe.com/technologies/flashplayer10/" target="external">http://labs.adobe.com/technologies/flashplayer10/</a></p>

<p>#ダウンロードはこちら(plugin)<br />
Adobe Labs - Downloads: Flash Player 10<br />
<a href="http://labs.adobe.com/downloads/flashplayer10.html" target="external">http://labs.adobe.com/downloads/flashplayer10.html</a></p>

<p>#StandAlone版はSVNにあります。<br />
<a href="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/" target="external">http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/</a><br />
</p>]]>
</content>
</entry>
<entry>
<title>Flash Player 10 Beta2のDebug(StandAlone)とplayerglobal.abcがSVNで公開</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/07/flash_player_10_2.html" />
<modified>2008-07-08T02:35:15Z</modified>
<issued>2008-07-08T02:24:06Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.559</id>
<created>2008-07-08T02:24:06Z</created>
<summary type="text/plain">先のエントリーで新しいplayergloba.swcやDebug版の(Stand...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>Flash Player</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p><a href="http://www.noridon.net/weblogs/archives/2008/07/fullscreen.html" target="external">先のエントリー</a>で新しいplayergloba.swcやDebug版の(StandAlone)Playerがまだ入手できないと書きましたが、7/7 23:59にjimurphyさんによってSVNにコミットされたようです。＼(^o^)／<br />
七夕の日ぎりぎりですね。</p>

<p>Flash Player 10用の<a href="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/frameworks/libs/player/10/playerglobal.swc" target="external">playergloba.swc</a>は3.0.x以下は更新されていました。<br />
<a href="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/frameworks/libs/player/10/playerglobal.swc" target="external">http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/frameworks/libs/player/10/playerglobal.swc</a></p>

<p>同じリビジョン(2367)でdebug版StandalonePlayerも更新されています。<br />
<a href="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/" target="external">http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/</a></p>

<p>Beta1と同様<a href="http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10+Beta+with+Flex+SDK+3.0.x" target="external">こちらの方法</a>で、新しい機能を試す事ができそうです。</p>]]>
<![CDATA[<p><br />
#FlexのSVNにPlayerや、swcファイルが更新されています。<br />
<a href="http://opensource.adobe.com/svn/opensource/flex/sdk/" target="external">http://opensource.adobe.com/svn/opensource/flex/sdk/</a></p>

<p>#sourceも含めてSVNよりcheckアウトするときはこちらを参照<br />
<a href="http://opensource.adobe.com/wiki/display/site/Source" target="external">http://opensource.adobe.com/wiki/display/site/Source</a></p>

<p>#Flex SDK/BuilderでFlash Player 10の機能を試すときの方法。Beta1のときと同じですが、<br />
#Beta2用で必要なものがそろいました。<br />
Targeting Flash Player 10 Beta with Flex SDK 3.0.x - Flex SDK - Confluence<br />
<a href="http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10+Beta+with+Flex+SDK+3.0.x" target="external">http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10+Beta+with+Flex+SDK+3.0.x</a></p>]]>
</content>
</entry>
<entry>
<title>Flash Player 10 Beta2のLimited Fullscreen Keyboard Accessを試す</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/07/fullscreen.html" />
<modified>2008-07-08T01:57:16Z</modified>
<issued>2008-07-07T22:51:24Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.558</id>
<created>2008-07-07T22:51:24Z</created>
<summary type="text/plain">Flash Player 10 Beta2がリリースされたものの、今の所は各Pl...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>Flash Player</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p><a href="http://labs.adobe.com/technologies/flashplayer10/" target="external">Flash Player 10 Beta2</a>が<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html" target="external">リリース</a><a href="http://labs.adobe.com/downloads/flashplayer10.html" target="external">された</a>ものの、今の所は各Platform(Windows/Linux/Mac)のPlugin版のみのようです。<br />
新しいplayerglobal.swcやDebug版のPlayer(Beta1のときにはStandAlone Playerが入手可能でした。)は<a href="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.0.x/in/player/10/" target="external">SVN</a>をみる限りまだ更新されていません。(このエントリーを書いている時点。)</p>

<p>debugしながらの動作確認や新しいAPIの確認は今のところ難しそうなので、Beta2の新機能のひとつである<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features_ocre" target="external">Limited Fullscreen Keyboard Access</a>を試してみました。</p>

<p>これまでFullScreenモードでは、Keyboardの入力は無視されて(Eventが発行されない)いましたが、今回のBeta2で一部のキーのみ受け付けるようになっています。<br />
検索をするときのような文字列は入力できないものの、TabやSpace、上下左右キーなどはKeyboadEventを受け取る事ができるようになっていました。</p>

<p><a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features_ocre" target="external">リリースノート</a>によると、</p>

<blockquote>
Limited access to the keyboard will allow fullScreen games and video
controls with keyboard access in a secure way.
</blockquote>
との事なので、ゲームやvideoPlayerなど特化した使い方になりそうです。

<p>実際に簡単なサンプルを作って試したところ、<br />
Windows,Macともにいくつかのキー(上下左右,Tab,Spaceなど)はKeyBoardEventが発行されて、制御が可能になっているようでした。<br />
<a href="http://www.noridon.net/weblogs/images/flashplayer/fullsceenTest.html" onclick="window.open('http://www.noridon.net/weblogs/images/flashplayer/fullsceenTest.html','popup','width=593,height=408,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.noridon.net/weblogs/images/flashplayer/fullsceenTest-thumb.png" width="300" height="206" alt="" border="0" /></a></p>]]>
<![CDATA[<p>CtrlやEnter,Altなどはテスト方法が悪いのか、KeyboadEvent受付を確認できませんでした。<br />
OSやアプリケーションが先に検知して、制御がブラウザに移ってしまいます。</p>

<p>Win,Macに加えて<a href="http://eeepc.asus.com/jp/" target="external">eeePC</a>にいれた<a href="http://2.csx.jp/livecdroom/#ubuntu" target="external">eeeXubuntu</a>でLinux版も試してみました。<br />
ubuntuは新たにサポートに加わったと<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#sysreq" target="external">でて</a>います。</p>

<p>Mac,Winのときと同じように上下左右、Tab,Spaceが<a href="http://livedocs.adobe.com/flex/3_jp/langref/flash/events/KeyboardEvent.html" target="external">KeyboardEvent</a>が送出されて受け取ることができました。＼(^o^)／</p>

<p>FullScreenモード対応にするには、Flexでのコードに加えてWrapperになるHTMLにswfを呼び出すタグにパラメータを加える必要があります。</p>

<p>まずFlexのコードでは以下のように記述します。<br />
ボタンクリック時や、初期化時に記述すればいいと思います。<br />
<pre><br />
stage.displayState = StageDisplayState.FULL_SCREEN;<br />
</pre></p>

<p>あわせてHTMLのswf呼び出し部分に<strong>allowFullScreen</strong>というパラメータを追加します。</p>

<p>AC_FL_RunContentのパラメータでは以下を追加します。<br />
<pre><br />
&quot;allowFullScreen&quot;,&quot;true&quot;,<br />
</pre><br />
Objectタグでは以下のように追記しました。<br />
<pre><br />
&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;<br />
</pre><br />
plugin版で使われるembedタグでは以下のパラメータを追加しました。<br />
<pre><br />
allowFullScreen=&quot;true&quot;<br />
</pre></p>

<p>実際に試したのは以下のswfです。</p>

<p>  	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="fullscreenTest" width="600" height="400" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><br />
			<param name="movie" value="/weblogs/images/fullscreenTest.swf" /><br />
			<param name="quality" value="high" /><br />
			<param name="bgcolor" value="#00b4ff" /><br />
			<param name="allowScriptAccess" value="sameDomain" /><br />
			<param name="allowFullScreen" value="true" /><br />
			<embed src="/weblogs/images/fullscreenTest.swf" quality="high" bgcolor="#00b4ff" width="600" height="400" name="fullscreenTest" align="middle" play="true" loop="false" quality="high" allowFullScreen="true" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"><br />
			</embed><br />
	</object></p>

<p><br />
#Release NotesのOther Community Requested Enhancements部分にFullScreenに関する記述があります。<br />
Adobe Labs - Flash Player 10 Beta Release Notes<br />
<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features_ocre" target="external">http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features_ocre</a></p>

<p>#Flash Player 9の正式版でも一部の機能がサポートされていないときがありました。<br />
#Full Screenもそのうちのひとつ。現行バージョン(Flash Player 9r124)では改善されています。<br />
アドビ、Linux向けに「Flash Player 9」をリリース:ニュース - CNET Japan<br />
<a href="http://japan.cnet.com/news/media/story/0,2000056023,20341032,00.htm" target="external">http://japan.cnet.com/news/media/story/0,2000056023,20341032,00.htm</a></p>

<p>#MovieStar(Flash Player 9 update3)になってLinux版でもFullscreenをサポートしたようです。<br />
Adobe - Flash Player: Adobe Flash Player 9リリースノート<br />
<a href="http://www.adobe.com/support/documentation/jp/flashplayer/9/releasenotes.html#fixes_9031" target="external">http://www.adobe.com/support/documentation/jp/flashplayer/9/releasenotes.html#fixes_9031</a></p>

<p>#Beta1では、Flex SDK/Builder 3を使って開発とDebugができ、以下のwikiでドキュメントが公開されています。<br />
Targeting Flash Player 10 Beta with Flex SDK 3.0.x - Flex SDK - Confluence<br />
<a href="http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10+Beta+with+Flex+SDK+3.0.x" target="external">http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10+Beta+with+Flex+SDK+3.0.x</a></p>]]>
</content>
</entry>
<entry>
<title>Flash Player 10の新しいベータ版が公開(Beta2)</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/07/flash_player_10.html" />
<modified>2008-07-03T01:15:40Z</modified>
<issued>2008-07-02T23:36:41Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.556</id>
<created>2008-07-02T23:36:41Z</created>
<summary type="text/plain">Flash Player の次期バージョン(Flash Player 10 co...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>Flash Player</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p>Flash Player の次期バージョン(<a href="http://labs.adobe.com/technologies/flashplayer10/" target="external">Flash Player 10</a> codename:Astro)の新しいバージョンが<a href="http://labs.adobe.com/" target="external">Adobe Labs</a>にて<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html" target="external">公開</a>されていました。</p>

<p>今回のリリースでbeta 2 になりバージョンも10,0,0,218(b218)->10,0,0,525 (d525)にあがっていました。<br />
Flash Playerのバージョンは<a href="http://www.adobe.com/products/flash/about/" target="external">このページ</a>にアクセスすると確認できます。</p>

<p>Windows版(activeX,plugin),MacOS X版、Linux版それぞれ更新されているようです。<br />
Linux版はこれまでのtar.gzに加えてrpm版もありました。</p>

<p>リリースノートをみるとLiveCycle WorkSpaceのログインやAdobe Acrobat Connect Add-Inと一緒には<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#known" target="external">使えないみたい</a>です。<br />
#わたしはあまり影響はしないですが..＾＾；</p>

<p>Acrobat9やら今回Flash Player 10やらまたリリースラッシュなのでまたいっぱいインストールしてみようと思います。</p>

<p>#Flash Player 10 Beta2のDownloadはこちら。<br />
Adobe Labs - Downloads Flash Player 10<br />
<a href="http://labs.adobe.com/downloads/flashplayer10.html" target="external">http://labs.adobe.com/downloads/flashplayer10.html</a></p>

<p>#Flash Playerのaboutページ<br />
# 右クリックで Flash Player 10についてを選択するとこのページに飛びます。<br />
<a href="http://www.adobe.com/products/flash/about/" terget="external">http://www.adobe.com/products/flash/about/</a></p>

<p>#このページでリリースを知りました。<br />
Adobe Labs Flash Player 10 Beta 2 Released on Labs<br />
<a href="http://weblogs.macromedia.com/labs/archives/2008/07/flash_player_10.html" target="external">http://weblogs.macromedia.com/labs/archives/2008/07/flash_player_10.html</a></p>

<p>#リリースノート中にある新機能一覧<br />
Adobe Labs - Flash Player 10 Beta Release Notes<br />
<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features" tareget="external">http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features</a></p>

<p>Beta1からの修正点はこちら<br />
<blockquote><ul><li>Vector printing on Macs works now! </li><li>New Text Engine: Vector Printing isn't currently enabled. </li></ul></blockquote>とかあるようです。<br />
<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#fixed" target="external">http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#fixed</a></p>

<p>＃フルスクリーンモードでのメニューのバグが修正されているとのこと(未確認)<br />
Fixing Menus in Full Screen Mode « Flex Butterflies and Bugs<br />
<a href="http://butterfliesandbugs.wordpress.com/2008/07/02/fixing-menus-in-full-screen-mode/" target="external">http://butterfliesandbugs.wordpress.com/2008/07/02/fixing-menus-in-full-screen-mode/</a><br />
#Downloadはこちら。<br />
Adobe Labs - Downloads Flash Player 10<br />
<a href="http://labs.adobe.com/downloads/flashplayer10.html" target="external">http://labs.adobe.com/downloads/flashplayer10.html</a></p>]]>

</content>
</entry>
<entry>
<title>S2FlexとS2Flex2</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/05/s2flexs2flex2.html" />
<modified>2008-05-18T17:54:47Z</modified>
<issued>2008-05-18T17:07:55Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.555</id>
<created>2008-05-18T17:07:55Z</created>
<summary type="text/plain">Seasarプロジェクトには、S2FlexとS2Flex2と名前が似ているものが...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>s2flex2</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p>Seasarプロジェクトには、S2FlexとS2Flex2と名前が似ているものがあります。</p>

<p><a href="http://www.seasar.org/s2flex.html" target="external">S2Flex</a>は<a href="http://www.adobe.com/support/documentation/jp/flex/1_5/releasenotes.html" target="external">Macromedia  Flex</a><a href="http://livedocs.adobe.com/flex/15/" target="external">1.5</a>と、<a href="http://s2container.seasar.org/" target="external">S2Container</a>を連携するものです。Flex1.5のクラスを拡張してSeasar2と連携できるようになっていてFlexから簡単にSeasar2に登録されているJavaコンポーネントを呼び出す事ができるようになっています。</p>

<p>一方<a href="http://s2flex2.sandbox.seasar.org" target="external">S2Flex2</a>は、<a href="http://www.adobe.com/jp/products/flex/sdk/" target="external">Flex2</a>が出た時に、S2Flexと同じようにS2Containerと連携したいという事からはじまったプロジェクトです。<br />
データ通信にFlashPlayer9/Flex 2から採用されたAMF3というデータフォーマットを使ってFlash Player(swf)とデータのやり取りを行う為のGatewayサーバです。</p>]]>
<![CDATA[<p><a href="http://www.seasar.org/s2flex.html" target="external">S2Flex</a>は、データ通信部分をFlex自身が行っていて、もともとサーバ製品であったFlex1.5の機能のひとつであるJavaクラスの呼び出しを行う部分を拡張する事でSeasar2と連携できるようになっています。<br />
また、javaのプロパティファイルに書かれたメッセージをFlexから呼び出す仕組みも用意されています。</p>

<p>一方<a href="http://s2flex2.dandbox.seasar.org/ja/" target="external">S2Flex2</a>は、サーバ,クライアント間のデータ通信やAMF3と呼ばれるバイナリフォーマットの読み書きやS2Containerに登録されているコンポーネントの呼び出しまで行っています。<br />
S2FlexがFlex1.5のクラスをWrapperしてSeasar2と連携できるようにしたもの、S2Flex2は単体でFlexクライアントと通信してSeasar2と連携できるようにしたものという違いがあります。</p>

<p>2008/2/26に<a href="http://www.adobe.com/jp/products/flex/" target="external">Flex3</a>が<a href="http://www.adobe.com/jp/aboutadobe/pressroom/pressreleases/200802/20080226_air_flex.html" target="external">リリース</a>されましたが、S2Flex2は<a href="http://www.adobe.com/jp/products/flex/" target="external">Flex3</a>と連携することもできます。</p>

<p>サーバ(Java)側のgatewayであるS2Flex2は、現在リリースしている1.0.x系でも1.1系でも連携することができます。<br />
クライアント(Flex)側は、Flex3で使うときには、2.0系を使うことで連携できます。<br />
対応状況を表にすると以下のようになります。</p>

<table border="1">
<th>
<td>Flex2</td>
<td>Flex3</td>
</th>
<tr>
<td>S2Flex2 1.0.x</td>
<td>○</td>
<td>○</td>
</tr>
<tr>
<td>S2Flex2 1.1.x</td>
<td>○</td>
<td>○</td>
</tr>
<tr>
<td>S2Flex2-Tiger </td>
<td>○</td>
<td>○</td>
</tr>
<tr>
<td>S2Flex2-components1.0x</td>
<td>○</td>
<td>×</td>
</tr>
<tr>
<td>S2Flex2-components2.0β</td>
<td>×</td>
<td>○</td>
</tr>
<tr>
<td><a href="http://akabana.sandbox.seasar.org/ja/products/yui/index.html" target="external">yui-frameworks</a></td>
<td>○</td>
<td>○</td>
</tr>
</table>

<p>他にもSeasarプロジェクトには、Flex/Flash関連のプロジェクトが<a href="http://akabana.sandbox.seasar.org" target="exernal">いくつか</a><a href="http://s2blazeds.seasar.org/" target="external">存</a><a href="http://s2laszlo.sandbox.seasar.org/ja/" target="external">在</a>しています。<br />
また別のエントリーで紹介できれば..いいと思っています。</p>

<p>S2Flex<br />
<a href="http://www.seasar.org/s2flex.html" target="external">http://www.seasar.org/s2flex.html</a></p>

<p>S2Flex2<br />
<a href="http://s2flex2.sandbox.seasar.org/ja/" target="external">http://s2flex2.sandbox.seasar.org/ja/</a></p>]]>
</content>
</entry>
<entry>
<title>Adobe AIR コンテスト(エアコン)がAdobe AIR 1.1ベータに対応</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/05/adobe_air_adobe.html" />
<modified>2008-05-08T17:36:12Z</modified>
<issued>2008-05-08T16:41:00Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.554</id>
<created>2008-05-08T16:41:00Z</created>
<summary type="text/plain">Adobe AIRで動くアプリケーションのコンテストであるAdobe AIRコン...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>apollo</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p><a href="http://www.adobe.com/jp/" target="external">Adobe</a> <a href="http://www.adobe.com/jp/products/air/" target="external">AIR</a>で動くアプリケーションのコンテストであるAdobe AIRコンテスト(エアコン)の応募対象がこれまでのAdobe AIR 1.0向けだけでなく、<a href="http://www.adobe.com/jp/products/air/publicbeta/" target="external">Adobe AIR 1.1</a>ベースのアプリケーションも<a href="http://www.adobe.com/jp/special/air/contest" target="external">応募対象</a>になっていました。</p>

<p>第40回FxUG勉強会のときには、<a href="http://www.noridon.net/weblogs/archives/2008/04/adobe_air_11.html" target="external">検討する</a>とおっしゃっていたのですが、正式に応募対象になったようです。</p>]]>
<![CDATA[<p>現在リリースされている<a href="http://www.adobe.com/jp/products/air/" target="external">Adobe AIR 1.0は</a>、日本語正式対応ではないので特にHTMLコンポーネントなどを使っていると、思ったように動作しません。</p>

<p>現在ベータプログラム中の1.1では日本語セットの自動判別やファイルパスに日本語が含まれているケースでも<a href="http://www.adobe.com/jp/products/air/publicbeta/" target="exernal">正しく動作するようになっている</a>との事。</p>

<p>Ajaxベースのアプリケーションをwrapしたり、Flash/Flex + Ajaxのアプリケーションなんかでも想定した通りに動く事が期待できるので、これまでのAjax/Flashで作った資産がある方がちょっとAIR用にWrapしてみましたっといって応募する人が増えるかもしれません。</p>

<p>AIR1.0で動かしたら、「日本語入力するときに落ちた！」とか「入力しても検索できないからあまり実用的でない」といった判断をされないように作品を応募する方は、AIR1.0対象とかAIR1.1で動作！とかアピールしないと審査員の方々に正しく評価していただけないかもしれませんね。</p>

<p>どんなアプリが応募されるのか楽しみです。<br />
ちゃんとした実用アプリがどんな形でみれるか？という事も興味がありますが、それ以上に「だからどーした」とか「それで？」とか無駄にすげーけど何につかうのだろうアプリがたくさん応募されて、それをみる事ができたら楽しいなと思っています。</p>

<p><br />
Adobe - Adobe AIR コンテスト (エアコン) 開催！ ～デスクトップを制するものは、未来も制す～<br />
<a href="http://www.adobe.com/jp/special/air/contest/" target="external">http://www.adobe.com/jp/special/air/contest/</a></p>

<p>#Adobe AIR 1.1から日本語対応になっています。<br />
Adobe AIR 1.1ベータプログラム開始：nod::ぶろぐ:RIA::Flex/AIR/Flash<br />
<a href="http://www.noridon.net/weblogs/archives/2008/04/adobe_air_11.html" target="external">http://www.noridon.net/weblogs/archives/2008/04/adobe_air_11.html</a></p>]]>
</content>
</entry>
<entry>
<title>第40回FxUG勉強会(ILogElixir特集)レポ#2 - Flex Builder 3との統合</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/05/40fxugilogelixi_1.html" />
<modified>2008-05-08T18:34:19Z</modified>
<issued>2008-05-07T23:37:32Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.553</id>
<created>2008-05-07T23:37:32Z</created>
<summary type="text/plain">だいぶ時間が経ってしまいましたが、第４０回Flex User Group勉強会の...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>flex3</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p>だいぶ時間が経ってしまいましたが、第４０回<a href="http://www.fxug.net/" target="external">Flex User Group</a><a href="http://www.fxug.net/modules/bwiki/index.php?Flex3%CA%D9%B6%AF%B2%F1%C2%E840%B2%F3%A1%F7%C5%EC%B5%FE%BB%B2%B2%C3%BC%F5%C9%D5" target="external">勉強会</a>のレポート第二弾です。<br />
第一弾は<a href="http://www.noridon.net/weblogs/archives/2008/04/40fxugilogelixi.html" target="external">こちら</a></p>

<p>当日の配布資料は、pdf化されたものが<a href="http://www.fxug.net/modules/bwiki/index.php?%CA%D9%B6%AF%B2%F1%BB%F1%CE%C1%A4%CE%A5%C0%A5%A6%A5%F3%A5%ED%A1%BC%A5%C9" target="external">勉強会資料ダウンロードページ</a>で<a href="http://www.fxug.net/archives/study_mtg_40/ElixirJ.pdf" target="external">配布</a>されています。<br />
プレゼン資料は英語だったのですが、配布資料(当日配布された紙ベースのものも！)は日本語化されているので、理解しやすくなっています。</p>

<p>概要説明と、リソース(blogなど)の説明の後、ILOG Elixirに含まれている7つのコンポーネントについての説明に移っていきました。</p>

<p>まず最初は、ILOG ElixirはFlex Builder 3と緊密に統合されているという点を強調していました。<br />
デザインViewに表示されるコンポーネントViewにFlex Frameworkのコンポーネントと同様、ILOGコンポーネントのアイコンが並びます。<br />
<a href="http://www.noridon.net/weblogs/archives/images/ilog/ilog-componentview.html" onclick="window.open('http://www.noridon.net/weblogs/archives/images/ilog/ilog-componentview.html','popup','width=252,height=704,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.noridon.net/weblogs/archives/images/ilog/ilog-componentview-thumb.png" width="100" height="279" alt="" border="0" /></a><br />
また、Flex プロパティViewでも各コンポーネントにあわせたプロパティ値を設定することができます。</p>]]>
<![CDATA[<p>Flex 2のときには、FxUGのwiki<a href="http://www.fxug.net/modules/bwiki/index.php?FlexBuilder%A5%AB%A5%B9%A5%BF%A5%DE%A5%A4%A5%BA%A1%DD%A5%B3%A5%F3%A5%DD%A1%BC%A5%CD%A5%F3%A5%C8" target="external">にカスタマイズ方法を掲載</a>してくれた方がいらっしゃいましたがFlex Builder 3では仕様が変わったのか？うまく動作しないとのこと。(pluginの構成に変更があって該当するファイルがないようです。)</p>

<p>Elixirのコンポーネントを組み合わせて新たに作成したコンポーネントや、一部拡張(カスタマイズ)したりしたものもFlexコンポーネントViewやプロパティViewに表示させたいところですが、どのようにやるかはわかりませんでした。</p>

<p>ILOG ElixirではコンポーネントViewに表示するのにどのように実現したのか？ということを<a href="http://d.hatena.ne.jp/arkw/" target="external">arkw</a>さんが質問していたのですが、時間の関係などで却下されていました(笑)</p>

<p><a href="http://www.adobe.com/jp/products/flex/ilogelixir/" target="external">ILOG Elixir</a>は、インストーラもライセンス情報の登録(ライセンスアクティベータ)も、透かし(ウォーターマーク)が入るところもFlex (Builder)3に準拠しているというか同等のものを使っているように見えます。</p>

<p>Elixirは開発と所有はアイログであるものの、Adobeが販売するものとして協業しているので統合する上で必要なリソースがあったのかもしれません。(推測ですけど）</p>

<p>その後ILOG Elixirに含まれる７つのコンポーネントについての説明に入りました。</p>

<p>続き..ます。</p>

<p><br />
#第40回FxUG勉強会(iLogElixir特集)レポ#1：nodぶろぐRIAFlex-AIR-Flash<br />
<a href="http://www.noridon.net/weblogs/archives/2008/04/40fxugilogelixi.html" target="external">http://www.noridon.net/weblogs/archives/2008/04/40fxugilogelixi.html</a></p>

<p>#当日のアジェンダがあります。<br />
B-Wiki - Flex3勉強会第40回＠東京参加受付 - Flex User Group<br />
<a href="http://www.fxug.net/modules/bwiki/index.php?Flex3%CA%D9%B6%AF%B2%F1%C2%E840%B2%F3%A1%F7%C5%EC%B5%FE%BB%B2%B2%C3%BC%F5%C9%D5" target="external">http://www.fxug.net/modules/bwiki/index.php?Flex3%CA%D9%B6%AF%B2%F1%C2%E840%B2%F3%A1%F7%C5%EC%B5%FE%BB%B2%B2%C3%BC%F5%C9%D5</a></p>

<p>#Flex Builder 2のカスタマイズ方法がfxugのwikiに掲載されています。<br />
Flex Builderのカスタマイズ（コンポーネント関連）<br />
<a href="http://www.fxug.net/modules/bwiki/index.php?FlexBuilder%A5%AB%A5%B9%A5%BF%A5%DE%A5%A4%A5%BA%A1%DD%A5%B3%A5%F3%A5%DD%A1%BC%A5%CD%A5%F3%A5%C8" target="external">http://www.fxug.net/modules/bwiki/index.php?FlexBuilder%A5%AB%A5%B9%A5%BF%A5%DE%A5%A4%A5%BA%A1%DD%A5%B3%A5%F3%A5%DD%A1%BC%A5%CD%A5%F3%A5%C8</a></p>

<p>#製品ページです。<br />
Adobe - Flex：ILOG Elixir<br />
<a href="http://www.adobe.com/jp/products/flex/ilogelixir/" target="external">http://www.adobe.com/jp/products/flex/ilogelixir/</a></p>

<p>#各コンポーネントのデモをみることができます。<br />
Interactive Demos of ILOG Elixir Flex Components « Greg Wilson's Ramblings<br />
<a href="http://gregorywilson.wordpress.com/2008/05/07/interactive-demos-of-ilog-elixir-flex-components/" target="external">http://gregorywilson.wordpress.com/2008/05/07/interactive-demos-of-ilog-elixir-flex-components/</a></p>

<p>#当日説明してくれた、アーワン・パッカード（Erwan Paccard）さんのインタビュー記事<br />
「AbobeとILOGの関係はとても重要だ」——仏ILOGのプロダクト・マネジャ語る：ITpro<br />
<a href="http://itpro.nikkeibp.co.jp/article/Interview/20080425/300174/" target="external">http://itpro.nikkeibp.co.jp/article/Interview/20080425/300174/</a></p>]]>
</content>
</entry>
<entry>
<title>S2Flex2-Components-1.0.4-rc2/S2Flex2-Components-2.0.0-Beta2aリリース</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/05/s2flex2componen_6.html" />
<modified>2008-05-08T16:04:44Z</modified>
<issued>2008-05-06T03:41:17Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.552</id>
<created>2008-05-06T03:41:17Z</created>
<summary type="text/plain"> 続けてS2Flex2リリースのお知らせです。 Flex2/Flex3から各種A...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>s2flex2</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p><a href="http://www.noridon.net/weblogs/s2flex2-components-logo.html" onclick="window.open('http://www.noridon.net/weblogs/s2flex2-components-logo.html','popup','width=236,height=63,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.noridon.net/weblogs/s2flex2-components-logo-thumb.png" width="200" height="53" alt="" border="0" /></a></p>

<p>続けて<a href="http://s2flex2.sandbox.seasar.org/ja/" target="external">S2Flex2</a>リリースのお知らせです。<br />
Flex2/Flex3から各種AMF3gatewayに接続するComponentsである、S2Flex2-components-1.0.4-rc2/2.0.0-Beta2aをリリースしました。</p>

<p>1.0.4-rc2は、Flex2用で2.0.0-Beta2aはFlex3用になります。</p>

<p>主な変更点はこちら。<br />
<ul><li>サーバで発生した例外内容を受け取れるようにしました。</li><li>Faultイベント発生時にbusyCursorを削除するようにしました</li><li>Doltengが生成するようなメソッド単位でresult,faultのハンドラを設定するケースでrootCauseが取得できなかったのを修正しました。</li></ul></p>

<p>downloadは<a href="http://s2flex2.sandbox.seasar.org/ja/index.html#download" target="exetrnal">こちら</a>からどうぞ。</p>]]>
<![CDATA[<p>今回の変更点は、S2Flex2本体とあわせて更新することで、サーバ側で発生した例外情報がとれるようになります。これまでの<a href="/weblogs/archives/2008/05/s2flex2104rc1.html" target="external">リリース</a><a href="/weblogs/archives/2008/05/s2flex2111rc1.html" target="external">エントリー</a>で何度も書いているので内容は割愛しますが、サーバ側のエラー情報がこれまでより少しだけ詳細にとれるようになります。</p>

<p>Componentsは1.0.4-rc1/2.0.0-Beta2を5/1に一度リリースしたのですが、変更漏れがあって<a href="http://livedocs.adobe.com/flex/201_jp/langref/mx/rpc/AsyncToken.html" target="external">Async</a><a href="http://livedocs.adobe.com/flex/2_jp/langref/mx/rpc/AsyncToken.html" target="external">Token</a>経由でFaultを受け取るとrootCauseがnullのままになってしまいます。</p>

<p>method単位で処理を切り替える際には、メソッド呼び出しした際の戻り値であるAsyncTokenに<a href="http://livedocs.adobe.com/flex/201_jp/langref/mx/rpc/Responder.html" target="external">Responder</a>を指定して切り替えます。</p>

<pre>
var token:AsyncToken=service.doHogeHoge(param);
token.setResonder(new RelayResponder(resultHandler(event),<strong>faultHandler(event)</strong>);
</pre>

<p>Caingormを利用している方は、<br />
&lt;s2:S2Flex2Service id=&quot;srv&quot; destination=&quot;hogeServic&quot; result=&quot;event.token.resultHandler(event)&quot; fault=&quot;event.token.faultHandler(event)&quot;/&gt;<br />
のように記述するかもしれません。</p>

<p><br />
上記のようなケースでは、rootCauseがnullのままになっていました。<br />
1.0.4-rc2/2.0.0-Beta2aで修正してメソッド単位でResponderを指定しても例外発生時にrootCause経由で例外情報が取得できるようになります。</p>

<p><br />
1.0.4-rc2では、Flex SDK 2の各hotfix(hotfix1/2/3)でコンパイルしたswcを同梱しています。バージョンにあったものを選んで更新してください。</p>

<p>2.0.0-Beta2では、Flex Builder 3(おそらく3.0.0 build 477)でコンパイルしています。build.xmlをつかったコンパイルはFlex3になったのでこれまでのjavaでcompcを呼び出す形式から<a href="http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks" target="external">Flex Ant Tasks</a>を使うように書き直しています。</p>

<p>S2Flex2本体はSeasar2のバージョンや、<a href="http://dolteng.sandbox.seasar.org/" target="external">Dolteng</a>を使って開発をする際などにあわせて選択していtだけます。<br />
コンポーネントとの組み合わせは、以下のようになります。</p>

<h4>Flex2のとき</h4>

<p>S2Flex2-Components-1.0.4-rc2<br />
＋<br />
S2Flex2-1.0.3-rc1(Seasar2.4.17以前のとき,Seasar2.4.9でコンパイルしています。)<br />
S2Flex2-1.1.1-rc1(Seasar2.4.17以降のとき)</p>

<h4>Flex3のとき</h4>
S2Flex2-Components-2.0.0-Beta2a
＋
S2Flex2-1.0.3-rc1(Seasar2.4.17以前のとき)
S2Flex2-1.1.1-rc1(Seasar2.4.17以降のとき)

<p><br />
これからもよろしくお願いいたします。m(__)m</p>

<p>S2Flex2<br />
<a href="http://s2flex2.sandbox.seasar.org/ja/" target="external">http://s2flex2.sandbox.seasar.org/ja/</a></p>

<p>S2Flex2-1.0.4-rc1をリリース：nod::ぶろぐ:RIA::Flex/AIR/Flash<br />
<a href="http://www.noridon.net/weblogs/archives/2008/05/s2flex2104rc1.html" target="external">http://www.noridon.net/weblogs/archives/2008/05/s2flex2104rc1.html</a></p>

<p>s2Flex2-1.1.1-rc1をリリース：nod::ぶろぐ:RIA::Flex/AIR/Flash<br />
<a href="http://www.noridon.net/weblogs/archives/2008/05/s2flex2111rc1.html" target="external">http://www.noridon.net/weblogs/archives/2008/05/s2flex2111rc1.html</a></p>]]>
</content>
</entry>
<entry>
<title>サーバ側で発生した例外をFlexで受け取る</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/05/flex_4.html" />
<modified>2008-05-05T18:26:09Z</modified>
<issued>2008-05-04T16:29:31Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.548</id>
<created>2008-05-04T16:29:31Z</created>
<summary type="text/plain">最近はやり？のサーバロジックを呼び出す際に、サーバ側で発生したエラー情報をクライ...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>Flex</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p>最近はやり？のサーバロジックを呼び出す際に、サーバ側で発生したエラー情報をクライアント(Flex)で受け取る方法が書かれたエントリーを集めてみました。</p>

<p>RemoteObjectやWebServiceなど呼び出し方法やサーバ実装によって取得方法が異なるようです。<br />
WebServiceなんかは、ServerStatusCodeが200番でないと、<a href="http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=flat&topic_id=554&forum=1"　target="external">エラー情報が取得できない</a>らしく、みなさんServletのfilterやASP.NETのGlobal.asxなどで変更して対応しているようです。</p>

<p>WebServiceについては<a href="http://opensource.adobe.com/wiki/display/blazeds/BlazeDS" target="external">BlazeDS</a>のproxyを使った場合で変わったりするのでしょうか?ちょっと気になるところです。</p>]]>
<![CDATA[<p>RemoteObjectを使った例ではWebOrb(.NET)やColdFusion、Javaなどの例がありました。<br />
エラー発生時には<a href="http://livedocs.adobe.com/flex/3_jp/langref/mx/rpc/events/FaultEvent.html" target="external">Fault</a><a href="http://livedocs.adobe.com/flex/201_jp/langref/mx/rpc/events/FaultEvent.html" target="exetrnal">Event</a>が送出されるので、そのFaultEventから<a href="http://livedocs.adobe.com/flex/201_jp/langref/mx/rpc/Fault.html" target="external">Fault</a>を取得しそこから例外情報を取得します。</p>

<p>こんな風にタグを書いて..<br />
&lt;mx:RemoteObject id=&quot;srv&quot; destination=&quot;hogeServic&quot; showBusyCursor=&quot;true&quot; result=&quot;event.token.resultHandler(event)&quot; fault=&quot;event.token.faultHandler(event)&quot;/&gt;</p>

<p>こんな風にFaultを取得します。<br />
<pre><br />
public function faultHandler(event:FaultEvent):void{<br />
	var fault:Fault = event.fault as Fault;<br />
}<br />
</pre></p>

<p>Faultから、例外やエラー情報を取得します。</p>

<p>#Javaの例外内容を取得する方法はこちら。<br />
Sending extra data in Java Exceptions to Flex Clients<br />
<a href="http://blogs.eyepartner.com/adrian/flex/sending-extra-data-in-java-exceptions-to-flex-clients/"target="external">http://blogs.eyepartner.com/adrian/flex/sending-extra-data-in-java-exceptions-to-flex-clients/</a></p>

<p>#サーバがBlazeDSの例<br />
Handling Java Exceptions in Flex application « Sujit Reddy G - The Evangelist<br />
<a href="http://sujitreddyg.wordpress.com/2008/02/12/handling-java-exceptions-in-flex-application/" target="external">http://sujitreddyg.wordpress.com/2008/02/12/handling-java-exceptions-in-flex-application/</a></p>

<p>#FxUGのフォーラムにあった、FaultからrootCause経由で取得する方法。これがきっかけでS2Flex2とComponentsのバージョンアップにつながりました。<br />
Java側で発生した例外の内容を取得する方法<br />
<a href="http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=flat&topic_id=1752&forum=15"target="external">http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=flat&topic_id=1752&forum=15</a></p>

<p>#sato-shiさんも過去に紹介していましたっ<br />
Javaの例外を取る - Flex Coder<br />
<a href="http://d.hatena.ne.jp/sato-shi/20080224/p18" target="external">http://d.hatena.ne.jp/sato-shi/20080224/p18</a></p>

<p>#WebService経由だと例外が発生してstatusCodeが500になってしまいます。Flex側ではStatusCodeが200でないと受け取れません。Servletフィルタを使って無理やり500->200にしています。強引だ..。<br />
Stack Overflow Handling Web Service exception in Flex code<br />
<a href="http://stackoverflowexception.blogspot.com/2007/02/handing-web-service-exception-in-flex.html" target="external">http://stackoverflowexception.blogspot.com/2007/02/handing-web-service-exception-in-flex.html</a></p>

<p>#FxUGのフォーラムの投稿 ASP.NETでの対応コードがあります。やっぱりstatusCodeを200番に変更して対応してるようです。<br />
WebServiceからのSOAP Faultを正しく受け取りたい<br />
<a href="http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=flat&topic_id=554&forum=1"　target="external">http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=flat&topic_id=554&forum=1</a></p>

<p>#サーバがColdFusionのケースはこちらのエントリーを参考に。<br />
Bruce Phillips' Blog Handling ColdFusion Custom Exceptions In Flex<br />
<a href="http://www.brucephillips.name/blog/index.cfm/2008/4/27/Handling-ColdFusion-Custom-Exceptions-In-Flex" target="external">http://www.brucephillips.name/blog/index.cfm/2008/4/27/Handling-ColdFusion-Custom-Exceptions-In-Flex</a></p>

<p>Flex2 + NET(WebOrb)については、devnetに記事がありました。<br />
Adobe - Developer Center  Handling .NET exceptions in Flex<br />
<a href="http://www.adobe.com/devnet/flex/articles/net_exceptions.html" target="external">http://www.adobe.com/devnet/flex/articles/net_exceptions.html</a></p>

<p>#AS2の例<br />
Exceptions and Exception Handling - ActionScript.org Flash, Flex and<br />
ActionScript Resources<br />
<a href="http://www.actionscript.org/resources/articles/603/15/Exceptions-and-Exception-Handling/Page15.html" target="external">http://www.actionscript.org/resources/articles/603/15/Exceptions-and-Exception-Handling/Page15.html</a></p>

<p><!--2008-05-02 16:29:31 初稿--></p>]]>
</content>
</entry>
<entry>
<title>s2Flex2-1.1.1-rc1をリリース</title>
<link rel="alternate" type="text/html" href="http://www.noridon.net/weblogs/archives/2008/05/s2flex2111rc1.html" />
<modified>2008-05-04T18:02:56Z</modified>
<issued>2008-05-04T16:02:05Z</issued>
<id>tag:www.noridon.net,2008:/weblogs//3.551</id>
<created>2008-05-04T16:02:05Z</created>
<summary type="text/plain">S2Flex2の1.1.1-rc1をリリースしました。 ダウンロードはこちら 主...</summary>
<author>
<name>nod</name>

<email>jun.funakura@gmail.com</email>
</author>
<dc:subject>s2flex2</dc:subject>
<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://www.noridon.net/weblogs/">
<![CDATA[<p><a href="http://s2flex2.sandbox.seasar.org/ja/" target="external">S2Flex2</a>の1.1.1-rc1をリリースしました。<br />
ダウンロードは<a href="http://s2flex2.sandbox.seasar.org/ja/" target="external">こちら</a></p>

<p>主な変更点は以下のとおりです。</p>

<ul><li>Seasar2.4のpublicフィールドに対応しました。</li><li>サーバロジックで例外が発生した際に、例外の内容をFlex側で取得できるように改善しました。</li></ul>

<p>Maven2からのご利用はこちらを参照ください。</p>

<p><a href="http://www.seasar.org/wiki/index.php?Maven2RepoRemote<br />
" target="external">http://www.seasar.org/wiki/index.php?Maven2RepoRemote<br />
</a><br />
<table><tr><td><strong>groupId:</strong></td><td>org.seasar.flex2</td></tr><tr><td><strong> artifactId:</strong></td><td>s2-flex2</td></tr></table><br />
 <br />
今回のバージョンは、1.1.1-rc1になります。</p>

<p>S2Flex2 1.0.4-rc1同様サーバ側のロジックで例外が発生すると、Flex側にはFaultイベントで返されるようになります。<br />
その際、元のExceptionが持っている情報はFaultのrootCauseで取得します。<br />
rootCause経由で例外情報を取得するには、S2Flex2-Componentsも更新する必要があります。<br />
Flex2で使う際には、S2Flex2-Components1.0.4-rc1を、Flex3で使う際には、S2Flex2-Components2.0.0-Beta2とswcを入れ替えてください。</p>

<p><br />
GW明け数日経っても問題がないようでしたら、1.1.1として正式リリースする予定です。</p>]]>
<![CDATA[<p>1.1系はpublicフィールドに対応したので、例外の情報もプロパティをpublicにするとFlex側でも取得できます。</p>

<pre>
public class HogeException extends Exception {
	public  int hogeCode;
	public String hoge;
:
:
</pre>

<p>上記のように定義すると<br />
FaultのrootCauseのプロパティとして取得できます。<br />
こんな感じ。<br />
<pre><br />
public function onFault(ret:FaultEvent):void{<br />
	var fault:Fault = ret.fault as Fault;<br />
var fault:Fault = event.fault;<br />
var hogeCode:int = fault.rootCause.hogeCode;<br />
var hoge:String = fault.rootCause.hoge<br />
:<br />
:<br />
</pre></p>

<p>RuntimeException、ExceptionともにrootCause経由で取得できるようになっているはずです。</p>

<p>またjavaとasのDTOの変換でもjava側、as側ともにpublicに設定していればプロパティとして判断して相互変換が可能になります。プロジェクトによってはコードもすっきりするかもしれません。</p>

<p>問題、不明点等ありましたらお知らせください。m(__)m</p>

<p>#1.0.x系もFaultからrootCause を取得できるようになっています。<br />
S2Flex2-1.0.4-rc1をリリース：nod::ぶろぐ:RIA::Flex/AIR/Flash<br />
<a href="http://www.noridon.net/weblogs/archives/2008/05/s2flex2104rc1.html<br />
" target="external">http://www.noridon.net/weblogs/archives/2008/05/s2flex2104rc1.html<br />
</a></p>

<p>#fxugのフォーラム で指摘していただきました。<br />
Java側で発生した例外の内容を取得する方法(<a href="http://www.fxug.net/" target="external">Flex User Group</a>のフォーラム)<br />
<a href="http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=flat&topic_id=1752&forum=15<br />
" target="external">http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=flat&topic_id=1752&forum=15<br />
</a></p>

<p>#public フィールドが対応されたS2Containerのバージョン<br />
#Seasar2.4.17のリリース<br />
<a href="http://ml.seasar.org/archives/seasar-user/2007-August/009865.html" target="external">http://ml.seasar.org/archives/seasar-user/2007-August/009865.html<br />
</a></p>

<p>#koichikさんによるリリースアナウンス<br />
<a href="http://d.hatena.ne.jp/koichik/20070813#1186999214<br />
" target="external">http://d.hatena.ne.jp/koichik/20070813#1186999214<br />
</a></p>

<p>#publicフィールドが追加されたときのJIRA<br />
#対応方法を参照する事もできます。<br />
<a href="https://www.seasar.org/issues/browse/CONTAINER-70<br />
" target="external">https://www.seasar.org/issues/browse/CONTAINER-70<br />
</a></p>

<p>#publicフィールド対応可否を明記＆リリースしていなかったので疲れさせてしまったようです.. m(__)m<br />
S2Flex2の導入，その2 - Paradigm Shift Design<br />
<a href="http://d.hatena.ne.jp/kent013/20080220/1203495861<br />
" target="external">http://d.hatena.ne.jp/kent013/20080220/1203495861<br />
</a></p>]]>
</content>
</entry>

</feed>