# Animated masking a line

**URL:** <https://forum.kirupa.com/t/animated-masking-a-line/35107>\
**Category:** flash\
**Created:** [November 10, 2003, 5:26pm UTC](https://forum.kirupa.com/t/animated-masking-a-line/35107 "2003-11-10T17:26:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cowboy71](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@cowboy71](https://forum.kirupa.com/u/cowboy71)\
**Post date:** [November 10, 2003, 5:26pm UTC](https://forum.kirupa.com/t/animated-masking-a-line/35107/1 "2003-11-10T17:26:30Z")

</div>

Ok, here is what I have,  
I have a basic square and a wavy line graphic on the stage. Now all I want is to animate a mask unveiling the line. Kinda like the line draws itself. I’m just not sure of how to go about it. I would love to do this with actionscript, but not sure about that either.  
Anyhelp would be greatly appreciated.  
THanks  
(Texas jr. Flasher)

---

<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:** [November 10, 2003, 6:22pm UTC](https://forum.kirupa.com/t/animated-masking-a-line/35107/2 "2003-11-10T18:22:01Z")

</div>

basically (your ? is kinda vague)::

maskClip is set to mask wavy\_LineStuff ,

maskClip contains shapeClip,

shapeClip is made up of whatever shape you need to define the “reveal” area

shapeClip has the moves built in to it…or it moves within maskClip

…tweens will do it but for more complex activity you’ll need to explore scripted movement

---

<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:** [November 10, 2003, 7:46pm UTC](https://forum.kirupa.com/t/animated-masking-a-line/35107/3 "2003-11-10T19:46:28Z")

</div>

You maybe looking for this =) dunno if it helps. It’s quite easy actually.

Enjoy~

---

<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:** [November 11, 2003, 4:32am UTC](https://forum.kirupa.com/t/animated-masking-a-line/35107/4 "2003-11-11T04:32:27Z")

</div>

Yes that did help. I’m just now trying to learn AS, which is a duanting task.  
THank you.
