Wedge Explorer – drawing wedges for pie charts

Need to create a wedge? Here you go. Pretty simple to use.

view source

Example:

var wedge:Wedge = new Wedge( startAngle, arc, radius );

This class is modified from AS2 code written by Ric Ewing at formequalsfunction.com. All I had to do is dress it up in AS3 which took just a few minutes – thanks to SourceMate.

I needed this to display the download progress for an image gallery. That’s why there is no manager class to create a series of wedges for a pie-chart. But things like Axiis.org are much better for that sort of thing.

Tags: