X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=ce4307f2cb9581d28cbb6d88714e0b2e38ea8aa3;hb=c94d5959f51071041fe1a9802d5b021ecd4f6def;hp=1994854708f397409f53fd8914bf40d985cfeb8f;hpb=ec424e44ccbd7d6773d01feb8adcd327a5636446;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 1994854..ce4307f 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -148,6 +148,9 @@ typedef struct _SOUNDINFO U32* right; } SOUNDINFO; +#define FILEATTRIBUTE_USENETWORK 1 +#define FILEATTRIBUTE_AS3 8 +#define FILEATTRIBUTE_SYMBOLCLASS 16 typedef struct _SWF { U8 fileVersion; U8 compressed; // SWF or SWC? @@ -161,6 +164,7 @@ typedef struct _SWF // Basic Functions +SWF* swf_OpenSWF(char*filename); int swf_ReadSWF2(reader_t*reader, SWF * swf); // Reads SWF via callback int swf_ReadSWF(int handle,SWF * swf); // Reads SWF to memory (malloc'ed), returns length or <0 if fails int swf_WriteSWF2(writer_t*writer, SWF * swf); // Writes SWF via callback, returns length or <0 if fails @@ -748,6 +752,7 @@ void swf_WriteABC(TAG*tag, void*code); void swf_FreeABC(void*code); void swf_AddButtonLinks(SWF*swf, char stop_each_frame, char events); TAG*swf_AddAS3FontDefine(TAG*tag, U16 id, char*fontname); +#include "as3/compiler.h" // swfaction.c