A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Problem matching arrays for flashcards activity: answers to random images

Threaded View

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Location
    Scotland
    Posts
    7

    Cool Problem matching arrays for flashcards activity: answers to random images

    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 .
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center