2016-08-29 20:32:56 +00:00
|
|
|
#[derive(Debug,PartialEq,Clone)]
|
|
|
|
pub enum TagCode {
|
|
|
|
End = 0,
|
|
|
|
ShowFrame = 1,
|
|
|
|
DefineShape = 2,
|
|
|
|
|
|
|
|
PlaceObject = 4,
|
|
|
|
RemoveObject = 5,
|
|
|
|
DefineBits = 6,
|
|
|
|
DefineButton = 7,
|
|
|
|
JpefTables = 8,
|
|
|
|
SetBackgroundColor = 9,
|
|
|
|
DefineFont = 10,
|
|
|
|
DefineText = 11,
|
|
|
|
DoAction = 12,
|
|
|
|
DefineFontInfo = 13,
|
|
|
|
DefineSound = 14,
|
|
|
|
StartSound = 15,
|
|
|
|
|
|
|
|
DefineButtonSound = 17,
|
|
|
|
SoundStreamHead = 18,
|
|
|
|
SoundStreamBlock = 19,
|
|
|
|
DefineBitsLossless = 20,
|
|
|
|
DefineBitsJpeg = 21,
|
|
|
|
DefineShape2 = 22,
|
|
|
|
DefineButtonCxform = 23,
|
|
|
|
Protect = 24,
|
|
|
|
|
|
|
|
PlaceObject2 = 26,
|
|
|
|
|
|
|
|
RemoveObject2 = 28,
|
|
|
|
|
|
|
|
DefineShape3 = 32,
|
|
|
|
DefineText2 = 33,
|
|
|
|
DefineButton2 = 34,
|
|
|
|
DefineBitsJpeg3 = 35,
|
|
|
|
DefineBitsLossless2 = 36,
|
|
|
|
DefineEditText = 37,
|
|
|
|
|
|
|
|
DefineSprite = 39,
|
|
|
|
|
|
|
|
FrameLabel = 43,
|
|
|
|
|
|
|
|
SoundStreamHead2 = 45,
|
|
|
|
DefineMorphShape = 46,
|
|
|
|
|
|
|
|
DefineFont2 = 48,
|
|
|
|
|
|
|
|
ExportAssets = 56,
|
|
|
|
ImportAssets = 57,
|
|
|
|
EnableDebugger = 58,
|
|
|
|
DoInitAction = 59,
|
|
|
|
DefineVideoStream = 60,
|
|
|
|
VideoFrame = 61,
|
|
|
|
DefineFontInfo2 = 62,
|
|
|
|
|
|
|
|
EnableDebugger2 = 64,
|
|
|
|
ScriptLimits = 65,
|
|
|
|
SetTabIndex = 66,
|
|
|
|
|
|
|
|
FileAttributes = 69,
|
|
|
|
|
|
|
|
PlaceObject3 = 70,
|
|
|
|
ImportAssets2 = 71,
|
|
|
|
|
|
|
|
DefineFontAlignZones = 73,
|
|
|
|
CsmTextSettings = 74,
|
|
|
|
DefineFont3 = 75,
|
|
|
|
SymbolClass = 76,
|
|
|
|
Metadata = 77,
|
|
|
|
DefineScalingGrid = 78,
|
|
|
|
|
|
|
|
DoAbc = 82,
|
|
|
|
DefineShape4 = 83,
|
|
|
|
DefineMorphShape2 = 84,
|
|
|
|
|
|
|
|
DefineSceneAndFrameLabelData = 86,
|
|
|
|
DefineBinaryData = 87,
|
|
|
|
DefineFontName = 88,
|
|
|
|
StartSound2 = 89,
|
|
|
|
DefineBitsJpeg4 = 90,
|
|
|
|
DefineFont4 = 91,
|
|
|
|
|
|
|
|
EnableTelemetry = 93,
|
|
|
|
}
|