[swfmill] back from the past! ShapeSetup covnersion problem
Alex H
swfmill at avbrand.com
Wed Nov 5 07:25:07 PST 2008
Well, I don't know where your numbers are coming from, because they are
wrong. I just took your code and put it into Flash and got this:
If you get some graph paper and draw out the co-ordinates you are giving
Flash, you will see that what you are telling it to do is exactly what
it is doing...
Hope this helps,
-alex
gabriel wrote:
> Hi ...anybody?
>
> well if is someone left in the list may be knows the answer:
> I have this:
>
> I want to experiment converting a swf file to postscript so I started
> with swfmill and I get this part which I guess is my little drawing.
>
> <ShapeSetup x="4560" y="3720" fillStyle1="1"/>
> <LineTo x="-1760" y="0"/>
> <LineTo x="0" y="-1760"/>
> <LineTo x="1760" y="0"/>
> <LineTo x="821" y="821"/>
> <LineTo x="-821" y="939"/>
> <ShapeSetup/>
>
> if I convert it to postscript I get a mess (I've converted the units),
> and I am no postscript expert so I tried to convert it to flash
> (which I'm no expert either ;) )
>
> so I did :
> (all the units are converted * 0.066666667 = twips => pixels)
>
> canvas.lineStyle(1,0xFF0000,100);
> canvas.moveTo(-116,170);
>
> canvas.lineTo(-117, 0);
> canvas.lineTo(0, -117);
> canvas.lineTo(117, 0);
> canvas.lineTo(55, 55);
> canvas.lineTo(-55, 63);
>
> where canvas is an empty movieclip in the stage.
> Then i get this :S
>
>
>
>
> If I dow swfmill simple myxml myswf it reconstruct it into a nice
> arrow again...
>
> Whats wrong with all this?
> Obviously I'm missing something ...but what?
>
>
>
> thanks in advance
>
> regards.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20081105/c506b6fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2008-11-05_10-23-32-666.png
Type: image/png
Size: 2197 bytes
Desc: not available
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20081105/c506b6fe/attachment.png>
More information about the swfmill
mailing list