To have the line progressively draw itself on, we'll use the Sequence Replicator behavior. The Sequence Replicator behavior is similar to the Sequence Text behavior -- it allows you to build the replicator pattern (our line) over time, as well as affecting other properties like color and position.

Add the replicator behavior

  1. Select the My Line replicator and then add the Sequence Replicator behavior from the toolbar menu or the Library.

In this case, we want to have our line draw itself on, segment by segment, so we're going to use the behavior to animate the opacity of the replicator.

Adding a parameter to the behavior

  1. With the replicator or the Sequence Replicator behavior selected, go to the Behaviors tab.
  2. Go to the Parameter 'Add' popup menu and choose 'Opacity' to add it to the behavior.
  3. Change the opacity value to 0%.

If you hit Play now, you'll see the line segments fading out over time. Since we want the opposite to happen, we'll change the Sequencing parameter from 'To' to 'From'. Also, we might not want the animation to happen so slowly, so we're going to trim the behavior, speeding up the sequence.

Adjusting the sequence behavior

  1. In the Behaviors tab, change the Sequencing parameter popup to 'From'.
  2. In the Timeline, trim the Sequence Replicator behavior so that it is 30 frames long.

If you play back your project, you should see your line drawing on. You might notice, however, that each segment fades in, instead of popping in. This is because the Spread parameter of the behavior is set to 1, which means that there is a transition between the current replicator point and the next. Try changing the Spread to 6, and you'll see that the fading-up caused by going from 0% opacity to 100% opacity is spread out over 6 segments. In this particular case, though, we want the segments to pop on, one at a time, with no fading.

Adjusting the spread

  1. In the Behaviors tab, set the Spread parameter to 0.

Setting the Spread to 0 means that the changes made by the behavior happen instantaneously, one segment at a time. If you play back your project, you should see something like this:

And there you have an animated treasure map line. Remember, one of the upsides of this method is that it allows for flexibility: if we want to change the length or path of the line, we just edit the original path shape we created (Line Path) and the replicator updates. We can also play with the Sequence Replicator behavior. Thus, with a just a couple of quick changes, we can end up with a variety of animated line treatments, all with little effort:

With the replicator, the possibilities are endless. Have fun out there!

UPDATE: You can download a project of the last line example here.
<- Page 1: Setup