# How to draw this in flash? Please suggest

**URL:** <https://forum.kirupa.com/t/how-to-draw-this-in-flash-please-suggest/152163>\
**Category:** Uncategorized\
**Created:** [June 21, 2005, 7:35pm UTC](https://forum.kirupa.com/t/how-to-draw-this-in-flash-please-suggest/152163 "2005-06-21T19:35:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmw](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@bmw](https://forum.kirupa.com/u/bmw)\
**Post date:** [June 21, 2005, 7:35pm UTC](https://forum.kirupa.com/t/how-to-draw-this-in-flash-please-suggest/152163/1 "2005-06-21T19:35:21Z")

</div>

Hi,

I have an X and Y axes and I am trying to give the user the interactive option of drawing a line with either a posive slope or a negative slope within the axes to just show the relationship between x variable and Y variable. How can this line be drawn dynamically?

Please help out.  
Thanks in advance.
