From 5f9742beec4337b37cf365afbea5b5c682847ccf Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 21 Jul 2002 13:59:57 +0000 Subject: [PATCH] added rgb printout in backgroundcolor tag. --- src/swfdump.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/swfdump.c b/src/swfdump.c index 9a06d26..e776403 100644 --- a/src/swfdump.c +++ b/src/swfdump.c @@ -666,6 +666,13 @@ int main (int argc,char ** argv) if(!issprite) {mainframe++; framelabel = 0;} } + if(tag->id == ST_SETBACKGROUNDCOLOR) { + U8 r = swf_GetU8(tag); + U8 g = swf_GetU8(tag); + U8 b = swf_GetU8(tag); + printf(" (%02x/%02x/%02x)",r,g,b); + } + if(tag->id == ST_DEFINEBITSLOSSLESS || tag->id == ST_DEFINEBITSLOSSLESS2) { handleDefineBits(tag); -- 1.7.10.4