Here is a Gear Calculator I use to generate gears in this site.             
Gear Pitch Radius: Inches
Number of Teeth :
Below is Default values I use and you may change for your own gear.
Pressure Angle: Degrees
Addendum: Inches
Dedendum: Inches
Scale: Pixels = 1 Inches
Face Point Number: Points on the Flank

Max radius and teeth number you can use are 4 and 40 respectively.
You can use coordinate points given below to draw this gear.
Just copy it and create a movie clip by using these values.
You can also use these values to cut gears by using water jet cutting
or plasma cutting.
Best of my knowledge these calculations are OK, use it with your own risk.

Please Let Me Know How Much You Like This (1 is very Bad - 10 is Excellent)