X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfbutton.c;h=6a4ba4382c930a733a7d3893c7a1964a0f8ba8c4;hb=5a762d689ec34ff8320b37cc1945985d9a0a12b2;hp=4929c8c7f835ec16521beeffe43baf4aa8ae1056;hpb=e448c7a56df8e289c9dbd5b8d87753addd541091;p=swftools.git diff --git a/lib/modules/swfbutton.c b/lib/modules/swfbutton.c index 4929c8c..6a4ba43 100644 --- a/lib/modules/swfbutton.c +++ b/lib/modules/swfbutton.c @@ -17,7 +17,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); -// SetCXForm(t,cx,0); + if (swf_GetTagID(t)==ST_DEFINEBUTTON2) swf_SetCXForm(t,cx,0); return 0; } @@ -63,7 +63,7 @@ int swf_ButtonPostProcess(TAG * t,int anz_action) { swf_GetU16(t); // id swf_GetU16(t); // layer swf_GetMatrix(t,NULL); // matrix - // evtl.: CXForm + swf_GetCXForm(t,NULL,0);// CXForm } swf_SetButtonOffset(t,offsetpos);