Christopher Brian Jack <[EMAIL PROTECTED]> (on Wed, 28 Feb 2007 08:21:24 -0800 (PST)):
> > > Yes. So if I went to flash, drew a star, then run the above what would I > > > be getting in the XML? > > > > Why not just try it? This is how i started understanding the SWF format. > > I don't own flash. :( fair enough, me neither-- i had my flatmate produce test swfs at the time :) i've attached a simple star swf (boiled down from http://swfmill.org/trac/browser/trunk/test , imported from svg :) for your review. The LineTos is what you're probably interested in. CurveTo works just the same but with x1,y1 (control point) and x2,y2 ("destination" point). Note that the flash player doesnt render cubic beziers natively (you need to approximate them with quadratic ones :(). obviously, you'd need to understand some basics of SWF too (DefineSprite, PlaceObject2) to analyze/produce more complex drawings. also, please note that the structure of these is not swfmill's domain- swfmill's "lowlevel dialect" just resembles the SWF structures as XML. all weirdness thanks to macromedia (or even futuresplash) :) hope that helps. -dan -- http://0xDF.com/ http://iterative.org/
star.xml
Description: application/xml
_______________________________________________ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org