Yeah that's what I did but the values that come out do not directly
translate to values that can be used in Actionscript... unless I am
doing something wrong which is highly probable! For example, the xml
file uses Twips I believe. So the numbers have to be divided by 20 to
get pixels. Then the ShapeSetup tag is like the MoveTo... I believe.
Then the Transform tag needs to be taken into account to actually place
it in the right location.

I am still piecing it together though.

Thanks for replying though.

ai829 wrote:

> u may use the "swfmill swf2xml *.swf *.xml"
> and take a look at the xml file
>
> On 1/11/06, *Michael Wills* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hello there,
>
>     I am new user with swfmill and I have to say it is quite incredible.
>
>     I was just wondering if anyone knows how to get the LineTo and CurveTo
>     tags to reliably convert into Actionscript drawing commands. I got
>     LineTo working but I had to essentially add the accumlative x and y
>     values to get it to draw what I was expecting. By that I mean if
>     sfwmill
>     reports the points are 0,10 10,10 10,-10 -10,0, then the LineTo
>     commands
>     would need 0,10 10,20 20,10 10,10. That is a very simplistic
>     example and
>     there was a little more math involved because of the apparent
>     differences in the registration points... still digging... I am not
>     totally sure how right my guesses are.
>
>     CurveTo, however, seems to be a very different beast and I haven't
>     been
>     able to figure one for that. Any thoughts?
>
>     Thanks in advance
>     Michael
>
>     _______________________________________________
>     swfmill mailing list
>     [email protected] <mailto:[email protected]>
>     http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>
>
>
> -- 
> 80s studio
> 为您提供最佳的web解决方案
> http://www.80s.net.cn
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>swfmill mailing list
>[email protected]
>http://osflash.org/mailman/listinfo/swfmill_osflash.org
>  
>

_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to