experiment with drawing lines of different thicknesses, colors, and opacities
// import classes we want to use
import flash.display.Graphics;
import flash.display.Shape;
// instantiate a new shape to draw in
var canvas:Shape = new Shape();
// add the shape to the display list so it appears on-screen
addChild(canvas);
// set the current linestyle to be 10px wide, red, and 50% opaque
canvas.graphics.lineStyle(10, 0xff0000, .5);
// draw a line from the left of the stage to the right
var yPos:Number = stage.stageHeight*.5;
var xLeft:Number = stage.stageWidth * .1;
var xRight:Number = stage.stageWidth * .9;
canvas.graphics.moveTo(xLeft, yPos);
canvas.graphics.lineTo(xRight, yPos);