X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fabc.c;h=edebba21e2175176afc0707a7149c52162eb4c10;hb=dbc0f4b791d051296d8297c232bd0c8969c00795;hp=b9509c4657414f95468e8e897853c40be75f96aa;hpb=43917185524682e1cbee50d711fcd2c0fd5d4c5c;p=swftools.git diff --git a/lib/as3/abc.c b/lib/as3/abc.c index b9509c4..edebba2 100644 --- a/lib/as3/abc.c +++ b/lib/as3/abc.c @@ -1423,12 +1423,9 @@ void swf_AddButtonLinks(SWF*swf, char stop_each_frame, char events) ActionTAG*oldaction = swf_ButtonGetAction(tag); if(oldaction && oldaction->op == ACTION__GOTOFRAME) { int framenr = GET16(oldaction->data); - if(framenr>254) { - fprintf(stderr, "Warning: Couldn't translate jump to frame %d to flash 9 actionscript\n", framenr); - } if(!events) { __ findpropstrict(h,"[package]::gotoAndStop"); - __ pushbyte(h,framenr+1); + __ pushuint(h,framenr+1); __ callpropvoid(h,"[package]::gotoAndStop", 1); } else { char framename[80];