Flasher Archive

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


Subject: Re: FLASH: Flash 4 Arrays
From: Wes Tilson
Date: Thu, 18 May 2000 05:04:15 +0100

Instead of subscripting in parentheses , x(0) x(1) . . . x(10)
use a number at the end of the variable name , x0 x1 x2 . . . x10
Then access it by putting the variable name together with the subscript with
the "&"

"x0" = 2
"x1" = 2

"sum" = x&0 + x&1

sum equals 4

Make sure the left side is a literal and the right side is a value by using
the buttons on the right of the action script modify variable dialog.

You can loop through your array to initialize it.

"foo" = 0
loop until "foo" = 255
myarray&foo = 0
"foo" = foo + 1
end loop

You don't have to allocate memory as in DIM myarray(256).

=====================================
YAFS: Yet Another Screen Saver Maker
>>>>>> 5/15 NEW Version 2 <<<<<<
Demo: http://www.babylonsystem.com/yafs
Full Version: https://secure.reg.net/product.asp?ID=5589
Bible http://www.combase.com/~westilson/kjvbible/kjvbible.htm
Koran http://www.combase.com/~westilson/koran/koran.htm
Sic gorgiamus allos subjectatus nunc.



----- Original Message -----
From: Ed Harvey <eharveyatiddnet [dot] com>
To: 'Flash' <flasheratshocker [dot] com>
Sent: Monday, March 20, 2000 10:28 AM
Subject: FLASH: Flash 4 Arrays


Can anyone tell me how you go about setting up an array in flash? Can this
be done in flash or does this need to be done with JavaScript?

Ed

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...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]