Flasher Archive

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


Subject: Re: FLASH: Multidimensional Arrays - Is it possible in Flash 4?
From: #LCARS
Date: Thu, 29 Jun 2000 10:26:00 +0100

p [dot] stevenatbtinternet [dot] com wrote:

> I have figured out how to emulate a normal array but can't figure out
> a way to emulate a multidimensional array.

Same principle. If you can emulate a normal array you can emulate a
multi-dimensional array like:

normal array:
like array[10]

> Set Variable: "aCount" = 1
> Loop While (temp<=10)
> Set Variable: "array["&aCount&"]"= 0
> Set Variable: "aCount" = aCount +1
> End Loop

[results in array[1], array[2], array[3], usw...]


multidimensional array:
like array [1][1]

> Set Variable: "aCount" = 1
> Loop While (temp<=10)
> Set Variable: "array[1]"&"["&aCount&"]" = 0
> Set Variable: "aCount" = aCount +1
> End Loop

[results in array[1][1], array[1][2], array[1][3], usw...]


referenced by:

Trace "Value of array[1][3] is: "& Eval("array[1][3]")


Good Luck

-Dominik


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: Certifications, Allen May

Replies
  FLASH: Multidimensional Arrays - Is it p, Paul Steven

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