# how to draw lines in runtime and fill empty space between them?

**URL:** <https://forum.kirupa.com/t/how-to-draw-lines-in-runtime-and-fill-empty-space-between-them/634754>\
**Category:** flash\
**Created:** [June 12, 2016, 7:13am UTC](https://forum.kirupa.com/t/how-to-draw-lines-in-runtime-and-fill-empty-space-between-them/634754 "2016-06-12T07:13:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![javadsavary](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@javadsavary](https://forum.kirupa.com/u/javadsavary)\
**Post date:** [June 12, 2016, 7:13am UTC](https://forum.kirupa.com/t/how-to-draw-lines-in-runtime-and-fill-empty-space-between-them/634754/1 "2016-06-12T07:13:13Z")

</div>

hello  
in runtime i can draw meny Crossover lines.  
how can i detect the space between them and fill with different color with as3?

i want to select color and click in any closed space to fill it.(like drawing in flash)
