Change line color of drawing API

Drawing a line runtime with the drawing API:

_root.createEmptyMovieClip (“line”,1);
// with set color 0x000000 :
lineStyle (2, 0x000000, 100);

but after the line is draw, want to change the color of “line”
The:
mYColor = new Color(line);
//mYColor = new Color(_root.line);
myColor.setRGB(0x00FF00);

is not working, for this :frowning:

Is there any other way to change the color or need to draw again the line?