# Lines, lines, lines....and their movement

**URL:** <https://forum.kirupa.com/t/lines-lines-lines-and-their-movement/2180>\
**Category:** Uncategorized\
**Created:** [May 13, 2002, 4:49pm UTC](https://forum.kirupa.com/t/lines-lines-lines-and-their-movement/2180 "2002-05-13T16:49:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 13, 2002, 4:49pm UTC](https://forum.kirupa.com/t/lines-lines-lines-and-their-movement/2180/1 "2002-05-13T16:49:44Z")

</div>

How do i make a line to move, grow, shrink, follow a path…i thought about masking but i believe there must be an easier way of doing it via actionscript…am i right?

please help…  
Thanx a lot for your time…😉

:eek:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 13, 2002, 5:09pm UTC](https://forum.kirupa.com/t/lines-lines-lines-and-their-movement/2180/2 "2002-05-13T17:09:24Z")

</div>

Hi,  
You 1st have to convert the line to a movie clip so you may access it properties. You can make the line shrink / grow by simply changing it x,y values (this is to move the line) or it’s xscale, yscale (this is to make it shrink/grow) & so on.  
Is this what your talking about. Please be a specfics as possible w/ what you’d like to do. Perhaps I can work a basic example for you.

Take care

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 13, 2002, 5:20pm UTC](https://forum.kirupa.com/t/lines-lines-lines-and-their-movement/2180/3 "2002-05-13T17:20:11Z")

</div>

yes that’s exactly what im talking about…but…the thing is that i would like the line to take a shape…for example:  
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
/  
/  
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_/

i want the line to do something like that…still with the x,y values?..and how do i do that?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 13, 2002, 7:36pm UTC](https://forum.kirupa.com/t/lines-lines-lines-and-their-movement/2180/4 "2002-05-13T19:36:12Z")

</div>

I think that you’ll be better off going with straight tweening animation on that one. There’s no reason to mask either.

here’s an example.

\<EMBED src=http://www.centerspin.com/linechase.swf quality=high bgcolor=#FFFFFF WIDTH=400 HEIGHT=170\>

it’s just a simple tween, but if you need to see it’s source, it’s here [http://www.centerspin.com/linechase.fla](http://www.centerspin.com/linechase.fla)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 14, 2002, 1:01pm UTC](https://forum.kirupa.com/t/lines-lines-lines-and-their-movement/2180/5 "2002-05-14T13:01:02Z")

</div>

ok…thanx a lot!..that’ll be perfect!

oh, and the diagram didn’t show up as i expected…the board changed it al…but it doesn’t matter…glad u understood me…

thanx again!

:eek:
