case ST_DEFINEBUTTONSOUND: {
int t;
callback(tag, tag->pos + base, callback_data);
+ swf_GetU16(tag); //button id
for(t=0;t<4;t++) {
int flags;
callback(tag, tag->pos + base, callback_data);
- swf_GetU16(tag); //sound id
+ U16 sound_id = swf_GetU16(tag); //sound id
+ if(!sound_id)
+ continue;
flags = swf_GetU8(tag);
if(flags&1)
swf_GetU32(tag); // in point
case ST_FREECHARACTER: /* unusual tags, which all start with an ID */
case ST_NAMECHARACTER:
- case ST_DEFINEBINARY:
case ST_DEFINEFONTNAME:
case ST_GENERATORTEXT:
callback(tag, tag->pos + base, callback_data);