if (tag->code == 46 || tag->code == 84) { // DefineMorphShape, DefineMorphShape2
swf_rgba_build(bs, &(fill_style_solid->rgba));
swf_rgba_build(bs, &(fill_style_solid->rgba_morph));
- } else if (tag->code == 32) { // DefineShape3
+ } else if (tag->code >= 32) { // DefineShape3, DefineShape4
swf_rgba_build(bs, &(fill_style_solid->rgba));
} else {
swf_rgb_build(bs, &(fill_style_solid->rgb));
fill_style_solid->rgba_morph.green,
fill_style_solid->rgba_morph.blue,
fill_style_solid->rgba_morph.alpha);
- } else if (tag->code == 32) { // DefineShape3
+ } else if (tag->code >= 32) { // DefineShape3, DefineShape4
printf(" #%02x%02x%02x(%02x)",
fill_style_solid->rgba.red,
fill_style_solid->rgba.green,