src->ymin = center.y-radius;
src->xmax = center.x+radius;
src->ymax = center.y+radius;
- if((center.x|cetner.y|radius) == 0) src->xmax++; //make sure the bbox is not NULL anymore
+ if((center.x|center.y|radius) == 0) src->xmax++; //make sure the bbox is not NULL anymore
return;
}
if(center.x - radius < src->xmin)
while(t) {
len += swf_WriteTag(-1,t);
- if(t->id == ST_DEFINESPRITE) inSprite++;
+ if(t->id == ST_DEFINESPRITE && !swf_IsFolded(t)) inSprite++;
else if(t->id == ST_END && inSprite) inSprite--;
else if(t->id == ST_SHOWFRAME && !inSprite) frameCount++;
t = swf_NextTag(t);