Getting user variables to persist?
Hi:
I am creating a Captivate presentation, where one the first slide, a user selects either a red, green or blue car button. I would like whatever car color they choose to persist and be available on every slide and the other cars be hidden.
For example, if you click the blue car button on slide 1, then on slide 2, 3, 4.... you will see the blue car image.
Slides:
1 - I have created the variable carcolor and assigned a value of 0.
2 - Three image buttons (with cars as images) on this slide : redcarbtn, greencarbtn and bluecarbtn. When a user clicks a car, a new value is assigned for carcolor. redcarbtn = 1, greencarbtn = 2 and bluecarbtn = 3.
I created an advanced action called determinecarcolor. This advanced action has a condition express using decisions:
If carcolor=1, then show redcarimage. Else, hide redcarimage.
If carcolor=2, then show greencarimage. Else, hide greencarimage.
If carcolor=1, then show bluecarimage. Else, hide bluecarimage.
On exit, determinecarcolor is executed.
redcarimage is an image of a red car, greencarimage is an image of a green car and bluecarimage is an image of a blue car.
3 - I have redcarimage, greencarimage and bluecarimage stacked on top of each other.
4 - I have redcarimage, greencarimage and bluecarimage stacked on top of each other.
5 - I have redcarimage, greencarimage and bluecarimage stacked on top of each other.
and so on....
PROBLEM: The above works but on slide 3, 4, 5... all of the cars appear. It should just be the car they selected on slide 2.
Help!
Peace,
Loren