void handlePlaceObject2(TAG*tag, char*prefix)
{
U8 flags = swf_GetU8(tag);
void handlePlaceObject2(TAG*tag, char*prefix)
{
U8 flags = swf_GetU8(tag);
swf_GetU16(tag); //depth
//flags&1: move
if(flags&2) swf_GetU16(tag); //id
if(flags&4) swf_GetMatrix(tag,0);
swf_GetU16(tag); //depth
//flags&1: move
if(flags&2) swf_GetU16(tag); //id
if(flags&4) swf_GetMatrix(tag,0);
length = swf_GetU32(tag);
printf(", %d bytes actioncode\n",length);
a = swf_ActionGet(tag);
swf_DumpActions(a,prefix);
swf_ActionFree(a);
length = swf_GetU32(tag);
printf(", %d bytes actioncode\n",length);
a = swf_ActionGet(tag);
swf_DumpActions(a,prefix);
swf_ActionFree(a);
}
if(globalflags) // should go to sterr.
printf("ERROR: unsatisfied handlerflags: %02x\n", globalflags);
}
if(globalflags) // should go to sterr.
printf("ERROR: unsatisfied handlerflags: %02x\n", globalflags);
printf(" starts id %04d", swf_GetPlaceID(tag));
}
else if(tag->id == ST_FRAMELABEL) {
printf(" starts id %04d", swf_GetPlaceID(tag));
}
else if(tag->id == ST_FRAMELABEL) {
if((framelabel && !issprite) ||
(spriteframelabel && issprite)) {
dumperror("Frame %d has more than one label",
if((framelabel && !issprite) ||
(spriteframelabel && issprite)) {
dumperror("Frame %d has more than one label",