首页 > Computer > swf中tag整理

swf中tag整理

swf文件格式是基于tag的,每个tag之间独立,只有引用与被引用的关系。软件在处理swf文件时,遇见不认识的tag,可以跳过处理。

截止swf 10为止,tag共有以下种类,其中有些tag已经被废弃不用。已经标出。

tagEnd = 0;
tagShowFrame = 1;
tagDefineShape = 2;
tagFreeCharacter =3;
tagPlaceObject = 4;
tagRemoveObject = 5;
tagDefineBits = 6;
tagDefineButton = 7;
tagJPEGTables = 8;
tagSetBackgroundColor = 9;
tagDefineFont = 10;
tagDefineText = 11;
tagDoAction = 12;
tagDefineFontInfo = 13;
tagDefineSound = 14;
tagStartSound = 15;
tagStopSound =16;
tagDefineButtonSound = 17;
tagSoundStreamHead = 18;
tagSoundStreamBlock = 19;
tagDefineBitsLossless = 20;
tagDefineBitsJPEG2 = 21;
tagDefineShape2 = 22;
tagDefineButtonCxform = 23;
tagProtect = 24;
tagPathsArePostScript = 25;
tagPlaceObject2 = 26;
tagRemoveObject2 = 28;
tagDefineShape3 = 32;
tagDefineText2 = 33;
tagDefineButton2 = 34;
tagDefineBitsJPEG3 = 35;
tagDefineBitsLossless2 = 36;
tagDefineEditText = 37;
// tagDefineVideo = 38;
tagDefineSprite = 39;
tagNameCharacter = 40;
tagProductInfo = 41; // non officially
tagFrameLabel = 43;
tagSoundStreamHead2 = 45;
tagDefineMorphShape = 46;
tagDefineFont2 = 48;
tagExportAssets = 56;
tagImportAssets = 57;
tagEnableDebugger = 58;
tagDoInitAction = 59;
tagDefineVideoStream = 60;
tagVideoFrame = 61;
tagDefineFontInfo2 = 62;
tagExtDebuggerInfo = 63;
tagEnableDebugger2 = 64;
tagScriptLimits = 65;
tagSetTabIndex = 66;
//tagDefineShape4 = 67; // use 83
tagFileAttributes = 69;
tagPlaceObject3 = 70;
tagImportAssets2 = 71;
tagDoABC = 72;
tagDefineFontAlignZones = 73;
tagCSMTextSettings = 74;
tagDefineFont3 = 75;
tagSymbolClass = 76;
tagMetadata = 77;
tagDefineScalingGrid = 78;
tagDoABC2 = 82;
tagDefineShape4 = 83;
tagDefineMorphShape2 = 84;
tagDefineSceneAndFrameLabelData = 86;
tagDefineBinaryData = 87;
tagDefineFontName = 88;
tagStartSound2 = 89;
tagDefineBitsJPEG4 = 90;
tagDefineFont4 = 91; 

分类: Computer 标签: , ,
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.

:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!: