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
0Which president served four consecutive terms in office?
1Who was the first president?
2Can you name the president who server after Jimmy Carter?
answer
0roosevelt, fdr
1washington, george washington
2reagan, ronald reagan
hint
0He suffered from polio.
1He had wooden teeth.
2He is a former actor and governor of California.
image
0path to fdr.gif
1path to washington.gif
2path to reagan.gif
thatsright
0That's right. Nice job.
1Now you're cookin. Just one more.
2Very 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.