Flasher Archive

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


Subject: Re: FLASH: How can I control an array in Flash
From: Matt Wobensmith
Date: Thu, 27 Jan 2000 23:31:51 GMT

Laritta -

If you'll go to:

http://www.macromedia.com/support/flash/

and type in "array" in the search field, you'll find the answer.

-Matt

---------------
Matt Wobensmith
Macromedia Tech Support
Flash Team Lead

----------
>From: Laritta S <larittasatyahoo [dot] com>
>To: flasheratchinwag [dot] com
>Subject: FLASH: How can I control an array in Flash
>Date: Thu, Jan 27, 2000, 4:04 PM
>

>Hello,
>I am a new user of Flash. I would really appreciate if
>you could help me to fix the problem I have with
>programming on Flash.
>I try to create quiz of 10 questions. The user will
>enter the answer in the text-field box and click on
>"submit" button. The program should give the user
>"correct" or "incorrect" feedback.
>My question is how can I control my array of answers.
>Can I use Eval function to check my variables?
>Here is my program:
>On (Release)
> Set Variable: "Answer1" = "one"
> Set Variable: "Answer2" = "two"
>...
> Set Variable: "Answer10" = "ten"
> Set Variable: "count" = 1
>
> Loop While (count<=10)
> If Frame is Loaded (Question = count) *check if the
> *user on
>q#1-10
> If(_level0:Answer = "Answer"& count)
> *_level0:Answer is
> * variable for text
> * entry box
> Go to and Stop ("Correct")
> Else
> Go to and Stop ("Incorrect")
> And If
> End Frame Loaded
> Set Variable: "count" = count+1
>End Loop
>End On
>
>The problem here is that my variable "Answer"&count
>doesn't reffer to the array of Answer1 - Answer10.
>
>Thank you very much.
>Sincerely,
>Laritta.
>
>
>__________________________________________________
>Do You Yahoo!?
>Talk to your friends online with Yahoo! Messenger.
>http://im.yahoo.com
>
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and The Flash Film Festival
> "The Worldís Premier Flash Solutions Conference and Expo"
> March 27-29, Nob Hill Masonic Center, San Francisco, California
>
>-Register before Feb 25 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
>

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World’s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 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


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