Hello all!
This is kind of complicated, I think. I have a multidimensional array:
myArray = newArray()
myArray[0] = new Item(buttonA, “nameA”, ArrayA);
myArray[1] = new Item(buttonB, “nameB”, ArrayB);
myArray[2] = new Item(buttonC, “nameC”, ArrayC);
myArray[3] = new Item(buttonD, “nameD”, ArrayD);
Thus, on the main screen there are 4 buttons (named ButtonA - ButtonD) and a dynamic text which displays a string according to the variable: Screen.
I am trying to make a function so when I onMouseOver one of the buttons, such as ButtonA the function finds out what Array ButtonA belongs to and sends “nameA”, which is also part of myArray[0], to the dynamic text, Screen.
If someone would be so very kind as to help me, I would be very grateful.
- Brother Gabriel