クリックしたら飛び散るマーカー(Flash CS3/4編)

Either scripts and active content are not permitted to run or Adobe Flash Player version 10.0.0 or greater is not installed.

Get Adobe Flash Player

Google Maps API for Flashでは、Flashのタイムラインアニメーションを活かしたマーカーを作成することができます。
まず、アニメーションとして動かしたいオブジェクト(キャラクターなど)をMovieClipとして作成します。
MovieClipはDisplayObjectを継承しているので、それをMarkerOptions.icon に設定することができます。


ソースコードのダウンロード marker-animation_flash_cs3.zip
サイト内検索
Maps APIの本を書きました
Google Maps APIプログラミング入門
全480ページ。Google Maps API ver.2, ver.3, for Flash, Static Maps API v2, Google Maps API Primery, ライセンス…など、Google Maps APIに関連する幅広い内容の本を書きました。
このサイトで公開しているサンプルはもちろん、本のために作ったサンプルも満載です。
詳しくはこちら

Google Maps Designer
Google Maps Designer