Are you asking if you can somehow save out all the commands to a text file?

now is it possible to write ActionScript that will translate the drawing you
created above into AS-style:

You see, you would have been using AS to perform all those commands in the
first place. ie. lineTo, moveTo... etc.

Scott


On 11/7/06, Ben <[EMAIL PROTECTED]> wrote:

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




--

: : ) Scott
_______________________________________________
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

Reply via email to