# How to draw line

**URL:** https://forum.kirupa.com/t/how-to-draw-line/269097
**Category:** Uncategorized
**Created:** [August 22, 2008, 2:20pm UTC](https://forum.kirupa.com/t/how-to-draw-line/269097 "2008-08-22T14:20:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![florencec2046](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@florencec2046](https://forum.kirupa.com/u/florencec2046)
#### Post date: [August 22, 2008, 2:20pm UTC](https://forum.kirupa.com/t/how-to-draw-line/269097/1 "2008-08-22T14:20:36Z")

</div>

Hi hi,

Another question from newbie… I am learning AS3 diligently… reading books and online tutorial…

I know how to draw line :

* * *

var sp:Sprite = new Sprite;  
addChild(sp);  
sp.graphics.moveTo(400, 100);  
sp.graphics.lineStyle(1, 0xff6600);  
sp.graphics.lineTo(400, 150);

* * *

… but how to do some animation from point (400, 100) to (400, 150) in one minute time…  
I know tween class and also tweener… but just don’t know how to apply…

Don’t laugh at me… please help !!!

Thanks in advance

Florence
