Linear Slug (Rev 04) Notes, by Ralph Abraham Yellow slug leaves a blue trail. One scene, one timeline, one frame. On the stage: one empty Movie Clip (in which to draw blue line segments) and one symbol, the yellow slug (also a Movie Clip). The script is attached to this frame, and creates an empty Movie Clip in which to draw line segments. Everything is handled by this script. The chief feature of this script is the use of the setInterval variable to control the speed of drawing within the for loop. Cf. Phillip Kerman, ActionScripting in Flash MX. Rev. 03 differs from 02 only in that the line slug is written as a function. Thus if you have Flash MX and wish to have a line slug in one of your own ActionScript MX programs, you may copy and paste this function, and set your own values for the 6 parameters. Rev. 04 has more parameters: end point may be set. NOTE: we wanted to issue a sequence of calls to this function with different args, eg, to slug-draw a triangle, but this does not work Rev. 05 has one more param in the functions: the path to the movie clip in which to draw ALSO, the function def has been removed to an external file, lineslug.as Rev. 06 has one more param (total now = 10): the path to the slug symbol to move along the line end: Line Slug 06 Notes