From: kramm Date: Fri, 7 May 2004 16:37:06 +0000 (+0000) Subject: fix: definebutton2 has an alpha cxform. X-Git-Tag: release-0-6-0~234 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=3e61040c568974514196f1927be48978e46d1058 fix: definebutton2 has an alpha cxform. --- diff --git a/lib/modules/swfbutton.c b/lib/modules/swfbutton.c index 4f2b90f..9a4cc39 100644 --- a/lib/modules/swfbutton.c +++ b/lib/modules/swfbutton.c @@ -27,7 +27,7 @@ int swf_ButtonSetRecord(TAG * t,U8 state,U16 id,U16 layer,MATRIX * m,CXFORM * cx swf_SetU16(t,id); swf_SetU16(t,layer); swf_SetMatrix(t,m); - if (swf_GetTagID(t)==ST_DEFINEBUTTON2) swf_SetCXForm(t,cx,0); + if (swf_GetTagID(t)==ST_DEFINEBUTTON2) swf_SetCXForm(t,cx,1); return 0; } @@ -73,7 +73,7 @@ int swf_ButtonPostProcess(TAG * t,int anz_action) { swf_GetU16(t); // id swf_GetU16(t); // layer swf_GetMatrix(t,NULL); // matrix - swf_GetCXForm(t,NULL,0);// CXForm + swf_GetCXForm(t,NULL,1);// CXForm } swf_SetButtonOffset(t,offsetpos);