PDA

View Full Version : How to draw Shapes(Circle, line, boxes) using ActionScript


vijayd
01-22-2004, 02:48 AM
Hello,

My Application requries to draw shapes, lines dynamically based on some input or from a XML file.

I know that Flash also does the samething internally, he draws shapes, lines using ActionScript, i want to get into that core.

Can anyone help me out with sample action script code to do it, or from where i can find it?

Thanks alot.

Regards,

Vijay

farafiro
01-22-2004, 03:08 AM
vijayd
welcome to the forums

there are alotta tuts for this all over the web, here are some:
http://www.actionscripts.org/tutorials/intermediate/Creating_a_Dynamic_Drawing_application_in_Flash/index.shtml
http://actionscript-toolbox.com/flashmx_drawingtools.php
http://www.informit.com/isapi/weblog_id~%7BB551F917-8F4A-4234-91D2-07A0747BF686%7D/st~%7B8C6B5C55-349F-4D80-B3B3-85E598900068%7D/weblog/showComments.asp
http://www.kirupa.com/developer/actionscript/tricks/drawing_api.htm

vijayd
01-22-2004, 06:26 AM
Thanks alot farafiro.