Keep the button pressed and move up/down to move between the different flaps settings, release to set the desired setting.
Press to extend the landing gear. Make sure to have an Air-Speed below "VLO" in order to extend it.