EasyManua.ls Logo

MACROMEDIA FLASH 8-USING FLASH - Extending Learning Interaction Scripts

MACROMEDIA FLASH 8-USING FLASH
678 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
590 Creating E-learning Content
Extending learning interaction scripts
The Flash learning interactions use an organized data structure to store and retrieve
information about each interaction session. This data structure powers the evaluations and
provides new possibilities for developers wanting to extend tracking features. You can use it to
retrieve industry-compliant tracking data. This data structure is called the SessionArray.
Accessing cumulative tracking data through the
SessionArray
The following overview shows how data is tracked through the SessionArray:
When the Flash application is run, the first interaction component to load creates a new
Array on the level of the interaction assets.
The component then creates a new instance of the LToolBox global class in index0 of the
Array. The instance of
LToolBox is a storage place for all of the interactions data. Data is
set or retrieved from the instance by using predefined property names. See “Predefined
property names” on page 591.
When the Timeline moves to the second interaction, that interactions component creates
an instance of
LToolBox global class in index1 of the SessionArray.
When the Timeline moves to the third interaction, that interactions component creates
an instance of
LToolBox global class in index2 of the SessionArray. It continues with
index3, index4, and so on, until all interactions are in an index.
At the end of a series of interactions, all the data processed during those interactions are
available and organized.
Possible uses
This information is useful to developers who need to extend tracking or analysis of the
interactions, including creating customized quiz environments and creating quizzes in a
format different from that of the Flash quiz templates.
NOTE
The information in this section is intended for intermediate and advanced developers
who want to extend the interaction capabilities.
NOTE
SessionArray and session are reserved keywords on the level where the interactions
reside. Do not use these words as identifiers for other data.
NOTE
The SessionArray is used the same way in the stand-alone interactions and the
quiz interactions.

Table of Contents

Related product manuals