Introduction

  • SWF ("swiff" と発音) ファイルフォーマットはインターネット上でベクター画像/ビデオ/音声を運ぶものである。
  • 運ぶものであって、画像エディターで画像をやり取りするものではない。
  • 以下の目標をもって設計されている
  • On-screen display
    • このフォーマットが主に意図しているのは、スクリーンへの描画であり、アンチエイリアシングや、任意の色のビットマップ・フォーマットを高速でレンダリングする事、また、アニメーションやインタラクティブなボタンをサポートする事である。
  • Extensibility (拡張性)
    • タグ・フォーマットの為、新しい機能で拡張する際にも、古いバージョンの Flash Player に対して後方互換性を保つ事が出来る。
  • Network delivery (ネットワーク伝達)
    • このフォーマットは、限られた帯域で帯域予約もないネットワーク上を伝送できる。
    • このファイルは圧縮で小さくでき、かつ、ストリーミングを通してインクリメンタル(訳注: 先頭から読まれた順に処理)にレンダリングできる。
    • SWF ファイルフォーマットはバイナリフォーマットであり、HTML のような人が読めるもの(human readable)ではない。
    • SWF ファイルフォーマットは、bit-packing や optional fields といった技術を用いて、ファイルサイズを最小化している
  • Simplicity (簡易性)
    • フォーマットがシンプルな為、Flash Player は小さく移植も容易。
    • その上、Flash Player が依存する OS の機能は限られる。
  • File independence
    • このファイルは、フォントのような外部リソースへの依存を最小限にする。
  • Scalability
    • このファイルは制限されたハードウェアでよく働き、より良いハードウェアでは、その利点を得る事が出来る。
    • この能力が重要なのは、コンピュータは異なるモニター解像度やビット深度を持つから。
  • Speed
    • SWF ファイルのレンダーによって素早くグラフィックが描画される。
  • Scriptability
    • このフォーマットは、スタックマシーンで解釈できるバイトコード列を供給するタグを含む。
    • このバイトコードは、ActionScript(R) 言語をサポートする。
    • Flash Player provides a runtime ActionScript object model that allows interaction with drawing primitives, servers, and features of Flash Player.
  • SWF ファイルは .swf の拡張子と、application/x-shockwave-flash の MIME type を持つ。
  • SWF フォーマットは幾つものバージョンを通して発展している。
    • Through SWF 5, substantial additions were made to the SWF tag set.
    • SWF 5 に至るまでに、SWF tag set に多くの追加がなされた。
    • SWF 6 からは、SWF フォーマットの変化は少なく、新しい機能として ACtionScript レベルでの一部、又は全部の実装がなされている。
    • SWF 9 からは、ActionScript Virtual Machine 2 (AVM2) を使う ActionScript 3.0 language が利用できるようになった。
  • Anyone planning to generate SWF file content that uses newer features should become familiar with the ActionScript object model that Flash Player exposes.
  • Some references for this information are Programming ActionScript 3.0 (see www.adobe.com/go/learn_fl_cs4_programmingAS3_en), ActionScript 3.0 Language Reference (see www.adobe.com/go/learn_flashcs4_langref_en), and the Adobe ActionScript Virtual Machine 2 Overview (PDF file) at www.adobe.com/go/avm2overview.
  • Adobe seriously considers all feedback to the SWF file format specification.
  • E-mail any unclear or potentially erroneous information within the specification to Adobe at flashformat@adobe.com.
  • All such email submissions shall be subject to the Submitted Materials guidelines in the Terms of Use at www.adobe.com/misc/copyright.html.

What’s new in SWF 10


Reload   Diff   Front page List of pages Search Recent changes Backup Referer   Help   RSS of recent changes