From dbc0f4b791d051296d8297c232bd0c8969c00795 Mon Sep 17 00:00:00 2001
From: Matthias Kramm <kramm@quiss.org>
Date: Wed, 28 Jan 2009 17:55:59 +0100
Subject: [PATCH] allow jumps to frames >256

---
 lib/as3/abc.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

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];
-- 
1.7.10.4