MACROMEDIA FLASH 8-USING FLASH Use Manual page 592

Using flash
Table of Contents

Advertisement

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 complete the picture. The Learning Interaction components are really the
center 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 components work, you need to open the scripts in the Library panel.
Most of the scripts reside in one of two places. The first is the
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 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, look in the library for the 1_GlobalClass folder to
access the
LGlobalClass
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.
Reviewing or editing the LToolboxClass script
The
LToolboxClass
storage and basic functionality. The data pattern and functionality shared by all interactions is
defined in this script. You can access the
To review or edit the LToolboxClass script:
1.
In the Library panel, select Learning Interactions > Assets > Controls >
ComponentSuperClass.
2.
In the ComponentSuperClass folder, double-click the SuperClass movie clip to open it in
symbol-editing mode.
3.
In the Timeline for the movie clip, select Frame 1 and open the Actions panel, if necessary
(Window > Actions).
4.
Review or edit the script, as desired.
592
Creating E-learning Content
movie clip that contains the
script creates a built-in object that each interaction can use for data
LToolboxClass
LToolBoxglobalclass
LToolBoxglobalclass
script from the library.
script.
script
Look in
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents