From: kramm Date: Sun, 7 Nov 2004 16:25:23 +0000 (+0000) Subject: * always add a final SHOWFRAME tag X-Git-Tag: release-0-6-3~207 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=6e9435d4bcafbe6aac9c04ede599cc4d564c4241 * always add a final SHOWFRAME tag * .stop now also has a no-argument version --- diff --git a/src/swfc.c b/src/swfc.c index 6247075..3a2f7ed 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -643,8 +643,7 @@ static void s_endSWF() swf = stack[stackpos].swf; filename = stack[stackpos].filename; - //tag = swf_InsertTag(tag, ST_SHOWFRAME); //? - + tag = swf_InsertTag(tag, ST_SHOWFRAME); tag = swf_InsertTag(tag, ST_END); swf_OptimizeTagOrder(swf); @@ -708,6 +707,14 @@ void s_frame(int nr, int cut, char*name) int t; TAG*now = tag; + /* // enabling the following code will make the frame + handling much more intuitive, but also break old + code: + + if(nr<1) + syntaxerror("Frame number need to be at least 1"); + nr--;*/ + for(t=currentframe;t