Network Diagram is too slow


I am new to flash. I am creating a network diagram.

The problem is when the number of interconnections increase between two nodes, Mouse Over Effects takes a lot of time (10-15 secs).

Right now I am doing it as follows to group multiple lines with a circle:

function drawLine(counter:Number) {
item = groupLineCircle[counter];
with (_root[item[0][1]]) {
var total:Number = item.length;
for (var i:Number=0;i<total;i++) {
moveTo(X1, Y1);
lineTo(X2, Y2);