Need your Help to create Pie chart :(

Dear friends,

I am trying to create 3d pie chart in AS2, Its hard to me to learn mathematics calculation. If anyone know pls shard with me, i ll try to understand.

Thanks,
Karthic