Tom Gonzalex created nice Flex Gauge component.that contributes Under the MIT licences, so you cana find the source code here.