# Slow down the Lineto Drawing

**URL:** <https://forum.kirupa.com/t/slow-down-the-lineto-drawing/77261>\
**Category:** flash\
**Created:** [January 25, 2005, 10:57pm UTC](https://forum.kirupa.com/t/slow-down-the-lineto-drawing/77261 "2005-01-25T22:57:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BaNa](https://avatars.discourse-cdn.com/v4/letter/b/7ab992/32.png) [@BaNa](https://forum.kirupa.com/u/BaNa)\
**Post date:** [January 25, 2005, 10:57pm UTC](https://forum.kirupa.com/t/slow-down-the-lineto-drawing/77261/1 "2005-01-25T22:57:05Z")

</div>

Hi All

I have an example of the script I have written bellow which will produce a box on the stage starting a 0,0

My question is, If I wanted to make the lines draw on stage slowly over a spacific time frame so that the end viewer would see the lines being drawn, is there a way of doing it in AS?

[AS] \_root.createEmptyMovieClip (“box”, 1);  
with (\_root.box){  
lineStyle (5, 0x00000, 100);  
moveTo (0, 0);  
lineTo (200,0);  
lineTo (200, 200);  
lineTo (0, 200);  
lineTo (0, 0);  
}  
[/AS]

BaNa
