2 * Copyright (C) 2003-2006 David Schleef <ds@schleef.org>
3 * 2005-2006 Eric Anholt <eric@anholt.net>
4 * 2006-2007 Benjamin Otte <otte@gnome.org>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301 USA
22 #ifndef __LIBSWFDEC_TAGS_H__
23 #define __LIBSWFDEC_TAGS_H__
27 SWFDEC_TAG_SHOWFRAME
= 1,
28 SWFDEC_TAG_DEFINESHAPE
= 2,
29 SWFDEC_TAG_FREECHARACTER
= 3,
30 SWFDEC_TAG_PLACEOBJECT
= 4,
31 SWFDEC_TAG_REMOVEOBJECT
= 5,
32 SWFDEC_TAG_DEFINEBITSJPEG
= 6,
33 SWFDEC_TAG_DEFINEBUTTON
= 7,
34 SWFDEC_TAG_JPEGTABLES
= 8,
35 SWFDEC_TAG_SETBACKGROUNDCOLOR
= 9,
36 SWFDEC_TAG_DEFINEFONT
= 10,
37 SWFDEC_TAG_DEFINETEXT
= 11,
38 SWFDEC_TAG_DOACTION
= 12,
39 SWFDEC_TAG_DEFINEFONTINFO
= 13,
40 SWFDEC_TAG_DEFINESOUND
= 14, /* Event sound tags. */
41 SWFDEC_TAG_STARTSOUND
= 15,
42 SWFDEC_TAG_DEFINEBUTTONSOUND
= 17,
43 SWFDEC_TAG_SOUNDSTREAMHEAD
= 18,
44 SWFDEC_TAG_SOUNDSTREAMBLOCK
= 19,
45 SWFDEC_TAG_DEFINEBITSLOSSLESS
= 20, /* A bitmap using lossless zlib compression. */
46 SWFDEC_TAG_DEFINEBITSJPEG2
= 21, /* A bitmap using an internal JPEG compression table. */
47 SWFDEC_TAG_DEFINESHAPE2
= 22,
48 SWFDEC_TAG_DEFINEBUTTONCXFORM
= 23,
49 SWFDEC_TAG_PROTECT
= 24, /* This file should not be importable for editing. */
50 SWFDEC_TAG_PLACEOBJECT2
= 26, /* The new style place w/ alpha color transform and name. */
51 SWFDEC_TAG_REMOVEOBJECT2
= 28, /* A more compact remove object that omits the character tag (just depth). */
52 SWFDEC_TAG_DEFINESHAPE3
= 32, /* A shape V3 includes alpha values. */
53 SWFDEC_TAG_DEFINETEXT2
= 33, /* A text V2 includes alpha values. */
54 SWFDEC_TAG_DEFINEBUTTON2
= 34, /* A button V2 includes color transform, alpha and multiple actions */
55 SWFDEC_TAG_DEFINEBITSJPEG3
= 35, /* A JPEG bitmap with alpha info. */
56 SWFDEC_TAG_DEFINEBITSLOSSLESS2
= 36, /* A lossless bitmap with alpha info. */
57 SWFDEC_TAG_DEFINEEDITTEXT
= 37,
58 SWFDEC_TAG_DEFINEMOVIE
= 38,
59 SWFDEC_TAG_DEFINESPRITE
= 39, /* Define a sequence of tags that describe the behavior of a sprite. */
60 SWFDEC_TAG_NAMECHARACTER
= 40, /* Name a character definition, character id and a string, (used for buttons, bitmaps, sprites and sounds). */
61 SWFDEC_TAG_SERIALNUMBER
= 41,
62 SWFDEC_TAG_GENERATORTEXT
= 42, /* contains an id */
63 SWFDEC_TAG_FRAMELABEL
= 43, /* A string label for the current frame. */
64 SWFDEC_TAG_SOUNDSTREAMHEAD2
= 45, /* For lossless streaming sound, should not have needed this... */
65 SWFDEC_TAG_DEFINEMORPHSHAPE
= 46, /* A morph shape definition */
66 SWFDEC_TAG_DEFINEFONT2
= 48,
67 SWFDEC_TAG_TEMPLATECOMMAND
= 49,
68 SWFDEC_TAG_GENERATOR3
= 51,
69 SWFDEC_TAG_EXTERNALFONT
= 52,
70 SWFDEC_TAG_EXPORTASSETS
= 56,
71 SWFDEC_TAG_IMPORTASSETS
= 57,
72 SWFDEC_TAG_ENABLEDEBUGGER
= 58,
73 SWFDEC_TAG_DOINITACTION
= 59,
74 SWFDEC_TAG_DEFINEVIDEOSTREAM
= 60,
75 SWFDEC_TAG_VIDEOFRAME
= 61,
76 SWFDEC_TAG_DEFINEFONTINFO2
= 62,
77 SWFDEC_TAG_MX4
= 63, /*(?) */
78 SWFDEC_TAG_ENABLEDEBUGGER2
= 64,
79 SWFDEC_TAG_SCRIPTLIMITS
= 65,
80 SWFDEC_TAG_SETTABINDEX
= 66,
81 SWFDEC_TAG_FILEATTRIBUTES
= 69,
82 SWFDEC_TAG_PLACEOBJECT3
= 70,
83 SWFDEC_TAG_IMPORTASSETS2
= 71,
84 SWFDEC_TAG_DEFINEFONTALIGNZONES
= 73,
85 SWFDEC_TAG_CSMTEXTSETTINGS
= 74,
86 SWFDEC_TAG_DEFINEFONT3
= 75,
87 SWFDEC_TAG_AVM2DECL
= 76,
88 SWFDEC_TAG_METADATA
= 77,
89 SWFDEC_TAG_DEFINESCALINGGRID
= 78,
90 SWFDEC_TAG_AVM2ACTION
= 82,
91 SWFDEC_TAG_DEFINESHAPE4
= 83,
92 SWFDEC_TAG_DEFINEMORPHSHAPE2
= 84