git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
font colour changes
[swftools.git]
/
lib
/
modules
/
swfbutton.c
diff --git
a/lib/modules/swfbutton.c
b/lib/modules/swfbutton.c
index
4929c8c
..
cd9f464
100644
(file)
--- 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);
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;
}
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
{ 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);
}
swf_SetButtonOffset(t,offsetpos);
@@
-76,7
+76,7
@@
int swf_ButtonPostProcess(TAG * t,int anz_action)
swf_GetU16(t); // condition
swf_GetU16(t); // condition
- while (a=swf_GetU8(t)) // skip action records
+ while ((a=swf_GetU8(t))) // skip action records
{ if (a&0x80)
{ U16 l = swf_GetU16(t);
swf_GetBlock(t,NULL,l);
{ if (a&0x80)
{ U16 l = swf_GetU16(t);
swf_GetBlock(t,NULL,l);