Extending learning interaction scripts
The information in this section is intended for intermediate and advanced developers
who want to extend the interaction capabilities.
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.
SessionArray and session are reserved keywords on the level where the interactions
reside. Do not use these words as identifiers for other data.
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
set or retrieved from the instance by using predefined property names. See
property names" on page
When the Timeline moves to the second interaction, that interaction's component creates
an instance of
LToolBox global class
When the Timeline moves to the third interaction, that interaction's component creates
an instance of
LToolBox global class
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.
The SessionArray is used the same way in the stand-alone interactions and the
quiz interactions.
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.
590
Creating E-learning Content
is a storage place for all of the interaction's data. Data is
LToolBox
591.
in index1 of the SessionArray.
in index2 of the SessionArray. It continues with
"Predefined
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?