Draw polygons with actionscript

please there is a way to create in a running movie a polyigon of determined measures and color it?
Thanks so much

smartsnoopy