how to make a self-drawing shape with actionscript

thanks for that tip!.. Actually I was looking for that MTV’s sytle for the VMA’s (hope you’ve seen it): There were straight lines running through the screen and then suddenly makes a turn drawing a closed curve.
Well, I hope I didn’t mess it up with my explanation (my native language is spanish)