# How can I draw 25 horizontal lines using actionscript3 code automatically?

**URL:** <https://forum.kirupa.com/t/how-can-i-draw-25-horizontal-lines-using-actionscript3-code-automatically/324252>\
**Category:** flash\
**Created:** [August 10, 2011, 6:18pm UTC](https://forum.kirupa.com/t/how-can-i-draw-25-horizontal-lines-using-actionscript3-code-automatically/324252 "2011-08-10T18:18:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![learner\_7n](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Post date:** [August 10, 2011, 6:18pm UTC](https://forum.kirupa.com/t/how-can-i-draw-25-horizontal-lines-using-actionscript3-code-automatically/324252/1 "2011-08-10T18:18:00Z")

</div>

Hi,

I drew a line, and named it multiLinesHorizontal\_mc (It’s not on the Stage, but in the Library and exported to ActionScript3). Now I would like to use that multiLinesHorizontal\_mc and bring it on stage (25 Horizontal Lines) with space between each row the gap should be 5.

How it can be done automatically rather than manually?

Please help.
