Increased accuracy in radiation delivery to a patient provided by scanning particle beams leads to high demands on quality assurance (QA). To meet the requirements, an extensive quality assurance programme has been implemented at the Heidelberg Ion Beam Therapy Center. Currently, high-resolution radiographic films are used for beam spot position measurements and homogeneity measurements for scanned fields. However, given that using this film type is time and equipment demanding, considerations have been made to replace the radiographic films in QA by another appropriate device. In this study, the suitability of the flat-panel detector RID 256 L based on amorphous silicon was investigated as an alternative method. The currently used radiographic films were taken as a reference. Investigations were carried out for proton and carbon ion beams. The detectors were irradiated simultaneously to allow for a direct comparison. The beam parameters (e.g. energy, focus, position) currently used in the daily QA procedures were applied. Evaluation of the measurements was performed using newly implemented automatic routines. The results for the flat-panel detector were compared to the standard radiographic films. Additionally, a field with intentionally decreased homogeneity was applied to test the detector's sensitivities toward possible incorrect scan parameters. For the beam position analyses, the flat-panel detector results showed good agreement with radiographic films. For both detector types, deviations between measured and planned spot distances were found to be below 1% (1 mm). In homogeneously irradiated fields, the flat-panel detector showed a better dose response homogeneity than the currently used radiographic film. Furthermore, the flat-panel detector is sensitive to field irregularities. The flat-panel detector was found to be an adequate replacement for the radiographic film in QA measurements. In addition, it saves time and equipment because no post-exposure treatment and no developer and darkroom facilities are needed.