[swfmill] back from the past! ShapeSetup covnersion problem

gabriel gbelvedere at gmail.com
Wed Nov 5 00:09:40 PST 2008


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20081105/c8a1a8a6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot-34.jpg
Type: image/jpeg
Size: 1966 bytes
Desc: not available
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20081105/c8a1a8a6/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot-33.jpg
Type: image/jpeg
Size: 3681 bytes
Desc: not available
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20081105/c8a1a8a6/attachment-0001.jpg>


More information about the swfmill mailing list