RGBA rgba[8];
} GRADIENT;
+typedef struct _FILTER
+{
+ U8 type;
+} FILTER;
+typedef struct _FILTERLIST
+{
+ int num;
+ FILTER*filter;
+} FILTERLIST;
+
typedef struct _TAG // NEVER access a Tag-Struct directly !
{ U16 id;
U8 * data;
#define ST_VIDEOFRAME 61
#define ST_DEFINEFONTINFO2 62
#define ST_MX4 63 /*(?) */
+#define ST_ENABLEDEBUGGER2 64 /* version 8 */
#define ST_SCRIPTLIMITS 65 /* version 7- u16 maxrecursedepth, u16 scripttimeoutseconds */
#define ST_SETTABINDEX 66 /* version 7- u16 depth(!), u16 tab order value */
+#define ST_FILEATTRIBUTES 69 /* version 8 (required)- */
+#define ST_PLACEOBJECT3 70 /* version 8 */
+#define ST_IMPORTASSETS2 71 /* version 8 */
+#define ST_DEFINEFONTALIGNZONES 73 /* version 8 */
+#define ST_CSMTEXTSETTINGS 74 /* version 8 */
+#define ST_DEFINEFONT3 75 /* version 8 */
+#define ST_METADATA 77 /* version 8 */
+#define ST_DEFINESCALINGGRID 78 /* version 8 */
+#define ST_DEFINESHAPE4 83 /* version 8 */
/* custom tags- only valid for swftools */
#define ST_REFLEX 777 /* to identify generator software */
// The following 3 routines only use placeobject2:
+extern char*blendModeNames[];
+
int swf_ObjectPlace(TAG * t,U16 id,U16 depth,MATRIX * m,CXFORM * cx,U8 * name);
int swf_ObjectPlaceClip(TAG * t,U16 id,U16 depth,MATRIX * m,CXFORM * cx,U8 * name, U16 clipaction);
+int swf_ObjectPlaceBlend(TAG * t,U16 id,U16 depth,MATRIX * m,CXFORM * cx,U8 * name, U8 blendmode);
int swf_ObjectMove(TAG * t,U16 depth,MATRIX * m,CXFORM * cx);
typedef struct _SWFPLACEOBJECT {
U8*name;
U16 clipdepth;
ActionTAG* actions;
+ U8 blendmode;
+ FILTERLIST*filters;
} SWFPLACEOBJECT;
void swf_SetPlaceObject(TAG * t,SWFPLACEOBJECT* obj);