Search tutorials
Create 2 blank movie clips.
Place first movieclip with instance name "code" on layer 1. Create a guide layer for this layer & draw the shape you want draw at runtime(eg. a letter R); create a new layer above the guide layer. Place the second movieclip onto this layer at the top left corner(0,0) of the stage & enter the following code for this movieclip.
Place first movieclip with instance name "code" on layer 1. Create a guide layer for this layer & draw the shape you want draw at runtime(eg. a letter R); create a new layer above the guide layer. Place the second movieclip onto this layer at the top left corner(0,0) of the stage & enter the following code for this movieclip.
onClipEvent (load) {
x1 = _parent.code._x;// x & y co-ordinate for the movieclip
//code.
y1 = _parent.code._y;
this.moveTo(x1,y1);
this.lineStyle(3, 0xee3355, 100);// defines the outline
//thickness, color, &alpha
}
onClipEvent (enterFrame) {
this.lineTo(_parent.code._x, _parent.code._y);
}
| » Level Intermediate |
|
Added: 2004-02-09 Rating: 4 Votes: 42 |
| » Author |
| Fresher |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!