From: kramm Date: Thu, 21 Aug 2008 19:00:54 +0000 (+0000) Subject: fixed avm3 detection X-Git-Tag: buttons-working~52 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=0ca3fee4832ff2576e45a9cb1fbd6f47c74c3e56 fixed avm3 detection --- 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)