views:

218

answers:

2

How can I create a rounded rectangle with a dashed line? I've seen several routines that draw their own straight lines, but nothing for rounded rectangles.

A: 

I think this link will help you http://ricozuniga.com/2007/04/04/simple-horizontal-and-vertical-dashed-line-drawing/

aravindakumarThangaraju
Sorry, that's the same type of straight line solution. It doesn't help with rounded rectangles.
elmonty
A: 

There used to be (probably still is) a great AS 2/3 library for this but I can't find it.

This looks pretty promising:

http://blog.alegitimatebusiness.com/2007/11/07/as2-as3-draw-a-dotted-rounded-corner-box/

Ross Henderson