X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fscripts.c;h=de5cd7c90e5ee43b59590e9f685c9cb24c78af00;hb=32ac544befbd3ffa7b910841c9b9464b36e35bc0;hp=f965b2bf62f4a84e3d52577e11ed6a93d6eef46b;hpb=62d5e489a65089161aaaca07f5f9c9f3d1c3b161;p=swftools.git diff --git a/lib/as3/scripts.c b/lib/as3/scripts.c index f965b2b..de5cd7c 100644 --- a/lib/as3/scripts.c +++ b/lib/as3/scripts.c @@ -91,7 +91,7 @@ void swf_AddButtonLinks(SWF*swf, char stop_each_frame, char events) if(!f && (tag->id == ST_DEFINEBUTTON || tag->id == ST_DEFINEBUTTON2 || stop_each_frame)) { /* make the contructor add a frame script */ __ findpropstrict(c,"[package]::addFrameScript"); - __ pushbyte(c,frame); + __ pushuint(c,frame); __ getlex(c,framename); __ callpropvoid(c,"[package]::addFrameScript",2);