Dynamic Pie Chart

game

Three sliders here are used to control pie slices of a pie chart dynamically drawn using the drawing API in Flash MX. A class (PieChart) is used to create and manage the pie chart and each slice within it. Each slider then uses methods of that class to control the sizes of respective wedges and redraw the new chart as its dynamically altered in real time. Using the class (though not implemented here) new wedges can also be added or old ones removed at any time.

Developer: Trevor McCauley
Language: en