The ‘Run Time Environment’ (or RTE) is the part of SCORM that specifies how the course will talk to the learning management system (LMS). The other part – the Content Aggregation Model (or CAM) – specifies how the course should be packaged up for import into the LMS. We’ll start with the RTE and worry about the CAM later.
Work your way through the SCORM 1.2 RTE specification, and you’ll discover that the course communicates with the LMS through a set of JavaScript functions which are located in a window or frame called ‘API’ located somewhere above the course in the frame/window hierarchy. These JavaScript functions then invoke appropriate code on the LMS server to save data into and read data from the LMS database.
So where in the frame/window hierarchy do you have to put it? It would appear from the SCORM RTE documentation that it can be anywhere above the course, or in a child frame/window of a frame/window above the course. Confused? Well, don’t worry about it – SCORM makes the course (not the LMS) do the hard work by requiring it to include code to locate the API frame window.

