Search CTAT

Dynamically changing interfaces with tutor-performed actions

CTAT 3.1

Flash AS3 student interfaces

EffectActionInputNotesRequires the actor "Tutor (unevaluted)"
Show or hide the widget named by the selection SetVisible {true|false} CTAT 3.1. (All Components) In Flash, shows or hides an instance of a movie clip, component, etc. Yes
Disable a component for input. This is reversible by calling unlock. lock {true|false} CTAT 3.1. (All Components) Yes
Enable a component for input. This is reversible by calling lock. unlock {true|false} CTAT 3.1. (All Components) Yes
Show a yellow glowing highlight halo around the component. This is the same method as used by the tutoring engine to show to a user that a certain step should be taken. highlight Takes no argument CTAT 3.1. (All Components) Yes
Remove a previously set highlight glow. unhighlight Takes no argument CTAT 3.1. Yes
Display text or html in one of the two text input components. UpdateTextField or UpdateTextArea Text to show CTAT 3.1. (CommTextArea/CommTextInput) No
Toggle or set the selection of a CommCheckBox. SetSelected {true|false} CTAT 3.1. (CommCheckBox) Yes
Set the label of a combo box UpdateComboBox Text to show CTAT 3.1. (CTATComboBox) No
Sets the minimum value displayed on the numberline. set_minimum {Number} CTAT 3.1. (CommNumberLine) Yes
Sets the minimum value displayed on the numberline. set_maximum {Number} CTAT 3.1. (CommNumberLine) Yes
Sets the maximum number of correct entries that the numberline will accept before locking if locking on correct is true. set_max_user_entries {Number} CTAT 3.1. (CommNumberLine) Yes
Sets the step size for the largest tickmarks. set_large_step {Number} CTAT 3.1. (CommNumberLine) Yes
Sets the step size for the smaller tickmarks. set_small_step {Number} CTAT 3.1. (CommNumberLine) Yes
Sets the maximum number of decimal places to show in tickmark labels. set_precision {Number} CTAT 3.1. (CommNumberLine) Yes
Adds a point of the specified value to the numberline. AddPoint {Number} CTAT 3.1. (CommNumberLine) No

Flash AS2 student interfaces

EffectActionInputNotes
Show or hide the widget named by the selection SetVisible {true|false} Shows or hides an instance of a movie clip, component, etc.
Set the text of the text component (text input or text area in Flash) SetText the text to display
Set the given input value into the widget named by the selection Update{WidgetType} (varies) E.g., UpdateTextField
Lock a widget LockWidget (none) Requires the actor to be "Tutor (unevaluted)"
Unlock a widget UnlockWidget (none) Requires the actor to be "Tutor (unevaluted)"

Java student interfaces

EffectActionInputNotes
Show or hide the widget named by the selection SetVisible {true|false}
Set the given input value into the widget named by the selection Update{WidgetType} (varies) See table below for full list of supported Update actions

Java student interfaces, by component

ComponentSupported Actions
JCommAudioButton UpdateAudio, UpdateIcon, UpdateText, UpdateInVisible (all case-insensitive)
JCommButton UpdateIcon, UpdateText, UpdateInVisible (all case-insensitive)
JCommChooser UpdateChooser, SetVisible, UpdateInVisible (all case-insensitive)
JCommComboBox UpdateComboBox [default: selects item in combo-box], SetVisible, UpdateInVisible (all case-insensitive)
JCommComposer UpdateComposer, UpdateDeleteLines, SetVisible, UpdateInVisible (not case-insensitive)
JCommDrawingPad UpdateDrawingPad, SetVisible, UpdateText (all case-insensitive)
JCommLabel UpdateIcon, UpdateText, UpdateInVisible, SetVisible (all case-insensitive)
JCommList UpdateList, SetVisible, UpdateInVisible (all case-insensitive)
JCommMultipleChoice SetVisible, UpdateInVisible (all case-insensitive)
JCommMultipleChoiceCheckBox SetVisible, UpdateInVisible (all case-insensitive)
JCommPicture UpdateText, UpdateIcon, DragInto, SetVisible, UpdateInVisible (all case-insensitive)
JCommQuestionComboBox [default: lock], SetVisible, UpdateInVisible (all case-insensitive)
JCommQuestionTextField UpdateQuestionTextField, SetVisible, UpdateInVisible (all case-insensitive)
JCommRadioButton UpdateRadioButton, UpdateText, UpdateIcon, UpdateInVisible (all case-insensitive)
JCommTable UpdateTable, SetVisible (all case-insensitive)
JCommTextArea UpdateTextArea, SetVisible (all case-insensitive)
JCommTextField UpdateTextField, SetVisible, UpdateBackgroundColor (all case-insensitive)

To have one or more tutor-performed actions follow the start state of your behavior graph:

Setting each step as a tutor-performed action will not work. Instead, do the following.

  1. Arrange the steps so that they follow the start state.
  2. Select the state following the last step you want to be tutor-performed, and select Start State from the node context menu.

When the graph is opened (during authoring) or the problem started (when deployed on TutorShop), the tutor will advance through the steps between the first node in the graph and the one you have marked as the start state. These steps will appear as correct steps.