| |
Tutorial 8
Using listbuilder variables in the media object.
Instructions
Drag and arrange states onto the canvas so that you have the following setup:

 |
Create the following lists, and populate them with the values from the tables below.
For the image list, you'll need to right-click in each entry field and select "Insert Filename"
from the context menu. Use the file browser to locate each of the images. Once you've
selected the file, it's name will be inserted into the entry.
|
| question |
| 0 | Which president served four consecutive terms in office? |
| 1 | Who was the first president? |
| 2 | Can you name the president who server after Jimmy Carter? |
| answer |
| 0 | roosevelt, fdr |
| 1 | washington, george washington |
| 2 | reagan, ronald reagan |
| hint |
| 0 | He suffered from polio. |
| 1 | He had wooden teeth. |
| 2 | He is a former actor and governor of California. |
| image |
| 0 | path to fdr.gif |
| 1 | path to washington.gif |
| 2 | path to reagan.gif |
| thatsright |
| 0 | That's right. Nice job. |
| 1 | Now you're cookin. Just one more. |
| 2 | Very good. |
Open the present media dialogue of the "picture" state. You'll be using the values of the image list
to display each of the three images in sequence. In order to this, you'll need to check the checkbox
on the right side of the image area, and insert the text "$image" into the entry.
The "question" state should have "$question" for the prompt, "$answer" as the vocabulary in the left
out port, and *any as the vocabulary in the right port. The prompt for "hint" should be "$hint", and
the prompt for "thats_right" shoud be "$thatsright".
In the "remove_picture" state, use the remove
media dialogue to select "picture". On each iteration, this state will remove the images that are
presented by the "picture" state.
|