Uploading swfs into Moodle as simple resources, is no different than uploading HTML pages.
However, in order for Moodle to record the results, your local quizzes need to be saved to allow SCORM output (as a SCORM package), and then added as a SCORM activity into Moodle (http://docs.moodle.org/en/SCORM)
I am not sure if Adobe Flash allows you to save the files in SCORM format or not. I only know that Adobe Captivate or Presenter allow one to do so.
Once your file is saved with SCORM output, then you can add it to Moolde as a SCORM activity , and this will allow you to track user attempts.