Drawing polygon efficiently

I am using a fuction to draw a polygon that i found in the forum.
The polygon has 20 points more or less but the problem is that i am repainting it continously onEnterFrame. I think is slow.
Is there other way to draw polygons?

I am using this function:
http://developer.anscamobile.com/forum/2011/05/17/drawing-polygon-fill [import]uid: 113117 topic_id: 23678 reply_id: 323678[/import]