Extending learning interaction scripts, Tracking properties available in the sessionarray – Adobe Flash Professional CS3 User Manual

Page 356

Advertising
background image

FLASH CS3

User Guide

350

10

Start the LMS system (or create the AICC Course Descriptor Files) that references the frameset.htm file.

Prepare a SCORM-compliant learning interaction for web hosting

1

Open the document in Flash.

2

Select File > Publish Settings.

3

In the Publish Settings dialog box, check that (at least) both Flash (SWF) and HTML are selected in the Formats

panel.

4

Click the HTML tab at the top of the Publish Settings dialog box, and select the Flash With SCORM Tracking

template from the Template pop-up menu.

5

Click Publish, and close the dialog box.

6

Place the files that publishing the Flash file produces on the web server in the same directory.

7

Start the LMS system and reference the name of the HTML file. Set the LMS to launch the SCORM tracking

frameset.

Extending learning interaction scripts

Accessing cumulative tracking data through the SessionArray

Cumulative tracking data is useful 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. Data is tracked
through the SessionArray as follows:

When the Flash application is run, the first interaction component to load creates an Array on the level of the
interaction assets.

The component then creates an 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.

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.

Note: SessionArray and session are reserved keywords on the level where the interactions reside. Do not use these words
as identifiers for other data. The SessionArray is used the same way in the stand-alone interactions and the quiz inter-
actions.

Tracking properties available in the SessionArray

The property names reference standard interaction tracking values for both AICC and SCORM LMSs. Retrieve an
interaction’s properties by referencing its location in the following command:

SessionArray[n].[property_name]

For example, to reference the

interaction_id

value for interaction #1, use the following command:

Advertising