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.
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);
}