title: How to draw dashed lines with using rectangles in AS3?
body: <p>I'm using starling framework for my game project and it hasn't got any draw dashed line method. Because of this they suggest me to draw dashed lines with using small rectangles which is called quads.</p>
  
  <p>My math is not enough for it, could you give a sample method for rectangles with dashed lines occurring.</p>
  
  <p><img src="https://i.stack.imgur.com/OCQBD.jpg" alt="Drawing dashed lines with using rectangles"></p>
  
  <p>Thanks..</p>