We Recommend

HTML Dog: The Best-Practice Guide to XHTML and CSS HTML Dog: The Best-Practice Guide to XHTML and CSS
For readers who want to design Web pages that load quickly, are easy to update, accessible to all, work on all browsers and can be quickly adapted to different media, this comprehensive guide represents the best way to go about it.


Posted By

n00ge on 11/10/07


Tagged

actionscript Drawing


Versions (?)


Draw a curved line


Published in: ActionScript 


This will draw a curved line with actionscript.

  1. ${1:this}.lineStyle(${2:thickness}, 0x${3:000000}, ${4:alpha});
  2. $1.moveTo(${5:startX},${6:startY});
  3. $1.curveTo(${7:controlX}, ${8:controlY}, ${9:anchorX}, ${10:anchorY});$0

Report this snippet 

You need to login to post a comment.