MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 419

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

All the methods and properties of the
SessionArray index.
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
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
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
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:
In the Library panel, select Learning Interactions > Assets > Controls > ComponentSuperClass.
1.
In the ComponentSuperClass folder, double-click the SuperClass movie clip to open it in
2.
symbol-editing mode.
In the Timeline for the movie clip, select Frame 1 and open the Actions panel, if necessary
3.
(Window > Development Panels > Actions).
Review or edit the script, as desired.
4.
LToolBox
movie clip that contains the
script creates a built-in object that each interaction can use for data storage
LToolboxClass
global class are available within each
LToolBoxglobalclass
LToolBoxglobalclass
script from the library.
Extending learning interaction scripts
script. This
script
Look in the
.
419

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents