AS3で最もウザイ、複数の非同期処理の連続実行の為のライブラリ書いたよー。ネームスペース適当なのは評価版だから。 commandsライブラリリポジトリ 関数の実行をCommandクラスとして表現し、複数のCommandサブクラスを連続実行することにより、非同期通信の一元化を可能としたライブラリです。 ■使い方 ■Commandクラス まず基本的なCommandクラスの使い方は、引数にthisスコープ、関数参照、引数配列の3つを私。executeのコールで実行。 var myCommand:Command = new Command( null, trace, ["テストテスト"]); myCommand.execute(); といった感じで、登録した関数を実行します。またexecuteのタイミングで、Event.COMPLETEが呼ばれます。 ■AsyncCommandクラス 非同期通信用
Update 2008-05-02: This example was written using SSR v1 and RubyAMF 1.3.4, and does not currrently match what you get with the latest versions. I’ll be updating it shortly to reflect the changes against both SSR and RubyAMF. Update 2007-10-25: A quick AS2 example using the Rails controller detailed below can be found here. The RubyAMF blog recently linked to a good tutorial on using Flex, RubyAMF
GET, HEAD, PUT, POST, DELETE に対応したHTTP/HTTPS実装のAS3ライブラリ。 これはやばい。 as3httpclientlib - a better http-client in ActionScript by Gabe http://www.abdulqabiz.com/blog/archives/actionscript/as3httpclientlib_better_http_client.php An HTTP/HTTPS client library for Actionscript 3. http://code.google.com/p/as3httpclientlib/
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く