# Looking for some help

**URL:** <https://forum.kirupa.com/t/looking-for-some-help/279837>\
**Category:** Uncategorized\
**Created:** [January 19, 2009, 9:07pm UTC](https://forum.kirupa.com/t/looking-for-some-help/279837 "2009-01-19T21:07:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akskater100](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Akskater100](https://forum.kirupa.com/u/Akskater100)\
**Post date:** [January 19, 2009, 9:07pm UTC](https://forum.kirupa.com/t/looking-for-some-help/279837/1 "2009-01-19T21:07:38Z")

</div>

I am trying to make a graph in flash. I am currently using AS2 but I can switch to 3 if nesscarry. I have just found out how to draw lines with actionscript with the lineTo(x,y); function, but I can’t figure out how/if I can use a variable to count as the x or y like:  
lineTo(20,pos1); pos1 being my variable. is this possible?
