2 Replies Latest reply on Apr 5, 2011 2:57 PM by Seglespaan

    flex graphics

    Seglespaan Level 1

      Hi,

       

      is it possible to draw a line on a canvas using

       

      graphics.lineStyle(1,0x3dff40);

      graphics.moveTo(0,0);

      graphics.lineTo(325,0);

       

      then draw another one in the same way.

       

      At this point i want to delete the first line, is this possible or would i have to clear the graphics layer and then redraw the second line?

       

      Cheers

       

      Tim