Speedometer

Hello All! how make speedometer? i need send value in flash, dial default 0, 20, 40, 60, 80, 100, 120, 140, 160, if send value 200, need redraw dial until 200 and etc… depending on the input parameter and and to establish the position of the arrow. Please help with solution