A+curve+lines+using+Action+Script

311 views
301 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
311
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

A+curve+lines+using+Action+Script

  1. 1. A curve lines using Action Script Learn how to create a curve lines using Action Script. Example 1 Open flash, open Action Script Pannel (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 2 This script: createEmptyMovieClip ("curveLine", 1); with (curveLine) { lineStyle (3,0x2B3524, 600); curveTo (80,60,50,50); } will generate this shape: Example 3 This script: createEmptyMovieClip ("curveLine", 1); with (curveLine) { lineStyle (3,0x2B3524, 600); curveTo (18,120,50,70); }
  2. 2. 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:

×