* fixed framelabel for frame 0
tag = swf_InsertTag(tag, ST_END);
swf_OptimizeTagOrder(swf);
+
+ swf_Optimize(swf);
if(!(swf->movieSize.xmax-swf->movieSize.xmin) || !(swf->movieSize.ymax-swf->movieSize.ymin)) {
swf->movieSize = currentrect; /* "autocrop" */
swf_SetString(tag, name);
}
}
+ if(nr == 0 && currentframe == 0 && name) {
+ tag = swf_InsertTag(tag, ST_FRAMELABEL);
+ swf_SetString(tag, name);
+ }
if(cut) {
if(now == tag) {