X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpng2swf.c;h=91cfb3250b69abe8d6459f872ca9c95a2e4c5051;hb=709555ee7eee8fb8d876445e6341e2070366b4f2;hp=b1827ed293ab1f71bceabe79440e0dddedf883ce;hpb=d0944e4403dd2736e0dde1ba0a6558f71df8da70;p=swftools.git diff --git a/src/png2swf.c b/src/png2swf.c index b1827ed..91cfb32 100644 --- a/src/png2swf.c +++ b/src/png2swf.c @@ -688,7 +688,9 @@ TAG *MovieAddFrame(SWF * swf, TAG * t, char *sname, int id) swf_GetMatrix(NULL, &m); m.sx = 20 * 0x10000; m.sy = 20 * 0x10000; - fs = swf_ShapeAddBitmapFillStyle(s, &m, id, 0); + m.tx = -10; + m.ty = -10; + fs = swf_ShapeAddBitmapFillStyle(s, &m, id, 1); swf_SetU16(t, id + 1); // id