No you cannt access curve data throught AS. Only thing thats possible would be to save all drawing activity in memory for later reproduction. That wouldnt be that hard actually.
2006/11/7, Ben <[EMAIL PROTECTED]>:
Hi Flashcoders is it possible to write ActionScript code to gain access to lines/fills/shapes drawn on the stage using the standard Flash API? eg open a new document draw a line on the stage draw another line add some more lines, curves, add some filled shapes, rectangles, circles etc now is it possible to write ActionScript that will translate the drawing you created above into AS-style: moveTo(x1,y1); lineTo(x2,y2); curveTo(cx,cy, x3,y3); beginFill(); lineTo(x4,y4); etc etc I want to be able to trace out a fairly complex drawing using all the Flash tools, but then control how it gets drawn entirely from ActionScript. Thanks! Ben. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com