- 追加された行はこの色です。
- 削除された行はこの色です。
- Flash へ行く。
* 各バージョンの違い [#zf7157a6]
| Flash | Flash Lite | Flex | Flash Player | ActonScript |h
| Flash 4 | Flash Lite 1.0/[[1.1:http://www.adobe.com/jp/products/flashlite/productinfo/features/flashlite_1_1.html]] | - | Flash Player 4 | ActionScript 1 |
| Flash 5 | - | - | Flash Player 5 | ActionScript 1 |
| Flash MX | - | - | Flash Player 6 | ActionScript 1 |
| Flash MX 2004 | Flash Lite [[2:http://www.adobe.com/jp/products/flashlite/]] | - | Flash Player 7 | ActionScript 2 |
| Flash 8 | - | Flex 1 | Flash Player 8 | ActionScript 2 |
| Flash 9 | - | Flex 2 | Flash Player 9 | ActionScript 3 |
* Flash関係のファイル [#z2e2c076]
| 拡張子 | 説明 |
| as | 外部ActionScriptファイル |
| act | カラーテーブルファイル |
| clr | Flashカラーセットファイル |
| fla | Flashドキュメントファイル |
| flp | Flashプロジェクトファイル |
| swf | Flashムービーファイル |
* Flash活用例 [#e28c4e79]
-[[Flashのオーバーレイ表示:http://www.muraken.biz/overlay/overlayflash.html]]
* リエンジニアリング [#ofd1153a]
** [[Flare:http://www.nowrap.de/flare.html]] [#j9fa4d3a]
-swfからactionscriptソースを抽出
-[[恐ろしい… swfからactionscriptソースを抽出するツールと使い方。:http://tech.kimihiko.jp/article/4885575.html]]
--[[ソースを見てActionScriptの勉強「Flare」:http://www.moongift.jp/r/2007/07/flare/]]
** [[HugFlash:http://www.forest.impress.co.jp/lib/pic/video/flash/hugflash.html]] [#n8750e34]
-Flashから素材ファイルを抽出
-[[HugFlash:http://www.moongift.jp/2006/07/2027/]]
* 開発用フレームワーク [#e177a8bf]
** [[Progression:http://progression.jp/ja/]] [#l1dea10c]
* 開発言語 [#o15da208]
** Java [#raddb41d]
-[[Java技術者がフロントにFlashを選択した理由とは?:http://www.atmarkit.co.jp/fjava/kaisetsu/j2eewatch10/j2eewatch10_1.html]]
** PHP [#z8863f7b]
-[[Flash 用 Ming 関数:http://php.mirror.camelnetwork.com/manual/ja/ref.ming.php]]
-[[PHPとMingで作るFlashサーバー:http://codezine.jp/a/article/aid/706.aspx]]
-[[Flash + PHP:http://www.zend.co.jp/tech/index.php?cmd=read&page=Web%B5%BB%BD%D1%2FFlash%20%2B%20PHP]]
-[[Flash(ActionScript)とPHPの連携入門:http://ponk.jp/flash_php/index.php]]
-[[PHP/ming Examples MENU:http://redhot.pepper.jp/ming_php/]]
-[[gazb:http://www.gazbming.com/]]
-[[Ming - a SWF output library and PHP module:http://ming.sourceforge.net/]]
-[[MingでFlash:http://www.flat7th.org/~keizo/wiki/index.php?site_id=&page=%2B+Ming%e3%81%a7Flash]]
-[[perlでMing:http://www.lr.pi.titech.ac.jp/~abekawa/perl/perl_ming.html]]
-[[Foundation PHP 5 For Flash:http://www.amazon.co.jp/Foundation-PHP-5-Flash/dp/1590594665]]
-[[ActionScript + PHP:http://park18.wakwak.com/~little-box/actionscript/flash11.htm]]
*** Ming を使う [#yca10330]
- [[Ming:http://ming.sourceforge.net/]]をインストール
$ ./configure
$ make
$ sudo make install
- PHPの再インストール。./configure 時に下記オプションを付ける。
--with-ming=/usr/local
- php.ini に下記を追記
extension=php_ming.so
- Apache を再起動
*** ttf2fft [#c7b8a2fc]
以下はMac OS X でやりました。
$ tar xvfz freetype-2.1.10.tar.gz
$ cd freetype-2.1.10/
$ ./configure
$ make
$ sudo make install
$ cd ..
$ tar xvfz ttf2fft.tar.gz
$ cd ttf2fft/
$ g++ -o ttf2fft *.cxx -I../freetype-2.1.10/include -I../freetype-2.1.10/include/freetype -L../freetype-2.1.10/objs/.libs -lfreetype -lm -lstdc++
$ chmod 755 ttf2fft
$ sudo cp ttf2fft /usr/local/bin
-[[参考にしたサイト (1):http://kumamushi.org/~k/ming/]]
-[[参考にしたサイト (2):http://www.opaque.net/wiki/index.php?ttf2fft]]
-[[日本語TTFフリーフォント for X11:http://ayapin.film.s.dendai.ac.jp/~matuda/jttf.html]]
-[[VLゴシック:http://dicey.org/vlgothic/]]
*** Ming用のフォントを作る [#q555a33d]
- charmap を調べる
$ ttf2fft -l mikachan.ttf
There is 1 face in this file.
----- Face number: 0 -----
family: mikachan
style: Regular
charmaps:
0: platform: Macintosh, encoding: Roman
1: platform: Microsoft, encoding: Unicode
- ttf2fft の -e オプションの引数に Unicodeマッピングの番号を与えて実行
$ ttf2fft -e 1 mikachan.ttf
$ makefdb mikachan.fft
*** SWFCharacterクラスとは? [#bf577d6a]
-SWFFontCharacter
-SWFPrebuiltClip
-SWFShape
-SWFSprite
-SWFMorph
-SWFText
-SWFTextField
-SWFButton
** Ruby [#b42d8d24]
-[[RubyAMF:http://www.moongift.jp/2007/08/rubyamf/]]
-[[Blogplot - Ming/Ruby で Flash形式のグラフをいろいろ作る:http://0xcc.net/pub/bloghacks/blogplot.html]]
-[[Ming/Ruby いじり:http://kumamushi.org/~k/ming/]]
-[[Ming - a SWF output library and PHP module:http://ming.sourceforge.net/]]
-[[UNIXだってFLASHムービーを作りたい:http://www.ohnolab.org/~kimoto/flash/]]
* Flash on SSL [#h146ed0a]
[[Flex 2 アプリケーションの構築とデプロイ > 構築とデプロイの概要 > Flex セキュリティの適用 > SSL の使用:http://livedocs.adobe.com/flex/2_jp/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001356.html]]で下記の記述がある。
ブラウザ内で動作する SWF ファイルでは、サーバーとの通信はほぼすべてブラウザを利用して行うため、ブラウザに組み込まれている SSL サポートを利用できます。これにより、SWF ファイルとサーバー間の通信が暗号化されます。さらに、SWF ファイル自体がブラウザにロードされる間のバイトデータも暗号化されます。つまり、サーバーとの HTTPS 接続を経由して SSL 対応のブラウザ内で SWF ファイルを再生することで、Flash Player とサーバーの間の通信を確実に暗号化し、保護することができます。
ただし、Flash Player で永続的なソケット (ActionScript XMLSocket オブジェクトによる) を使用する場合はこのセキュリティの例外です。この場合、サーバーとの通信にブラウザは利用されません。そのため、ブラウザに組み込まれている暗号化機能を SWF ファイルで利用できません。ただし、ActionScript で記述された一方向暗号化アルゴリズムを使用すれば、通信データを暗号化できます。
MD5 は、RFC 1321 に記載されている一方向暗号化アルゴリズムです。このアルゴリズムは ActionScript に移植されているので、開発者は SWF ファイルからサーバーへの送信前に MD5 アルゴリズムを使用して一方向データを保護できます。RFC 1321 の詳細については、www.faqs.org/rfcs/rfc1321.html または www.rsasecurity.com/rsalabs/faq/3-6-6.html を参照してください。
その他情報:
-[[Flash + SSL:http://www.neetranger.com/red/2006/12/flash_ssl.html]]
* ツール [#gc56138f]
-[[Open Source Flash Projects:http://osflash.org/open_source_flash_projects]]
-[[Motion-Twin ActionScript 2 Compiler(MTASC):http://www.mtasc.org/]] ... ActionScript 2 Open Source free compiler
-[[Rebol/Flash:http://sweb.cz/oliva.david/swf/]]
-[[ParaFla:http://www.geocities.jp/coa9999/parafla.html]] ... スライドショー程度ならすぐ作れる
--[[FLASH作成フリーソフトを使ってみる:http://lcl.web5.jp/prog/flashtest.html]]
* Tips [#ec6c635a]
** ドメインをまたいで通信する [#ld71dd93]
参照先サーバーのドキュメントルートディレクトリに crossdomain.xml(下記参照)を置く
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="外部ファイルを読み込む方のドメイン" />
</cross-domain-policy>
ドメインの指定の仕方は
-完全なドメイン名 (例:www.mysite.com )
-IP アドレス (例:12.34.56.78 )
-ワイルドカードを使用したドメイン名 (例:*.mysite.com )
-完全なワイルドカード:* (アスタリスクひとつ) ... この場合、すべてのドメイン、および IP アドレスからのアクセスが許可される
* リンク集 [#wdc9ed59]
-[[AdobeのFlash担当者に訊く - Flash Player 9とActionScript 3.0何が変わる?:http://journal.mycom.co.jp/articles/2006/06/20/flash/]]
-[[Flash Professional 9 ActionScript 3.0 Preview:http://f-site.org/articles/2006/06/29092221.html]]
-[[FlashPlayer 9&Flash Professional 9 ActionScript 3.0 Preview&Flex2リリース:http://www.onflow.jp/blog/archives/2006/06/flashplayer_9fl.html]]
-[[KDDI au - Flashlコンテンツ:http://www.au.kddi.com/ezfactory/mm/flash01.html]]
-[[ActionScript 3.0 ゲームプログラミング:http://book.mycom.co.jp/support/e2/as3/]]
-[[FLASH ActionScript Handbook 4th edition サンプルソース:http://isbn.sbcr.jp/34312]]
-[[Flash for Mobile サポートサイト:http://www.9-ten.co.jp/bookdata/1426.php]]
-[[Flash サンプル:http://playon.jp/]]
-[[やってみたいな〜、と気の向くままに:http://redhot.pepper.jp/swf/todo.html]]
-[[オープンソースを使ったFlashの開発:http://www.noridon.net/weblogs/archives/2006/01/flash_3.html]]
-[[FAMESでActionScriptのオープンソース開発環境をOSX Tigerに:http://www.minfish.jp/blog/archives/2005/09/famesactionscri.html]]
-[[FLASH-jpフォーラム:http://www.flash-jp.com/]]
-[[trick7.com blog:http://www.trick7.com/blog/action_script/]]
-[[nod::ぶろぐ::RIA::Flash/Flex/Ajax:http://www.noridon.net/weblogs/]]