X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fswfoutput.cc;h=ccc4c1b9ab428e4f82c31432da69bbf2d11774ad;hb=af8c85b9336c4a64f75499e7546557fbfe3e9cf9;hp=44db4bd990031110933cee199c1db86aee5bb09e;hpb=1a41712df297203adf08bf0181d3ee3d460727c7;p=swftools.git diff --git a/pdf2swf/swfoutput.cc b/pdf2swf/swfoutput.cc index 44db4bd..ccc4c1b 100644 --- a/pdf2swf/swfoutput.cc +++ b/pdf2swf/swfoutput.cc @@ -1131,9 +1131,6 @@ void drawlink(struct swfoutput*obj, ActionTAG*actions, swfcoord*points) lineto(tag, p1); swf_ShapeSetEnd(tag); - tag = swf_InsertTag(tag,ST_PLACEOBJECT2); - swf_ObjectPlace(tag, buttonid, depth ++, 0,0,0); - tag = swf_InsertTag(tag,ST_DEFINEBUTTON); swf_SetU16(tag,buttonid); //id swf_ButtonSetFlags(tag, 0); //menu=no @@ -1144,7 +1141,7 @@ void drawlink(struct swfoutput*obj, ActionTAG*actions, swfcoord*points) swf_SetU8(tag,0); swf_SetActions(tag,actions); swf_SetU8(tag,0); - + tag = swf_InsertTag(tag,ST_PLACEOBJECT2); swf_ObjectPlace(tag, buttonid, depth++,0,0,0); }