<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
   <channel>
      <title>DEV.CONVEXSTYLE.NET</title>
      <link>http://dev.convexstyle.net/</link>
      <description>development blog of convexstyle’s work</description>
      <language>ja</language>
      <copyright>Copyright 2008</copyright>
      <lastBuildDate>Wed, 25 Jun 2008 14:47:10 +0900</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>JUGEM Desktop x Flickr</title>
         <description><![CDATA[社内のブログサービス（<a href="http://jugem.jp/" target="_blank">JUGEM</a>）で、以前開発していた JUGEM Desktop を 1.2 より 2.0 にアップデートしました。

Flickr 機能を追加し、自分の Flickr スクリーンネームでログインすれば、ブラウザ経由ではなく、AIR アプリケーションから直接ブログに最大８枚までの Flickr 写真とともに記事をエントリーすることができます。インタフェース的にはドラッグ＆ドロップで写真を記事に追加する感じです。

写真好きな人とか、Flickr は Englishで JUGEM は日本語で切り分けたい人とか、ブラウザ経由が面倒な人はどうぞ。

詳細：<a href="http://jugem.jp/fun/jugemdesktop/" target="_blank">http://jugem.jp/fun/jugemdesktop/</a>

<a href="http://jugem.jp/fun/jugemdesktop/" target="_blank"><img src="http://dev.convexstyle.net/images/entry/200806/20080624.jpg" width="450" height="397" alt="JUGEM Desktop 2.0" title="JUGEM Desktop 2.0" class="link" /></a>
<em>JUGEM Desktop 2.0</em>


【使用技術＆環境】
Flex Builder 3.0、Flash CS 3 Professional、ActionScript 3.0、AMFPHP 1.9、PHP、PEAR、Smarty、MySQL、Linux、Flickr API、PhotoShop CS 3


【担当領域】
Flash、プログラム、データベース、サーバ、デザイン（AIR アプリ側）
＊JUGEM の紹介ページデザイン＆コーディングは<a href="http://www.grandgraphica.com/nohara/" target="_blank">野原君</a>が担当。色々どーもでした！]]></description>
         <link>http://dev.convexstyle.net/2008/06/jugem_desktop_x_flickr.html</link>
         <guid>http://dev.convexstyle.net/2008/06/jugem_desktop_x_flickr.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">AIR</category>
                  <category domain="http://www.sixapart.com/ns/types#category">ActionSctipt 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flex</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flickr</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Work</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">ActionScript 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flash</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flex</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flickr</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">PHP</category>
        
         <pubDate>Wed, 25 Jun 2008 14:47:10 +0900</pubDate>
      </item>
            <item>
         <title>H.264 動画の Progressive 配信</title>
         <description><![CDATA[<img src="http://dev.convexstyle.net/images/entry/200804/20080401.gif" width="400" height="275" alt="H.264 動画の Progressive 配信" title="H.264 動画の Progressive 配信" class="normal" />


<a href="http://dev.convexstyle.net/2008/03/h264_flash_media_server_3_stre.html">前回のエントリー</a>で、Flash Media Server 3 を使用した Streaming 配信に関して記述しましたが、今度はウェブディレクトリより通常の Progressive 再生をしてみたのでメモ。

前回は NetStream.play の記述は ns.play("mp4:sample.mp4"); や ns.play("mp4:sample.mov"); の様な形式で記述し Streaming 再生させていたが、Progressive 再生では NetConnection.connect(null) にして同様な記述では H.264 の動画コーデックで作成された MPEG-4 や MOV を再生できないようだ。

もろもろ調べていたら <a href="http://www.flashcomguru.com/index.cfm/2007/8/22/flash-h264-demos" target="_blank">flashcomguru の記事</a>に同様な問題で、下記の様な記述が。
"That did the trick and my mp4 files now use a naming convention of Rendition.mov.flv, even though it complained that the file can't be opened. trust me it can once you run it in a browser."

要は、.mp4 や .mov も .flv として見立てて、ファイルの拡張子を例えば sample.mp4.flv や sample.mov.flv に変更し、NetStream.play の記述を ns.play("sample.mp4.flv"); やns.play("sample.mov.flv"); に変更し、サーバにアップロードすれば動作する。
＊ただし .flv の時は 拡張子を削除して ns.play("sample.mp4"); や ns.play("sample.mov"); の様に記述したいところだが、ns.play("sample.mp4"); では動作したが、ns.play("sample.mov"); では 404 エラーが返ってきた。ここら辺の挙動はどうなのか。

<a href="http://www.flashcomguru.com/index.cfm/2007/8/22/flash-h264-demos" target="_blank">flashcomguru</a> からはサンプル fla をダウンロードでき、そちらでは FLVPlayback を使用しているので、source プロパティに拡張子を変更したファイルの絶対パス（例：http://hogehoge.com/flv/sample.mov.flv）を指定して動作させている。

次の Flash Player 辺りで改善されそうな内容ですが、一時的な改善策としてこんな感じらしい。念のため、ソースは下記に。

]]></description>
         <link>http://dev.convexstyle.net/2008/04/h264_progressive.html</link>
         <guid>http://dev.convexstyle.net/2008/04/h264_progressive.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">ActionSctipt 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flash</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">ActionScript 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flash</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">flv</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">video</category>
        
         <pubDate>Fri, 04 Apr 2008 10:44:36 +0900</pubDate>
      </item>
            <item>
         <title>H.264 動画を Flash Media Server 3 より Streaming 再生</title>
         <description><![CDATA[<img src="http://dev.convexstyle.net/images/entry/200803/20080331.gif" width="400" height="275" alt="Flash Media Server 3 の Streaming 配信" title="Flash Media Server 3 の Streaming 配信" class="normal" />
<em>Flash Media Server 3 の Streaming 配信</em>

会社で Flash Media Server 3 を触る機会があり、H.264 のストリーミング再生を試してみたのでメモ。
H.264 は従来の On2 VP6 コーデックよりもパフォーマンスと効率が向上した動画圧縮規格で、Flash Player 最新版（Flash Player 9.0.115）であれば、従来の .flv や .mp3 に加え、H264 を使用した他の動画フォーマット（.mov、.avi、.mp4 など）を Streaming 再生させることが可能。<a href="http://www.adobe.com/flashon/" target="_blank">Adobe Flash on</a> で HD 画質の動画を普通に見れますが、この画質は恐ろしく奇麗過ぎる！もはや映画レベルの画質をウェブでコンテンツとして普通に配信出来ますね。Flash Media Streaming Server 3 はそこまで高くはなく購入出来るレベルなので、専用サーバ立てて portfolio サイトのコンテンツ配信ぐらいなら十分ですね。どこかの記事で読みましたが、H.264 を Red5 もサポート予定らしいので、ライセンス購入なしに高画質動画配信が可能になる可能性がありますね。

といういことで、Flash Media Server 3 の動画の Streaming 配信の際は、従来の NetConnection.connect の記述がフォーマットの違いによって微妙に異なるので下記に記述します。]]></description>
         <link>http://dev.convexstyle.net/2008/03/h264_flash_media_server_3_stre.html</link>
         <guid>http://dev.convexstyle.net/2008/03/h264_flash_media_server_3_stre.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">ActionSctipt 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flash</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flash Media Server</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Server</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">ActionScript 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flash</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flash Media Server</category>
        
         <pubDate>Mon, 31 Mar 2008 23:18:33 +0900</pubDate>
      </item>
            <item>
         <title>マルチアプリケーションを１つの AIR アプリケーションで管理</title>
         <description><![CDATA[AIR アプリケーションで大きく分類して１つの機能のみを保持する場合は、特に意識せずに開発すればいいんですが、ふと、機能が横並び的に拡張して、親アプリケーション（mx:WindowedApplication や mx:Application）ではそのレイアウトのみを管理し、各子クラスがそれぞれ１つのアプリケーションの単位として考えられる場合はどうやるんだろう・・・と思ったので、調査してみた。
要は、各アプリケーションを表すアイコンがズラッと並んでいるだけで、各アイコンをクリックした時点で、各アプリケーションが起動する感じにしたい。

<img src="http://dev.convexstyle.net/images/entry/200802/20080229_sampleImage.gif" width="400" height="275" alt="mx:Window 概略図" title="mx:Window 概略図" class="normal" />
<em>mx:Window 概略図</em>]]></description>
         <link>http://dev.convexstyle.net/2008/02/_air.html</link>
         <guid>http://dev.convexstyle.net/2008/02/_air.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">AIR</category>
                  <category domain="http://www.sixapart.com/ns/types#category">ActionSctipt 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flex</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">ActionScript 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">AIR</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flex</category>
        
         <pubDate>Fri, 29 Feb 2008 09:38:58 +0900</pubDate>
      </item>
            <item>
         <title>JUGEM Desktop</title>
         <description><![CDATA[<a href="http://jugem.jp/fun/jugemdesktop/" target="_blank"><img src="http://dev.convexstyle.net/images/entry/200801/JUGEMDesktop.jpg" width="450" height="400" alt="JUGEM Desktop" title="JUGEM Desktop" class="link" /></a>

<a href="http://labs.adobe.com/downloads/air.html" target="_blank">Adobe Integrated Runtime Beta 3</a> 上で動作する <a href="http://jugem.jp/fun/jugemdesktop/" target="_blank">JUGEM Deskto</a>p というアプリケーションの開発に携わり 1/29 にリリースしました。ウェブカメラの動画を記憶ストリームとしてアプリケーションサーバー上に一時的に保存し、ユーザーアクションによって動画をウェブディレクトリに保存し、<a href="http://jugem.jp/" target="_blank">JUGEM</a> 各ユーザーのブログコンテンツとして使用できるという仕様。今回は最近動画に力を入れている <a href="http://video.ask.jp/index.do" target="_blank">ASK.jp</a> と連携し<a href="http://decowaku.jp/" target="_blank">デコワク</a>を使用するため、ASK で提供された API を使用し、最終的に記憶ストリーム（.flv）を ASK 側に POST する形を取りました。（ローカルの DV ファイルをアップロードする<a href="http://info.jugem.jp/?eid=10511" target="_blank">ウェブ版</a>は去年末に開発しました。）

JUGEM Desktop の現状の機能自体は Flash Developer や Flex Developer の方にはいたって基本の機能で、すでにウェブ上のアプリケーションでもウェブカメラの動画投稿ができるものを多くみているし、個人的にもウェブでは３度程、記憶ストリームを利用したアプリケーションを仕事や個人ワークで開発しているので、目立って新しいことをしたという訳ではないですが、とにかく、JUGEM というブログサービス（対何十万人）を相手にするための対サービス型のアプリケーション開発は結構シビアで目に見えない部分で苦労しました。後、AIR アプリケーションは"既存のスキルをローカルアプリケーションに使用でき簡単に開発できる"という風に聞いていましたが、やってみると Flex Framework をきっちり理解していないと難しいなと痛感。自分見たくゼロから Flex を始めた方はまずは Flex で詰まりそう。特に、Flash 完結したアプリケーションを AIR 書き出しするために Flex Framework を使用する場合と違い、ユーザーインタラクションがある場合はなおさらかなと思います。MVC 設計を意識し今後の開発での汎用性を意識していたけど、自分のスキルがまだまだです。でも思いました。今まで企業サイト・サービス・個人ワークで目的は違えど何とか新しいクリエイティビティを表現したい！と開発やデザインしてきましたが、AIR アプリケーションの様に、決まった動作を論理的に考えて開発するのも気持ちいい！なあと。一発ギャグ的なアプリケーションもいいけれど、「ウェブライフをより便利に！」って考えて作った方が AIR はより最適かなと思います。例えば、<a href="http://teknision.com/siteVersions/tek3/index.html#Home" target="_blank">teknision</a> が開発した <a href="http://www.finetune.com/desktop/" target="_blank">Finetune Desktop</a> は自分には凄い使い勝手がよく、I-Pod Shuffle 的にいい音楽を偶然探すには最適です。

ということで、使っていただくと分かると思いますが機能的には全くまだまだです。
開発は１人作業なので時間が限られているのですが、引き続き Flex を勉強しながら時間がある限り新しい機能を追加していきます。Flex Beta 3 もまだまだ問題点とかが多いけれど、正式版が出る時に fix されているのを期待したい！


【使用技術】
Flex Builder 3 Beta 3, Flash CS 3 Professional, Flex Component Kit, AIR API, ActionScript 3.0, PHP 4, AMFPHP, ASK API, Smarty, PEAR, MySQL, SQLite, Application server on Linux, Photoshop CS 3


【担当領域】
Flex Builder 3 Beta 3, Flash CS 3 Professional, Flex Component Kit, AIR API, ActionScript 3.0, PHP 4, AMFPHP, ASK API, Smarty, PEAR, MySQL, SQLite, Application server]]></description>
         <link>http://dev.convexstyle.net/2008/02/jugem_desktop.html</link>
         <guid>http://dev.convexstyle.net/2008/02/jugem_desktop.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">AIR</category>
                  <category domain="http://www.sixapart.com/ns/types#category">ActionSctipt 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flex</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Work</category>
        
        
         <pubDate>Sun, 03 Feb 2008 23:57:19 +0900</pubDate>
      </item>
            <item>
         <title>独自 showBusyCursor 表示方法</title>
         <description><![CDATA[RPC 処理や HTTPService 処理中に表示される busy カーソル。
<a href="http://s2flex2.sandbox.seasar.org/ja/" target="_blank">s2flex2-components</a> や <a href="http://livedocs.adobe.com/labs/flex3/langref/mx/rpc/remoting/RemoteObject.html" target="_blank">RemoteObject</a> を使用して Flex（AIR）アプリケーションとサーバプログラムを Remoting で連携して何かを処理する場合、showBusyCursor="true" にすることで、サーバプログラムが任意の処理を行っている際にデフォルトのくるくる回るカーソルを表示することができるが、独自のカーソルやプログレスバーを表示したい場合があるので、その独自のカーソルやプログレスバーを表示する方法をメモ。]]></description>
         <link>http://dev.convexstyle.net/2008/01/_showbusycursor.html</link>
         <guid>http://dev.convexstyle.net/2008/01/_showbusycursor.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">AIR</category>
                  <category domain="http://www.sixapart.com/ns/types#category">ActionSctipt 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flex</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">ActionScript 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">AIR</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flash</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flash Remoting</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flex</category>
        
         <pubDate>Sun, 20 Jan 2008 23:37:53 +0900</pubDate>
      </item>
            <item>
         <title>HTTP_Request で HTTP レスポンス情報の評価</title>
         <description><![CDATA[明けましておめでとうございます。

<a href="http://dev.convexstyle.net/2007/12/_for_each_in.html" target="_blank">前回</a>に引き続き、<a href="http://www.flickr.com/services/api/flickr.interestingness.getList.html" target="_blank">flickr.interestingness.getList API</a> と Flash の関係について。
flickr.interestingness.getList はクオリティの高い写真を日付ごとに最大 500 件取得できる点ですが、中には Source URL で取得出来る最も重要な b サイズ（でかい画像サイズ）の画像がアップロードしたユーザーが画像を削除した際に取得出来ない場合があるようで、過去にさかのぼるにつれてその頻度は高いようです。
Flash で Viewer を作る以上、そういった画像は極力省きたいので一度 PHP などのプログラム側で HTTP レスポンスからの情報を評価する必要があります。Flickr の仕様上、画像が存在しない場合はHTTP リスポンスコードで 302（Moved Temporarily）が返って画像が無い場合の GIF 画像（photo_unavailable.gif）が返ってしまうので、Flash ではこういった GIF 画像も画像と認識して読み込んでしまい表現上都合が良くないので、cron で定期的にそういった画像を省いた状態で新規に xml を新たに書き出した方が良さそう。でもいちいちリクエストをするので処理は重いのがネックですね。curl --head でも同様な処理を行ったがそんなに処理速度が変わらなかった。何か他の方法は無いだろうか。]]></description>
         <link>http://dev.convexstyle.net/2008/01/http_request_http.html</link>
         <guid>http://dev.convexstyle.net/2008/01/http_request_http.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Flash</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flickr</category>
                  <category domain="http://www.sixapart.com/ns/types#category">PHP</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">Flash</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flickr</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">php</category>
        
         <pubDate>Mon, 07 Jan 2008 19:45:05 +0900</pubDate>
      </item>
            <item>
         <title>for each in</title>
         <description><![CDATA[数ヶ月前に個人的に一発奮起して <a href="http://hb.afl.rakuten.co.jp/hgc/06eb8bf6.02b83b22.06eb8bf7.91ea6d30/?pc=http%3a%2f%2fitem.rakuten.co.jp%2fnaniwa%2f5089242%2f&m=http%3a%2f%2fm.rakuten.co.jp%2fnaniwa%2fi%2f10011487%2f" target="_blank">Canon 30D</a> を購入したのですが、それ以来写真の面白さにのめり込んでしまいました。<a href="http://www.flickr.com/" target="_blank">Flickr</a> を写真サイトのメインとして使っているんですが、今までのベスト写真アーカイブを表示する photoViewer を自前で作成しようと思い、その前に Flickr のベストフォトを取得する <a href="http://www.flickr.com/services/api/flickr.interestingness.getList.html" target="_blank">flickr.interestingness.getList API</a> をベースに基本ロジックを作成しています。

ActionScript 3.0 から for each in が追加されて XML の解析が凄い簡単かつ明瞭になりました。従来は XML の処理は firstChild や childNodes など毎回冗長的に記述していかなければならなかったですが、E4X と for each in の連携によって XMLList オブジェクトを解析するのは PHP でいう foreach 的な使い勝手で今更ながら感動です。


]]></description>
         <link>http://dev.convexstyle.net/2007/12/_for_each_in.html</link>
         <guid>http://dev.convexstyle.net/2007/12/_for_each_in.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">ActionSctipt 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flash</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flickr</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">ActionScript 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flash</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flickr</category>
        
         <pubDate>Sun, 30 Dec 2007 22:32:14 +0900</pubDate>
      </item>
            <item>
         <title>VideoDisplay では NetStream.seek 機能は実現出来ないのか？</title>
         <description><![CDATA[アプリケーションサーバ（今回は Red 5 を使用）から streaming 配信で flv ファイルを Flex Framework の VideoDisplay Component に表示しようと思ったが、イベントドリブン的なプログラム内で、任意のタイミングにより FLV を seek させて動画の PlayHead を管理しようと思ったがうまく処理が動かなかった。（上手くいくかもしれないですが、自分ではどうにも出来なかった。）

例えば、下記の様なクリックイベントで flv の streaming 配信させる簡単なスクリプトを組んでみる。これでも streaming 配信は可能なのだが、NetStream.seek の様な PlayHead の移動をさせる機能を持ち得ていないので、最初から再生させるには flv の再生が終了するのを待って再度クリックしないと先頭から再生しない模様。もっとも VideoDisplay の仕様的に、AutoRewind も streaming には対応してないみたいだし、試した限りでは、再生中はクリックしても特に何も変化せず動画は普通に再生し続けた。

▽ MXML ソース
<pre>
&lt;mx:Script&gt;
&lt;![CDATA[
private function playVideo():void {
    var flvname:String = "rtmp://hogehoge.com/app/sample.flv";
    local_video.source = flvname;
    local_video.play();
}
]]&gt;
&lt;/mx:Script&gt;

&lt;mx:VBox&gt;
    &lt;mx:VideoDisplay id="local_video" width="320" height="320" /&gt;
    &lt;mx:Button label="再生" click="playVideo()" /&gt;
&lt;/mx:VBox&gt;
</pre>
]]></description>
         <link>http://dev.convexstyle.net/2007/12/videodisplay_netstreamseek.html</link>
         <guid>http://dev.convexstyle.net/2007/12/videodisplay_netstreamseek.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">ActionSctipt 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Flex</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">ActionScript 3.0</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">Flex</category>
        
         <pubDate>Wed, 26 Dec 2007 18:23:22 +0900</pubDate>
      </item>
            <item>
         <title>Moxie での S2Flex2-components 設定方法</title>
         <description><![CDATA[Flex Builder Beta 2 "Moxie"での AIR アプリケーション開発で PHP 側のコントローラ（gateway.php）と Remoting でのデータのやり取りを行う AS 側でコントローラ的プログラムを開発しようかなと思ったんで、何を使おうか考えていたのですが、最初の２つ（<a href="http://www.sephiroth.it/tutorials/flashPHP/flex_remoteobject/" target="_blank">RemotingObject</a>、<a href="http://osflash.org/as3lrf" target="_blank">Lightweight Remoting Framework</a>）は自分なりの理由で回避して
 <a href="http://s2flex2.sandbox.seasar.org/ja/" target="_blank">S2Flex2-components</a> を使用することにした。

]]></description>
         <link>http://dev.convexstyle.net/2007/12/moxie_s2flex2components.html</link>
         <guid>http://dev.convexstyle.net/2007/12/moxie_s2flex2components.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Flex</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">Flex</category>
        
         <pubDate>Sun, 16 Dec 2007 22:45:51 +0900</pubDate>
      </item>
            <item>
         <title>Jugem x ASK.JP</title>
         <description><![CDATA[久々のブログエントリー。


そして久々に会社の既存サービスに Flash を一切使わない機能をゴリゴリ開発。
ブログサービス <a href="http://jugem.jp/" target="_blank">jugem</a> に <a href="http://video.ask.jp/index.do" target="_blank">ASK.JP</a> の動画投稿 API を使用してローカル動画投稿機能を実装してみました。Open な API では無いですがよく出来ている API だったので、スムーズに開発出来ました。既存のサービスのソースも追えたので、結構良い勉強になりました。


<a href="http://info.jugem.jp/?eid=10511" target="_blank"><img src="http://dev.convexstyle.net/images/entry/200712/20071210.gif" width="400" height="120" alt="Jugem x ASK.JP" title="Jugem x ASK.JP" class="link" /></a>


【使用技術】
PHP、Smarty、PEAR、MySQL、CSS、Javascript、HTML、PhotoShop、ASK API


【担当領域】
PHP、Smarty、PEAR、MySQL、Javascript、ASK API 辺り]]></description>
         <link>http://dev.convexstyle.net/2007/12/jugem_x_askjp.html</link>
         <guid>http://dev.convexstyle.net/2007/12/jugem_x_askjp.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">API</category>
                  <category domain="http://www.sixapart.com/ns/types#category">PHP</category>
                  <category domain="http://www.sixapart.com/ns/types#category">Work</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">api</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">php</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">video</category>
        
         <pubDate>Mon, 10 Dec 2007 18:29:44 +0900</pubDate>
      </item>
            <item>
         <title>unable to bind to property</title>
         <description><![CDATA[動的なプロパティを持つ Object を集めた ArrayCollection Object を TileList に Bind し、itemRenderer で表示レイアウトをカスタマイズしようとすると、Debug の際に console 画面に下記の様なエラーが。

<pre>
warning: unable to bind to property 'label' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'src' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'label' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'src' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'label' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'src' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'label' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'src' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'label' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'src' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'label' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'src' on class 'Object' (class is not an IEventDispatcher)
</pre>
]]></description>
         <link>http://dev.convexstyle.net/2007/10/unable_to_bind_to_property.html</link>
         <guid>http://dev.convexstyle.net/2007/10/unable_to_bind_to_property.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Flex</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">Flex</category>
        
         <pubDate>Fri, 26 Oct 2007 14:24:08 +0900</pubDate>
      </item>
            <item>
         <title>SQLite in AIR</title>
         <description><![CDATA[Apollo Mini Camp で <a href="http://www.amazon.co.jp/Apollo-Adobe-Flex-Developers-Pocket/dp/0596513917/SubscriptionId=ON9KBBBXNXGBYSAE9RG2%22" target="_blank">Apollo for Adobe Flex Developers</a> 等の著者の <a href="http://mikechambers.com/blog/" target="_blank">Mike Chambers</a> さんが AIR から SQLite を導入すると話していましたが、AIR より実際に導入されたので、現在開発中の AIR アプリケーションに実際に実装してみた。もともと必要な情報を FileStream クラスでローカルに xml の様なファイル書き出ししようかと考えていたが、データをもっと Secure に扱いかったので SQLite を使用。まだまだもっと使えて欲しいなあ…という部分もけっこうあるんですが、まあ、Beta の段階だしね。

使用方法は、基本的な SQL 構文の知識と AIR で実装されている <a href="http://livedocs.adobe.com/labs/flex/3/langref/flash/data/SQLConnection.html" target="_blank">SQLConnection</a> class、
<a href="http://livedocs.adobe.com/labs/air/1/aslr/flash/data/SQLStatement.html" target="_blank">SQLStatement</a> class、<a href="http://livedocs.adobe.com/labs/flex/3/langref/flash/data/SQLResult.html" target="_blank">SQLResult</a> class、<a href="http://livedocs.adobe.com/labs/flex/3/langref/flash/filesystem/File.html" target="_blank">File</a> 系の class 辺りを連携させることで、至って簡単に使用することで実現できる。

]]></description>
         <link>http://dev.convexstyle.net/2007/10/sqlite_in_air.html</link>
         <guid>http://dev.convexstyle.net/2007/10/sqlite_in_air.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">AIR</category>
                  <category domain="http://www.sixapart.com/ns/types#category">ActionSctipt 3.0</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">AIR</category>
        
         <pubDate>Wed, 17 Oct 2007 00:20:25 +0900</pubDate>
      </item>
            <item>
         <title>ViewStack</title>
         <description><![CDATA[自分の様に Flash 開発に慣れている場合、Flash の時間軸の概念に基づいて画面遷移やコンテンツの切り替えを行う。簡単に言えば、ログインは frame1、メインコンテンツは frame2、ログアウトは frame3 にそれぞれ gotoAndStop() しフレームを移動させることによって画面遷移を行う。
しかし、Flex の開発になった途端、結構な Flash をやる方はこの時間軸の考えが無くなり少し混乱することがあるんじゃないか。最近、自分は会社で本格的に AIR アプリ制作と、その他個人で Flex 開発をしていて、少なからずこのポイントで悩んだのでメモ。

色々と検索してみると、同様な記事が FXUG にありました。
・<a href="http://www.fxug.net/modules/xhnewbb/viewtopic.php?topic_id=62&forum=2&viewmode=flat&order=ASC&start=0" target="_blank">記事１</a>
・<a href="http://www.fxug.net/modules/xhnewbb/viewtopic.php?viewmode=thread&topic_id=1155&forum=16&post_id=4800#4800" target="_blank">記事２</a>

全く分からなかった時は ActionScript で制御するのか、でも凄い効率悪いし Flex Framework を使っている意味無いしとか感じていましたが、ViewStack ですべてのモヤモヤが解消されました。他にも SWFLoader の方法もありますが、個人的には ViewStack が今回の用途に合っていたのでこっちを使用してみた。]]></description>
         <link>http://dev.convexstyle.net/2007/10/viewstack.html</link>
         <guid>http://dev.convexstyle.net/2007/10/viewstack.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Flex</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">Flex</category>
        
         <pubDate>Wed, 10 Oct 2007 23:25:56 +0900</pubDate>
      </item>
            <item>
         <title>Adobe ケーススタディー</title>
         <description><![CDATA[<a href="http://www.adobe.com/cfusion/showcase/index.cfm?event=casestudydetail&casestudyid=348283&loc=ja" target="_blank">Adobe ケーススタディー</a>に会社の"<a href="http://calamel.jp/" target="_blank">カラメル</a>"のワークが載りました。自分は大した事はしてないですが、少しだけ Flash で絡んだのでオマケ程度に載ってます。

関係ないですが、社長と自分の動きがかぶっていたので、<a href="http://hbkr.jp/" target="_blank">社長</a>が作りました。外人は誰だか分かりませんが、ウケタので載せておきます。

<a href="http://www.adobe.com/cfusion/showcase/index.cfm?event=casestudydetail&casestudyid=348283&loc=ja" target="_blank"><img src="http://dev.convexstyle.net/images/entry/200710/adobe_interview_s.jpg" width="400" height="175" alt="Adobe ケーススタディー" title="Adobe ケーススタディー" class="link" /></a>
<em>Adobe ケーススタディー</em>]]></description>
         <link>http://dev.convexstyle.net/2007/10/adobe.html</link>
         <guid>http://dev.convexstyle.net/2007/10/adobe.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Interview</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">Adobe</category>
        
         <pubDate>Tue, 09 Oct 2007 23:49:42 +0900</pubDate>
      </item>
      
   </channel>
</rss>
