I'm trying to add a line to a movie clip. When I trace the width of the lineadded it traces correctly, but the line doesn't appear. If I do everything the same but add the line to the stage instead of the movie clip it does appear. I know this is one of those cases where I can't see the forest fro the trees but I sure would appreciate any insight you can give me.
Here's the relevant code:
var xAxis = new Shape();
xAxis.graphics.lineStyle(2, 0x000000, 1)
xAxis.name = "xAxis_mc"
there's no code problem. depending on graph_mc you may or may not see anything on-stage.
Thanks for this. I helped me realize that I was basing the placement on the stage rather than the movie clip on the stage. When I moved the starting X and Y positions to 0, it appeared.