0 Replies Latest reply on Oct 16, 2008 4:40 AM by nahidupa

    Draw a big line

    nahidupa
      Im try to draw a simple line with line to funtion here is my code

      private function draw(sprite:Sprite):void {
      sprite.graphics.lineStyle(1, 1, 1);
      sprite.graphics.beginFill(bgColor);
      sprite.graphics.moveTo(0, 0);
      sprite.graphics.lineTo(9000000,9000000);
      sprite.graphics.endFill();

      }

      but line thikness become unexpectedly wide. is it flex bug. this is also ture as curveTo.


      here is my detail code

      advance thanks for any feed back.