3 Replies Latest reply: Mar 29, 2012 8:04 PM by sinious RSS

    Trouble with line drawing

    Razzi_A Community Member

      Can somebody help me figure out why this isn't drawing a line? The code is in frame 1 by itself, and I'm not getting any errors.

       

      var brownLineDraw:Shape = new Shape();

      brownLineDraw.graphics.lineStyle(12, 0x352000, 1);

      brownLineDraw.graphics.moveTo(100, 100);

      brownLineDraw.graphics.lineTo(200, 200);

       

      Thanks!