git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4391718
)
allow jumps to frames >256
author
Matthias Kramm
<kramm@quiss.org>
Wed, 28 Jan 2009 16:55:59 +0000
(17:55 +0100)
committer
Matthias Kramm
<kramm@quiss.org>
Wed, 28 Jan 2009 16:55:59 +0000
(17:55 +0100)
lib/as3/abc.c
patch
|
blob
|
history
diff --git
a/lib/as3/abc.c
b/lib/as3/abc.c
index
b9509c4
..
edebba2
100644
(file)
--- 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);
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");
if(!events) {
__ findpropstrict(h,"[package]::gotoAndStop");
- __ pushbyte(h,framenr+1);
+ __ pushuint(h,framenr+1);
__ callpropvoid(h,"[package]::gotoAndStop", 1);
} else {
char framename[80];
__ callpropvoid(h,"[package]::gotoAndStop", 1);
} else {
char framename[80];