Need help with EPS code

Hi all

i’m developing an application in flash that generates EPS data for geometric shapes. I’ve almost no knowledge of EPS but i did find some code online for actionscript that converts square, circle, ellipse into EPS.

So now, all i need is the code to draw a Star and an Arrow in EPS. An arrow, as in, not a line with a > at the end, but a rectangle with a triangle at the end kind…

Anyone know anything about this?? any links? please help…

Oh and i also need to know the code to fill the specified color into the shapes…