Saqoosha

Flex Builder で Wonderfl 方法

Blog

週末の Wonderfl 大会に向けて Wonderfl ネタを書くの巻。

いやー、だってさー、ブラウザ標準のエディタで AS 書くとかもー、修業やん? コードヒント出ないとやる気ダダ下がりやん? つーわけで、これまでは Flex Builder でほぼ完成させてからコピペしてたんだけど、Dr.ll_koba_ll の人が素敵な Firefox Add-on を紹介してて。ただーし、Flex Builder、というか Eclipse はコマンドラインからファイル名渡して開くってのができないという驚くべき仕様でどうしたもんかなーっていろいろいじってたらできました。以下手順。あ、Mac でのお話しね。

1. It's All Text! を Firefox にインスコ。

2. Wonderfl いって適当なのを開くか Build from Scratch

3. コードエディタ部分で右クリック → It's All Text! → Edit with new extension... → .as って入れる → Save for future use にチェック入れる → OK。(次回からは、右クリック → It's All Text! → Edit as '.as' で OK。)

4. なんかテキストエディタ開くのでファイル名覚えとく。んで閉じる。(まー、おいといてもいいけど)

5. Flex Builder で適当な名前(Wonderfl とか)で ActionScript Project を作る。

6. いま作った Project の Properties の ActionScript Bulid Path の Source Path に "/Users/ユーザー名/Library/Application Support/Firefox/Profiles/なんかランダムな文字列/itsalltext" フォルダを追加する。

7. さっきデフォルトのテキストエディタで勝手に開いたファイルが Navigator に見えるので開く。

8. 書く → 保存 → Firefox のんが更新される → Compile → ウマ-!!

次回からはプロジェクトつくらなくても↑で作ったプロジェクトをそのまま使い回せばよろし。てきとうなタイミングで itsalltext フォルダの中身は削除しとかないとどれが今編集しようとしてるのかわからなくなる。

ファイル名がクラス名と一致しないから Flex Builder で Build することはできないんだけど、まー、そうだな、Wonderfl で Runtime Error が行番号付ででるようになってれば、ほとんど必要ないな。(-debug=true で compile してくれえばいいのかしら?)

追記)FDT でもできたってよー。

FLARToolKit + Away3D + WOW-Engine = AR Cloth Simulation

BlogFLARToolKit

Adobe MAX の準備をしています。チラ見せ。

Categories: FLARToolKit

Comments (16)

  • tera
    これで"チラ見せ"って、本番なんぼほどヒーヒー言わせるんですか!?
  • Saqoosha
    いや、そんな、、ww
  • [...] expérimentation anecdotique après le très célèbre petit monstre vert : “FLARToolKit + Away3D + WOW-Engine = AR Cloth Simulation” chez Saqoosha, le développeur de Flartoolkit qui présentait ses travaux à Max de Tokyo : [...]
  • れん
    ヒーヒー言わされに行きます。w
    結局Sparkのほうに引き戻されるように予約変更。
  • John
    Awesome!

    I'm waiting for this source! Do you have the source?

    I love FLAR and Away3d, but I can't to mix then.
  • Saqoosha
    Thanks John.
    I'll open the source code when the presentation is finished.
  • Peter K
    Really great work and we love your stuff! Keep up the cool ideas! Congrats from the Away3D Team!
  • Seraf
    ohayo,

    amazing use of wow-engine,
    i'm proud you use it.

    suge shigoto
    arigato gozaimasu.
  • Mike
    Really beatifull stuf! Great wow use!

    Can't wait for the source!


    Thanks Saqoosha!
  • [...] Saqooshaせんせーのあれが展示されていたよ。 [...]
  • Dinesh
    Saqoosha - you rock!!
  • Jos
    And wheres the code ?? this ROCKS !!!!
  • Saqoosha
    Jos,
    Cloth simulation demo is included following article:
    http://saqoosha.net/en/2009/02/02/1694/
    Of course, souce code is available.
  • Nick
    Hi Saqoosha,
    That's really cool man! It is brilliant! Where can we find the source code for it please? The link you provided says Page Not Found
  • Saqoosha
    sorry, that page has moved to http://saqoo.sh/a/en/1694
  • Nick
    Hi Saqoosha,
    I hope you are all well over there with the earthquakes, tsunamies and the nuclear plant problems.
    Thanks for the reply to the question above. I do have a bit of a problem and I was wondering if you could help me. I would like to reproduce the Cloth Simulation, just the cloth not the rest of the features of the demo, with another image. I don't seem to be able to figure out how although I have tried changing all references to that specific image. Could you please help me with that? Obviously credit will be given to you when the new work is completed.

    Many thanks.

来週の予定

Blog

あー、もう、ぜんぜん準備できてない。時間ないなあ。来週もう MAX なわけよー。チラ見せとかやめといたらよかったですーw そんな私の来週の予定。久しぶりのとーきょー。

1/28(水)
"To the MAX! - コミュニティー前夜祭"
来るひとー?

1/29(木)
Adobe MAX Japan 2009
- C-1 クリエイティブ・インスピレーション - New Works - Joshua Davis
- C-2 Adobe make some noise! Flash のサウンド最新情報 - Andre Michell
- E-3 エンタテイメントデザイン最前線 - 慶応大学大学院
- C-4 Beyond the Knowledge 〜 想像力が世界を変える - Erik Natzke
このへん。

1/30(金)
Adobe MAX Japan 2009
- A-5 映像とプログラミング - 中村勇吾
- A-6 [Flash] アイデアの実装:コントロールと最適化 - 城戸雅行
- B-7 ActionScript3.0 におけるパフォーマンス向上のヒント - 野中文雄
- D-8 コミッタ全員集合!? Spark project ライトニングトーク - Spark project
このへん。D-8 はしゃべる側。

1/31(土)
「ライト・[イン]サイト—拡張する光、変容する知覚」展
テオ・ヤンセン展 - 新しい命の形 -
とか行く。

ちょーどぼくが東京にいるらへんはまーたく卒展やってないっていうね。もー。IAMAS のんは行こう。