X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Frfxswf.c;h=b540cf1b9b51ed5921063ab2947d37179ea160e8;hp=94346e4108354b67202b7273f4987c702dfecbbd;hb=0ca3fee4832ff2576e45a9cb1fbd6f47c74c3e56;hpb=a5046c215de78ea7079d6a6f74455ea82624d917 diff --git a/lib/rfxswf.c b/lib/rfxswf.c index 94346e4..b540cf1 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -1336,6 +1336,8 @@ int swf_WriteSWF2(writer_t*writer, SWF * swf) // Writes SWF to file, return if(swf->fileVersion >= 9) { TAG*tag = swf->firstTag; U32 flags = 0x08; // | 128 = usenetwork, | 16 = hasmetadata | 8 = actionscript3 + int has_version_8_action=0; + int has_version_9_action=0; while(tag) { /* FIXME: this doesn't find actionscript in buttons */ if(tag->id == ST_DOACTION || tag->id == ST_DOINITACTION)