# Animate

**URL:** <https://forum.kirupa.com/t/animate/281140>\
**Category:** Uncategorized\
**Created:** [February 5, 2009, 10:41am UTC](https://forum.kirupa.com/t/animate/281140 "2009-02-05T10:41:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Post date:** [February 5, 2009, 10:41am UTC](https://forum.kirupa.com/t/animate/281140/1 "2009-02-05T10:41:11Z")

</div>

I want to draw then animate a line using Tweener. The problem with my code is it does not just tween the width it tweens the dot I create in the x and y directions. giving me big blobs rather than long thin lines.

Any help would be appreciated.

```
    public function smallBoxes()
    {
        
        
       
        
        var lineDrawing:MovieClip = new MovieClip();
        addChild(lineDrawing);
        lineDrawing.graphics.lineStyle(1, 0xFFFFFF);
        lineDrawing.graphics.moveTo(0,0); 
        lineDrawing.graphics.lineTo(1, 0);
        
        Tweener.addTween(lineDrawing, {width:955, time:1, delay:1, transition:"elastic"});
    
        

    }
```
