X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=ce4307f2cb9581d28cbb6d88714e0b2e38ea8aa3;hb=c94d5959f51071041fe1a9802d5b021ecd4f6def;hp=ba4981ca427df71a4bdf0182e8c0492de726f2be;hpb=e446901145af708f42b82258322b15eeba17f932;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index ba4981c..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