From: kramm Date: Wed, 17 Jan 2007 13:32:53 +0000 (+0000) Subject: fixed placeobject3 support X-Git-Tag: release-0-8-0~42 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=374001d59d71c2ac4d9e2503969e403393098710 fixed placeobject3 support --- diff --git a/lib/modules/swftools.c b/lib/modules/swftools.c index 63943c7..840573a 100644 --- a/lib/modules/swftools.c +++ b/lib/modules/swftools.c @@ -203,6 +203,12 @@ U16 swf_GetPlaceID(TAG * t) U16 d = swf_GetU16(t); id = (flags&PF_CHAR)?swf_GetU16(t):id; } break; + case ST_PLACEOBJECT3: + { U8 flags = swf_GetU8(t); + U8 flags2 = swf_GetU8(t); + U16 d = swf_GetU16(t); + id = (flags&PF_CHAR)?swf_GetU16(t):id; + } break; } @@ -330,6 +336,11 @@ int swf_GetDepth(TAG * t) { U8 flags = swf_GetU8(t); depth = swf_GetU16(t); } break; + case ST_PLACEOBJECT3: + { U8 flags = swf_GetU8(t); + U8 flags2 = swf_GetU8(t); + depth = swf_GetU16(t); + } break; case ST_SETTABINDEX: { depth = swf_GetU16(t); @@ -387,7 +398,7 @@ char* swf_GetName(TAG * t) swf_GetCXForm(t, &c, 1); if(flags&PF_RATIO) swf_GetU16(t); - if(flags&PF_CLIPACTION) + if(flags&PF_CLIPDEPTH) swf_GetU16(t); if(flags&PF_NAME) { swf_ResetReadBits(t);