foss4g lt - invitation to actionscript programming
TRANSCRIPT
![Page 1: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/1.jpg)
はてな/ついったー id = gyuque
ActionScript Programmingへの誘い
FOSS4G 2008 TOKYO
![Page 2: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/2.jpg)
Shibuya.js紹介
http://shibuyajs.org/“Rediscover the JavaScript”
日本のJavascriptプログラマーのコミュニティ
活動内容:
不定期にテクニカルトークを開催メーリングリストで情報交換主に東京で活動。ただし、渋谷で活動したことはない。
![Page 3: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/3.jpg)
Shibuya.js メンバー作品紹介
「JSにできること、ひとつずつ叶えたい!」
Orto by 小林氏
HotRuby by 小林氏
JavaScript-XPath by 天野氏
JSplash (拙作)
JavaScript で JavaVMを実装
JavaScript で Ruby処理系 を実装
JavaScript で XPath処理系 を実装
JavaScript で FlashPlayerエミュレータ を実装
![Page 4: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/4.jpg)
Javascriptプログラミングと言えば
Google Maps API !ですが、
![Page 5: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/5.jpg)
Google Maps API for Flash
Flash ムービーの制御用言語Javascript の兄弟のようなものJavascript を書いたことがある人ならすぐ習得できる
通常の Google Maps API Javascript で操作する
Google Maps API for Flash Actionscript で操作する
ActionScriptとは?
“Flashムービーの中で使えるGoogle Maps API”
![Page 6: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/6.jpg)
(先に)デメリット
新たに言語を覚える必要がある
コンパイラをインストールする必要がある
一言でいえば(JS版より)敷居が高い
![Page 7: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/7.jpg)
何が嬉しいのか?
表現力はJS版より格段に上
アニメーション・動画を扱う
三次元の表示
時+空間
![Page 8: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/8.jpg)
デ モGmapkmz
![Page 9: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/9.jpg)
通常の「Google 3Dギャラリー」
![Page 10: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/10.jpg)
Gmapkmzを有効にすると…
![Page 11: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/11.jpg)
Google Maps上にオーバーレイ視点変更
![Page 12: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/12.jpg)
![Page 13: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/13.jpg)
Gmapkmzの仕組み
ProxyServer
書き換え
Flash
Google のサーバにあるかのように見せる
クロスドメイン制限回避
![Page 14: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/14.jpg)
まとめ
ActionScriptをはじめようJavaScriptでトリッキーなプログラムを書くより、
Flashで「サクッ」と終わらせよう
キーワード: ActionScript Flex SDK
![Page 15: FOSS4G LT - Invitation to ActionScript Programming](https://reader033.vdocument.in/reader033/viewer/2022060119/558ca210d8b42ac0318b45b8/html5/thumbnails/15.jpg)
使用ツール等 (すべて無償)
Google Maps API for Flash
CocProxy (by cho45)
Adobe Flex3 SDK
Gmapkmz (自作/このデモのコード)
http://code.google.com/apis/maps/documentation/flash/
http://www.adobe.com/jp/products/flex/
http://coderepos.org/share/wiki/CocProxy
http://coderepos.org/share/browser/lang/actionscript/gmapkmz/