1 Reply Latest reply on Mar 8, 2011 12:43 AM by Jhon Carlo

    Delete grafics lines

    Jhon Carlo Level 1

      Which approach for the following two different aspects:

      1) I drag a sprite with the property trails. I need to delete some parts of the line created by dragging the sprite, how can I do?
      2) I drag a sprite on the stage and I create a straight line with the following script:

       

      on mouseUp me
         xL = the mouseH - the mouseLoc.integer
         yL = the mouseV - mouseLoc. integer
         objImage = _movie.stage.image
         objImage.draw (point (xL, yL), point (xL, yL +400), rgb (0, 0, 0))
      end

       

      If I create 5 lines for example, how can I delete line 2 or 3?
      Thanks.