Search the Community
Showing results for tags 'flow'.
Hi, for a medical project I need to animate liquid slowly flowing up a pipe, much like those old pipe games. Here's a tutorial using manual tweens - http://www.computerschool.net/flash/fl_exercise25.html. I need the same result, only using code, because I have like a million of those pipes. Using an array of Points(), I can create a greensock MotionPath and send a Path Follower along it. But I need the follower to sort of leave trail, to color the pipe behind it. I am thinking of creating a separate shape and drawing a LineTo(followerX, followerY) on each Path update. But is there an easier way, a property or method that Greensock offers? Any other ideas are very welcome, too. Thank you!