In this lesson, I will explain to you, how to create a curve lines using the Action Script. In this tutorial yow will also learn how to use Action Script panel and more.
Example 1Open a new flash document, open the Action Script Panel (F9) and paste this script:
createEmptyMovieClip ("curveLine", 1);
with (curveLine) {
lineStyle (3,0x2B3524, 600);
curveTo (50,0,50,50);
}
This script will generate this shape:
Example 2This script:
createEmptyMovieClip ("curveLine", 1);
with (curveLine) {
lineStyle (3,0x2B3524, 600);
curveTo (80,60,50,50);
}
will generate this shape:
Example 3This script:
createEmptyMovieClip ("curveLine", 1);
with (curveLine) {
lineStyle (3,0x2B3524, 600);
curveTo (18,120,50,70);
}
will generate this shape:

Example 4
This script:
createEmptyMovieClip ("curveLine", 1);
with (curveLine) {
lineStyle (3,0x2B3524, 600);
curveTo (30,45,90,35);
}
will generate this shape:
We're done!
Have a nice day!