SetBackgroundColor

FrameLabel

Protect

End

ExportAssets

ImportAssets

EnableDebugger

EnableDebugger2

ScriptLimits

SetTabIndex

FileAttributes

  • FileAttributes タグは SWF ファイルの特徴(characteristics)を定義する。
  • このタグは SWF 8 以降を要求し、SWF ファイルの初めのタグになければならない。
  • 加えて、FileAttributes タグは全ての SWF ファイルバージョンに於いて、それを含めるかどうか選択できる。
  • HasMetadata flag は SWF ファイルが Metadata tag を含んでいるかどうかを示す。
  • Flash Player はこのビットフィールドや関連するタグに気をかけない(does not care abount)が、サーチエンジンに有用である。
  • UseNetwork flag は SWF ファイルが手元にロードされている場合に、ローカル、又はネットワークの、どちらの SWF ファイルへのアクセスを認めるかを示す。 (意味が通らないので訳し直し)
  • The UseNetwork flag signifies whether Flash Player should grant the SWF file local or network file access if the SWF file is loaded locally.
  • デフォルトの振る舞いとしては、ローカルの SWF ファイルにのみ、ローカルファイルとのやり取りを認める。ネットワークのは認めない。 (意味が通らないので訳し直し)
  • The default behavior is to allow local SWF files to interact with local files only, and not with the network.
  • However, by setting the UseNetwork flag, the local SWF can forfeit its local file system access in exchange for access to the network.
  • Any version of SWF can use the UseNetwork flag to set the file access for locally loaded SWF files that are running in Flash Player 8 or later.

ImportAssets2

SymbolClass

Metadata

  • The Metadata tag is an optional tag to describe the SWF file to an external process.
  • Metadata tag は外部プロセスの為に SWF ファイルを記述するオプショナルな tag である。
  • このタグは SWF ファイルに XML metadata を組み込む。それは例えば、サーチエンジンがこのタグを特定して SWF のタイトルにアクセスし、サーチの結果にタイトルを表示できるようにする。
  • Flash Player はこの Metadata tag を常に無視する。
  • SWF ファイルにこの Metadata tag が含まれる場合、FileAttributes tag もまた、SWFファイルの中で HasMetadata flag をセットしなければならない。
  • その逆に、FileAttributes tag で HasMetadata flag がセットされているならば、SWF ファイルに Metadata tag が含まれなければならない。この Metadata tag は SWF ファイルに1つのみ存在できる。
  • Metadata のフォーマットは RDF で Adobe の Extensible Metadata Platform (XMP™) 仕様に準拠する。RDF と XML のより詳しい情報は以下のソースを見るように。
    • The RDF Primer: www.w3.org/TR/rdf-primer
    • The RDF Specification: www.w3.org/TR/1999/REC-rdf-syntax-19990222
    • The XMP home page: www.adobe.com/products/xmp
  • The following examples show two of many acceptable ways to represent the Metadata string in the SWF file.
  • The first example provides basic information about the SWF file, the title and description:

File not found: "" at page "Flash/SWF/spec/ControlTags";

rdf:RDF xmlns:rdf=’http://www.w3.org/1999/02/22-rdf-syntax-ns#’>

rdf:Description rdf:about=’’ xmlns:dc=’http://purl.org/dc/1.1’>

dc:title>Simple Title</dc:title>

dc:description>Simple Description</dc:description>

/rdf:Description>

/rdf:RDF> ); In the second example, the title is described for multiple languages:

#pre{

rdf:RDF xmlns:rdf=’http://www.w3.org/1999/02/22-rdf-syntax-ns#’>

rdf:Description rdf:about=’’ xmlns:dc=’http://purl.org/dc/1.1’>

dc:title>

rdf:Alt>

rdf:li xml:lang=’x-default’>Default Title</rdf:li>

rdf:li xml:lang=’en-us’>US English Title</rdf:li>

rdf:li xml:lang=’fr-fr’>Titre Français</rdf:li>

rdf:li xml:lang=’it-it’>Titolo Italiano</rdf:li>

/rdf:Alt>

/dc:title>

dc:description>Simple Description</dc:description>

/rdf:Description>

/rdf:RDF> };

  • The Metadata string is stored in the SWF file with all unnecessary white space removed.
  • The minimum file format version is SWF 1.
  • Metadata
    フィールドコメント
    HeaderRECORDHEADERTag type = 77
    MetadataSTRINGXML Metadata

DefineScalingGrid

DefineSceneAndFrameLabelData


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