Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH:Another array question
From: Robert Bleeker
Date: Mon, 3 Jul 2000 07:10:33 +0100

Hi Ilia,

Maybe you could do this:

Set Variable "x"=31
Loop While (x<40)
Set Variable "question"&x = 0
End Loop
--
--
Set Variable "whichQuestion" = 1


The you can choose a next question at random and do a check if that question
has been answered.

Set Variable "nextQuestion" = random(8)+31
If (NOT Eval("question"&nextQuestion))
Comment: "question not answered"
Else
Comment: "question answered"
End if


Good luck

Robert

on 3/7/00 3:39 PM, Ilia Pasymansky at iliap75athotmail [dot] com wrote:

> Hi!
> I am building a quizz game (not as complicated as in Flash Magic book;))
> Let say on each frame I have one question and 3 answers.
> How would I put frame labels into array(list)
> and then after the question on particular frame has been answered delete it
> from the array( list ) and not come back to this frame again after random
> shuffling .
> in director it looks simple
> repeat with myquestions = 31 to 39
> add myquestionslist,myquestions
> end repeat
> --
> --
> deleteat (myquestionlist,QuestionPosition)
> Any idea how to deal with it in FLASH??
> Thank You!!
> Ilia


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH:Another array question, Ilia Pasymansky

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]