Basic structure of the Learning Interaction scripts and components

The Learning Interaction components are the center of the e‑learning setup. They collect user parameters and build SessionArray and interaction event handling functions on the level of the interaction assets. That is, they accept user parameters and configure the environment and assets accordingly. To examine how these components work, open the scripts in the Library panel.

Most of the scripts reside 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 in each interaction component. These scripts initialize event handling functions that the interaction assets trigger. This is where the user parameters and interaction assets are initialized and the interaction evaluations scripts reside. Although 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, in the library panel, select 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 in functions for modularity.

  This page on the Web