Introduction

  • SWF ファイルフォーマットはインターネット上でベクター画像/ビデオ/音声を運ぶもの。
  • 運ぶものであって、画像エディターで画像をやり取りするものではない。
  • 以下の目標をもって設計されている
  • On-screen display
    • The format is primarily intended for on-screen display and supports anti-aliasing, fast rendering to a bitmap of any color format, animation, and interactive buttons.
  • Extensibility (拡張性)
  • タグ・フォーマットの為、新しい機能に対して拡張する際にも、古いバージョンの Flash Player に対して後方互換性を保つ事が出来る。
  • Network delivery (ネットワーク伝達)
    • このフォーマットは、限られた帯域で帯域予約もないネットワークを介して伝送できる。
    • このファイルは圧縮で小さくでき、かつ、ストリーミングを通してインクリメンタル(訳注: 先頭から読まれた順番に)にレンダリングできる。
    • SWF ファイルフォーマットはバイナリフォーマットであり、HTML のような人が読めるもの(human readable)ではない。
    • SWF ファイルフォーマットは、bit-packing や optional fields といった技術を用いて、ファイルサイズを最小化している
  • Simplicity (簡易性)
    • フォーマットがシンプルな為、Flash Player は小さく移植も易しい。
    • その上、Flash Player が依存する OS の機能は限られたものとなる。
  • File independence
    • The files display with minimal dependence on external resources such as fonts.
  • Scalability
    • The files work well on limited hardware, and can take advantage of better hardware when it is available.
    • This ability is important because computers have different monitor resolutions and bit depths.
  • Speed
    • The graphics described by SWF files render quickly.
  • 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