From 6e9435d4bcafbe6aac9c04ede599cc4d564c4241 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 7 Nov 2004 16:25:23 +0000 Subject: [PATCH] * always add a final SHOWFRAME tag * .stop now also has a no-argument version --- src/swfc.c | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) 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