A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Resetting Arrays?

  1. #1
    Member
    Join Date
    Apr 2009
    Posts
    34

    Resetting Arrays?

    hey

    i am making a quiz. My problem is that once the user completes the quiz and wants to start again the quiz is already on the last question. How do i make it so that once the user clicks start again the questions and answers arrays start from the beginning, sort of reset themselves.

    thanx

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You need to set the counter back to 0 at the end of the quiz. I am not sure how your quiz is built, but I think you are using a counter to go through arrays.
    - The right of the People to create Flash movies shall not be infringed. -

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