Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Re: Lists and arrays |
From: | John Croteau |
Date: | Thu, 16 Sep 1999 08:34:34 +0100 |
Hi CARL,
> Does anyone know how to create a list in flash 4. i.e a variable which
> contains a number of values which can be accessed. In lingo this is straight
> forward.
You can not.
You can however create a simple array that is made up of a series of
variables that can then be acted upon with the Eval function.
Set Variable: "Item1" = "Cat"
Set Variable: "Item2" = "Dog"
Set Variable: "Item3" = "Pony"
etc.
Set Variable: "i" = 1
Loop While (i <= 10)
If (Eval ("Item" & c ) eq "Cat")
Set Variable: "Display" = "I found the Cat!"
End If
Set Variable: "i" = i + 1
End Loop
----------- -----------------------
John Croteau croteauerols [dot] com (mailto:croteauerols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managerchinwag [dot] com. Problems to: helpchinwag [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managerchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]