swf_ShapeFree(s);
tag = swf_InsertTag(tag, ST_PLACEOBJECT2);
swf_ObjectPlace(tag,shapeid,depth++,0,0,0);
+ tag = swf_InsertTag(tag, ST_PLACEOBJECT2);
+ swf_ObjectPlaceClip(tag,shapeid,depth++,0,0,0,65535);
}
if(flag_protected)
swf_SetU16(tag,depth);
}
- depth = 1;
- startdepth = depth;
+ depth = startdepth;
}
/* "destroy" like in (oo-terminology) "destructor". Perform cleaning