Ask a Question related to Macromedia Flash Ad Development, Design and Development.
-
JimmySlam #1
Nesting Arrays within arrays.
How do i nest an array inside another array?
something like
array(i).aray2(j);
Can I do that?
JimmySlam Guest
-
Arrays!
i have an xml file with the values 1,2,3,4 in it. they are parsed into an array which puts them into a combo box. the user selects the value... -
[PHP] help with arrays
Chris W. Parker <> on Tuesday, September 23, 2003 1:38 PM said: Hmm... maybe www.php.net/array_keys will help me out here. chris. -
Help req with arrays
I want to use arrays in my website (flat file for a guestbook), but despite having read through countless online tutorials on the topic, I just... -
Using arrays for look-ups
Hi, Just a quick sanity check... Sometimes it's useful to use an array as a kind of reverse lookup. For example, the indexes being productIDs... -
Help with Arrays in ASP
Hello, I can anyone help me with the following: I have an array in ASP called WordsArray() which contains several words. What I would like to... -
unilooney #2
Re: Nesting Arrays within arrays.
You can set up an array to have depths using square brackets e.g.
myArray = new Array(,)
and then reference it using multiple square brackets e.g. in the above example
myArray = 4
Is that what you mean?
unilooney Guest
-
JimmySlam #3
Re: Nesting Arrays within arrays.
SO that would be like...
Array(1,1)="Hi"
Array(1,2)="Hello"
The only problem is i am using the first Array with registers.. (or whatever
name it is called).... like this
Array1(i).id
Array1(i).name
Array1(i).title
..
..
..
Te second array would have only two kinds of "registers"....
Array2(i).xpics
Array2(i).xtexts
That is why the 2 arrays on 1....
IS another better way to do it?
Cheers
"unilooney" <webforumsuser@macromedia.com> wrote in message
news:dv8lst$eiu$1@forums.macromedia.com...> You can set up an array to have depths using square brackets e.g.
> myArray = new Array(,)
> and then reference it using multiple square brackets e.g. in the above
> example
> myArray = 4
>
> Is that what you mean?
>
JimmySlam Guest
-
JimmySlam #4
Re: Nesting Arrays within arrays.
What about if i do something like:
Array1(i).xpics1
Array1(i).xpics2
Array1(i).xpics3
Array1(i).xpics4
How do I create that I have an idea but I dont thing it will work... How is
exactly?
Array1(i)[xpics+j] = "a";
How is that correct?
Thanks
"unilooney" <webforumsuser@macromedia.com> wrote in message
news:dv8lst$eiu$1@forums.macromedia.com...> You can set up an array to have depths using square brackets e.g.
> myArray = new Array(,)
> and then reference it using multiple square brackets e.g. in the above
> example
> myArray = 4
>
> Is that what you mean?
>
JimmySlam Guest



Reply With Quote

