Have a google for actionscript SVG file readers, i seem to remember people achieving the effect you are after like that, i'm pretty sure exactly what you are asking is impossible though...

Ben 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




--

__________________________________

Tom Rhodes - Developer / Composer
Wheelhouse Creative Ltd, 2 Albion Place,
Hammersmith, London. W6 0QT
Tel: 020 8748 4466  Fax: 020 8748 4850
www.wheelhousecreative.co.uk
__________________________________

_______________________________________________
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