Just wondering if someone could help me out with a small scorm problem please?

How do you record / save a button press in Flash as3 and send it to moodle via scorm? I have two buttons, 'choice1' & 'choice2', and would like the users' choice to be recorded to SCORM. I just need to send 'some text' to moodle when the user presses either button.

Have been pointed to 'cmi.interactions' but after spending the entire day trying to find a working example, I'm completely lost. There appear to be no coded examples anywhere.

Any help gratefully appreciated.

(Using ActionScript 3.0 SCORM API wrapper (v1.1) )