Flasher Archive

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


Subject: Re: FLASH: Quiz Game Variable...
From: tjtritsch
Date: Fri, 7 Apr 2000 19:10:10 +0100



You may want to check your text file. I have found that when you import the
variables, they all need to be strung together without any hard carriage
returns. for example:

quest1=What is your favorite color?&ans1=Blue&quest2=What is your favorite
animal?&ans2=dog&. . .

In your Actions, you need to name a holding variable that will assign the
correct question at the right time. SetVariable("question"=quest1)

Also, be careful of capitalization. Flash seems to be case sensitive when it
comes to variables, although I haven't read anything to the contrary.

My question to the more experienced Flashers: I read the help instructions on
how to emulate an array, but it seems to be unclear and I could not get it to
work. How would you get a series of questions and answers into a Quiz game by
using an array? I did mine by using If, then, else statements but I know there
must be a more efficient way.

Thanks

Todd Tritsch
Household International
tjtritschathousehold [dot] com




flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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