Sphere made up of 1000 lines?

I got this code from this tutorial: http://www.flashkit.com/tutorials/3D/3D_Flowe-V_Ramra-801/index.php

Also how do I make all of the lines the same length so that it looks more like a sphere and less like the asteriks. I am aware that some lines are shorter for perspective, but it just doesn’t look like a sphere.