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 interaction’s 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 interaction’s component creates
an instance of
LToolBox global class
in index1 of the SessionArray.
■
When the Timeline moves to the third interaction, that interaction’s 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.
NO
TE
The information in this section is intended for intermediate and advanced developers
who want to extend the interaction capabilities.
NO
TE
SessionArray and session are reserved keywords on the level where the interactions
reside. Do not use these words as identifiers for other data.
NO
T
E
The SessionArray is used the same way in the stand-alone interactions and the
quiz interactions.
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...