# How do I draw a line on mouseover, then delete on mouseout?

**URL:** https://forum.kirupa.com/t/how-do-i-draw-a-line-on-mouseover-then-delete-on-mouseout/275678
**Category:** flash
**Created:** [November 17, 2008, 4:22pm UTC](https://forum.kirupa.com/t/how-do-i-draw-a-line-on-mouseover-then-delete-on-mouseout/275678 "2008-11-17T16:22:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![oddballs24](https://avatars.discourse-cdn.com/v4/letter/o/b77776/32.png) [@oddballs24](https://forum.kirupa.com/u/oddballs24)
#### Post date: [November 17, 2008, 4:22pm UTC](https://forum.kirupa.com/t/how-do-i-draw-a-line-on-mouseover-then-delete-on-mouseout/275678/1 "2008-11-17T16:22:22Z")

</div>

Hey,

I am trying to create a sort of interactive map where if I hover over a country(movieclip.London), lines would be drawn from the centre of ‘London’ to the centres of a set list of other countries(also movie clips). Whats the best way to do this in AS3?

Thanks in advance!
