# Path Class v2 - draw and follow AS paths

**URL:** <https://forum.kirupa.com/t/path-class-v2-draw-and-follow-as-paths/189491>\
**Category:** open source\
**Created:** [June 3, 2006, 12:34am UTC](https://forum.kirupa.com/t/path-class-v2-draw-and-follow-as-paths/189491 "2006-06-03T00:34:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [June 3, 2006, 12:34am UTC](https://forum.kirupa.com/t/path-class-v2-draw-and-follow-as-paths/189491/1 "2006-06-03T00:34:03Z")

</div>

I’ve updated my path class to ActionScript 2 (and an ActionScript 3 version is available as well).

The Path class saves a collection of line drawing commands to represent a path. Using the path class you can draw all of or a segment of that path in a movie clip or get locations and orientations along the path to have objects follow it.

Note: People using Flash MX 2004 will have to use a custom flash.geom.Point class; one has been provided with the download. Just rename the flash\_ifUsingFlash7 folder to flash in the AS2 directory.

Simple example drawing the word “fun” provided (uses two lines drawing out segments of the word with a trangle shape following its path).
