how can I draw arc in randomize created triangle's angle with flash actionscript 2.0.
Thanks all.alt text http://www.freeimagehosting.net/uploads/8289d7feff.png
I would like to draw red arc at every triangle's angle. Note: The triangle will be created randomly.
One simple way would be to draw a circle in each corner, then use a copy of your triangle to mask the circles so only the interior arcs are visible.
For example, make a movieClip in your library named "circle" containing an unfilled red circle centred on the clip's insertion point (make sure you tick "Export for Actionscript" in it's properties).
Then you can draw your triangle something like this:
et voila http://roi.webfactional.com/img/so/triangle.jpg