X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfaction.c;h=652fd6d2cd8809d3580230e8e9f903a4ff432e09;hb=71b9d237aeaf348d104d8a3c5db7188b992a5fbe;hp=aa2894adc6d8e8991b152ba4059ffb6c96ad0695;hpb=2bbdd7671706b7de8efa6e364f19f462bb428bb0;p=swftools.git diff --git a/lib/modules/swfaction.c b/lib/modules/swfaction.c index aa2894a..652fd6d 100644 --- a/lib/modules/swfaction.c +++ b/lib/modules/swfaction.c @@ -598,13 +598,12 @@ void action_fixjump(ActionMarker m1, ActionMarker m2) int len = 0; int oplen = 0; a = a1; + + a = a->next; //first one is free while(a && a!=a2) { - if(a != a1) //first one is for free - { - len += ActionTagSize(a); - oplen ++; - } + len += ActionTagSize(a); + oplen ++; a = a->next; } if(!a) @@ -808,7 +807,7 @@ void action_PushDouble(double d) void action_PushInt(int i) { *(U8*)currentatag->tmp = 7; //int - *(U8*)¤tatag->tmp[1] = i; + *(U32*)¤tatag->tmp[1] = i; swf_AddActionTAG(ACTION_PUSH, (U8*)currentatag->tmp, 5); } void action_GotoLabel(char* label) @@ -829,3 +828,30 @@ void action_GetUrl(char* url, char* label) void action_DefineFunction(U8*data, int len) {} void action_Constantpool(char* constantpool) {} void action_With(char*object) {} + +/* + Properties: + + _X 0 + _Y 1 + _xscale 2 + _yscale 3 + _currentframe 4 + _totalframes 5 + _alpha 6 + _visible 7 + _width 8 + _height 9 + _rotation 10 + _target 11 + _framesloaded 12 + _name 13 + _droptarget 14 + _url 15 + _highquality 16 + _focusrect 17 + _soundbuftime 18 + _quality* 19 + _xmouse* 20 + _ymouse* 21 +*/