Drawing objects
Submitted by stevor on Wed, 06/18/2008 - 23:48.
I am a math teacher. I have already programmed math lessons in BASIC & am thinking of recreating them in Flash and adding games to them (such as Tetris, solitaire & more). Do I have to draw everything ahead of time? I don't think I can create a "pie" sliced up randomly with a random number of pieces missing. In BASIC I drew a circle, drew lines from the center to the edge, and drew part of the circle in black so it wasn't seen. Can Actionscript do things like this? (I don't want to pre-make all the fractions 1/2, 1/3, 2/3, 1/4, 2/4, 3/4, etc. if there's a way to avoid it.)
Copyright Gary Rosenzweig
