Basic structure of the Learning Interaction scripts and components

Now that you know how the interaction data are stored and retrieved, here's a little more information to round out the picture. The Learning Interaction components are really the heart of the e-learning setup. They collect user parameters and build the SessionArray and the interaction event handling functions on the level of the interaction assets. That is, they accept user parameters and configure the environment and assets accordingly. If you want to examine how these work, you'll need to open the scripts in the Library panel.

The majority of the scripts lie in one of two places. The first is the LToolBoxglobalclass script. This script processes data storage and data formatting for the interaction. The second script location is within each interaction component. These scripts initialize event handling functions triggered by the interaction assets. This is where the user parameters and interaction assets are initialized and the interaction evaluations scripts lie. Even though these scripts are built on the component level, they are initialized on the same level as the interaction assets and submit data to the SessionArray on the interaction assets level.

To explore the scripts or add to them, look in the library for the 1_GlobalClass folder to access the LGlobalClass movie clip that contains the LToolBoxglobalclass script. Look in the 2_Components folders to access each Learning Interaction component script. Each script is split into commented sections that are described at the top of the script. Most of the script sections are built within functions for modularity.