i want to make a customize routing widget but don't have programming background.
There is a built-in "Directions" widget, take a look, maybe it helps you: ArcGIS Viewer for Flex