Tutorials Shared by the Internet Community
Total Hits - 33693
Total Votes - 101 votes
Vote Up - 43 votes
Vote Down - 58 votes
Domain - www.webzo.org
Category - Flash/Interactivity
Submitted By - Devesh Khanna
Submitted on - 2008-04-02 11:03:09
In this tutorial you will learn how to make a curve using flash API and draw with a mouse movement.
This function is used to draw a curve, anchorX and anchorY are the position of the end of the curve. And controlX and controlY tell to which direction the curve is going to be draw.
If you test the code now you will notice that the framerate will go down after a while, that's because it's drawing to many lines. More detail...