Simulated Vine/Plant Growth?

If anyone has seen either a commercial or a website with an effect that appears like the growth of a vine I would like to learn how to mimic that with flash if it is possible. I can do a simple version with a mask already, but if possible I would like to include loops which would not work. I have included a simple version of the growth.