Hi folks
Making a flashcards actvity - self-test, in which user just has to think of the answer and then see if they were right.
How it works:
A button randomly shows an image from a dynamically-produced array of images (movieclips) then switches to a button to show the answer from a static array of strings.
I'm having problem matching the answers to the randomly displayed images. The best I can do is show the last answer only - no matter what image is showing. So I think maybe I'm not too far way, but I've evidently done something wrong!
I've attached the script (rather than the FLA as folk use different versions) which sits in the first frame. Paste this into the first frame to see it working so far.
If anyone can help me with the correct solution that would be great .